pub trait ArrayAdapter<N> {
    fn len(&self) -> usize;
    fn is_square(&self) -> bool;
    fn get(&self, x: usize, y: usize) -> N;
}
Expand description

Adapter trait for accessing different types of arrays

Required Methods

Get the length of an array structure

Verify that it is a square matrix

Get the contents at cell x,y

Implementations on Foreign Types

Adapter trait for using ndarray::Array2 and similar

Implementors

Adapter implementation for LowerTriangle