pub fn spmm_csc_prealloc<T>(
    beta: T,
    c: &mut CscMatrix<T>,
    alpha: T,
    a: Op<&CscMatrix<T>>,
    b: Op<&CscMatrix<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 sparsity pattern of C is not able to store the result of the operation, an error is returned.

Panics

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