sub_assign

Function sub_assign 

Source
pub fn sub_assign<I: Index, E: ComplexField, RhsE: Conjugate<Canonical = E>>(
    dst: SparseColMatMut<'_, I, E>,
    rhs: SparseColMatRef<'_, I, RhsE>,
)
Expand description

Computes the difference of dst and src and stores the result in dst without changing its symbolic structure.

§Panics

Panics if dst and rhs don’t have matching dimensions.
Panics if rhs contains an index that’s unavailable in dst.