std_dev

Struct ClusterList

source
pub struct ClusterList<'a> { /* private fields */ }
Expand description

A list of clusters.

A cluster is a value and the count.

m in O(m) means the count of clusters.

Implementations§

source§

impl<'a> ClusterList<'a>

source

pub fn new(list: &'a [Cluster]) -> Self

The float is the value. The integer is the count.

source

pub fn len(&self) -> usize

O(1)<