Function sub

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

Returns the difference of lhs and rhs.

§Panics

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