pygsti.tools.matrixtools.safe_onenorm# safe_onenorm(a)# Computes the 1-norm of the dense or sparse matrix a. Parameters: a (ndarray or sparse matrix) – The matrix or vector to take the norm of. Return type: float