pub trait BasicMatrix<'a, T> {
    fn size(&self) -> &[usize];
    fn indicing(&self) -> &[usize];
    fn data_ref(&self) -> Option<&[T]>;
    fn data_ref_mut(&mut self) -> Option<&mut [T]>;

    fn is_matr(&self) -> bool { ... }
    fn is_contiguous(&self) -> bool { ... }
}

Required Methods

Provided Methods

by default, the matrix should be contiguous, unless specify explicitly.

Implementors