Skip to main content

spgemm

Function spgemm 

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

Sparse matrix-matrix multiplication: C = A * B.

Both A and B are in CSR format. The result is also in CSR format. Uses a symbolic + numeric two-phase approach for efficiency.