[−][src]Function sprs::prod::csr_mul_csr
pub fn csr_mul_csr<N, I, Mat1, Mat2>(
lhs: &Mat1,
rhs: &Mat2,
workspace: &mut [N]
) -> CsMatI<N, I> where
N: Num + Copy,
I: SpIndex,
Mat1: SpMatView<N, I>,
Mat2: SpMatView<N, I>,
Perform a matrix multiplication for matrices sharing the same storage order.
For brevity, this method assumes a CSR storage order, transposition should be used for the CSC-CSC case. Accumulates the result line by line.
lhs: left hand size matrix rhs: right hand size matrix workspace: used to accumulate the line values. Should be of length rhs.cols()