Function extendr_api::prelude::sparse::ops::add

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

Returns the sum of lhs and rhs.

§Panics

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