add

Function add 

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

returns the sum of lhs and rhs.

§panics

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