[−][src]Function sprs::binop::scalar_mul_mat
pub fn scalar_mul_mat<N, I, Iptr, Mat>(mat: &Mat, val: N) -> CsMatI<N, I, Iptr> where
N: Num + Copy,
I: SpIndex,
Iptr: SpIndex,
Mat: SpMatView<N, I, Iptr>,
Sparse matrix multiplication by a scalar