Trait kmedoids::arrayadapter::ArrayAdapter [−][src]
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
Implementations on Foreign Types
Adapter trait for using ndarray::Array2
and similar