Function extendr_api::prelude::sparse::ops::sub

pub fn sub<I, LhsE, RhsE, E>(
    lhs: SparseColMatRef<'_, I, LhsE>,
    rhs: SparseColMatRef<'_, I, RhsE>,
) -> Result<SparseColMat<I, E>, FaerError>
where I: Index, LhsE: Conjugate<Canonical = E>, RhsE: Conjugate<Canonical = E>, E: ComplexField,
Expand description

Returns the difference of lhs and rhs.

§Panics

Panics if lhs and rhs don’t have matching dimensions.