Function add_into
pub fn add_into<I, E, LhsE, RhsE>(
dst: SparseColMatMut<'_, I, E>,
lhs: SparseColMatRef<'_, I, LhsE>,
rhs: SparseColMatRef<'_, I, RhsE>,
)
Expand description
Computes the sum of lhs
and rhs
, storing the result in dst
without changing its
symbolic structure.
§Panics
Panics if dst
, lhs
and rhs
don’t have matching dimensions.
Panics if lhs
or rhs
contains an index that’s unavailable in dst
.