Function extendr_api::prelude::sparse::ops::sub_into

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

Computes the difference 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.