[][src]Trait matrixcompare_core::Matrix

pub trait Matrix<T> {
    fn rows(&self) -> usize;
fn cols(&self) -> usize;
fn access(&self) -> Access<T>; }

Main interface for access to the elements of a matrix.

Required methods

fn rows(&self) -> usize

fn cols(&self) -> usize

fn access(&self) -> Access<T>

Expose dense or sparse access to the matrix.

Loading content...

Implementations on Foreign Types

impl<'_, T, X> Matrix<T> for &'_ X where
    X: Matrix<T>, 

Loading content...


Loading content...