extendr_api::prelude::sparse::ops

Function union_symbolic

pub fn union_symbolic<I>(
    lhs: SymbolicSparseColMatRef<'_, I>,
    rhs: SymbolicSparseColMatRef<'_, I>,
) -> Result<SymbolicSparseColMat<I>, FaerError>
where I: Index,
Expand description

Returns the sparsity pattern containing the union of those of lhs and rhs.

§Panics

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