Function sprs::prod::mul_acc_mat_vec_csr

source ·
pub fn mul_acc_mat_vec_csr<N, A, B, I, Iptr, V, VRes>(
    mat: CsMatViewI<'_, A, I, Iptr>,
    in_vec: V,
    res_vec: VRes
)where
    N: MulAcc<A, B>,
    I: SpIndex,
    Iptr: SpIndex,
    V: DenseVector<Scalar = B>,
    VRes: DenseVectorMut<Scalar = N>,
Expand description

Multiply a sparse CSR matrix with a dense vector and accumulate the result into another dense vector