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