Skip to main content

require_csc

Function require_csc 

Source
pub fn require_csc<T, U>(
    mat: &CompressedSparseData2<T, U>,
) -> Result<(), SparseErrors>
where T: Clone, U: Clone,
Expand description

Fail unless the matrix is stored as CSC.

§Params

  • mat - The matrix to check

§Returns

Ok(()), or SparseErrors::SparseMatrixMustBeCsc.