sparse_multiply.Rd
This function multiplies each row of a sparse matrix by a scalar value.
sparse_multiply(E, a)
A sparse matrix where rows represent observations and columns represent features.
A scalar value to multiply each row.
A sparse matrix with each row multiplied by the scalar value.