Skip to main content

sparse_transpose

Function sparse_transpose 

Source
pub fn sparse_transpose<F>(a: &CsrMatrix<F>) -> SparseResult<CsrMatrix<F>>
where F: Float + NumAssign + Sum + SparseElement + Debug + 'static,
Expand description

Compute the transpose of a sparse CSR matrix (returns a new CSR matrix).