Function add

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

Returns the sum of lhs and rhs.

§Panics

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