pub fn require_csr<T, U>(
mat: &CompressedSparseData2<T, U>,
) -> Result<(), SparseErrors>Expand description
Fail unless the matrix is stored as CSR.
§Params
mat- The matrix to check
§Returns
Ok(()), or SparseErrors::SparseMatrixMustBeCsr.
pub fn require_csr<T, U>(
mat: &CompressedSparseData2<T, U>,
) -> Result<(), SparseErrors>Fail unless the matrix is stored as CSR.
mat - The matrix to checkOk(()), or SparseErrors::SparseMatrixMustBeCsr.