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>
Expand description
Returns the difference of lhs
and rhs
.
§Panics
Panics if lhs
and rhs
don’t have matching dimensions.