Function sprs::prod::mul_acc_mat_vec_csc
source ยท pub fn mul_acc_mat_vec_csc<N, I, Iptr, V, VRes, A, B>(
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 CSC matrix with a dense vector and accumulate the result into another dense vector