[−][src]Function kodama::primitive_with
pub fn primitive_with<T: Float>(
state: &mut LinkageState<T>,
dis: &mut [T],
observations: usize,
method: Method,
steps: &mut Dendrogram<T>
)
Like primitive
, but amortizes allocation.
See linkage_with
for details.
Note that this implementation is the "naive" implementation of hierarchical clustering, and is therefore terribly slow.