Function sprs::binop::add_dense_mat_same_ordering
source ยท pub fn add_dense_mat_same_ordering<Lhs, Rhs, Res, Alpha, Beta, ByProd1, ByProd2, I, Iptr, Mat, D>(
lhs: &Mat,
rhs: &ArrayBase<D, Ix2>,
alpha: Alpha,
beta: Beta,
) -> Array<Res, Ix2>
Expand description
Compute alpha * lhs + beta * rhs with lhs a sparse matrix and rhs dense and alpha and beta scalars
The matrices must have the same ordering, a CSR
matrix must be
added with a matrix with C
-like ordering, a CSC
matrix
must be added with a matrix with F
-like ordering.