Trait matrixcompare::Matrix[][src]

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

Main interface for access to the elements of a matrix.

Required methods

pub fn rows(&self) -> usize[src]

pub fn cols(&self) -> usize[src]

pub fn access(&self) -> Access<'_, T>[src]

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>, 
[src]

Loading content...

Implementors

Loading content...