pub fn spmm_csr_prealloc<T>(
    beta: T,
    c: &mut CsrMatrix<T>,
    alpha: T,
    a: Op<&CsrMatrix<T>>,
    b: Op<&CsrMatrix<T>>
) -> Result<(), OperationError>where
    T: Scalar + ClosedAdd + ClosedMul + Zero + One,
Expand description

Sparse-sparse matrix multiplication, C <- beta * C + alpha * op(A) * op(B).

Errors

If the pattern of C is not able to hold the result of the operation, an error is returned.

Panics

Panics if the dimensions of the matrices involved are not compatible with the expression.