pub trait MatrixSparsityRef<'a, M: Matrix> {
// Required methods
fn nrows(&self) -> IndexType;
fn ncols(&self) -> IndexType;
fn is_sparse() -> bool;
fn indices(&self) -> Vec<(IndexType, IndexType)>;
fn to_owned(&self) -> M::Sparsity;
fn split(
&self,
algebraic_indices: &<M::V as Vector>::Index,
) -> [(M::Sparsity, <M::V as Vector>::Index); 4];
}Required Methods§
fn nrows(&self) -> IndexType
fn ncols(&self) -> IndexType
fn is_sparse() -> bool
fn indices(&self) -> Vec<(IndexType, IndexType)>
fn to_owned(&self) -> M::Sparsity
fn split( &self, algebraic_indices: &<M::V as Vector>::Index, ) -> [(M::Sparsity, <M::V as Vector>::Index); 4]
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".