[−][src]Trait kmedoids::arrayadapter::ArrayAdapter
Adapter trait for accessing different types of arrays
Required methods
pub fn len(&self) -> usize
[src]
Get the length of an array structure
pub fn is_square(&self) -> bool
[src]
Verify that it is a square matrix
pub fn get(&self, x: usize, y: usize) -> N
[src]
Get the contents at cell x,y
Implementations on Foreign Types
impl<N: Copy> ArrayAdapter<N> for Array2<N>
[src]
Adapter trait for using ndarray::Array2
pub fn len(&self) -> usize
[src]
pub fn is_square(&self) -> bool
[src]
pub fn get(&self, x: usize, y: usize) -> N
[src]
Implementors
impl<N: Copy + Zero> ArrayAdapter<N> for LowerTriangle<N>
[src]
Adapter implementation for LowerTriangle