MCPcopy Create free account
hub / github.com/Open-Quant/openquant / Cluster

Class Cluster

crates/openquant/src/hcaa.rs:275–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273fn single_linkage_children(corr: &DMatrix<f64>) -> Vec<[usize; 2]> {
274 #[derive(Clone)]
275 struct Cluster {
276 id: usize,
277 members: Vec<usize>,
278 }
279
280 let n = corr.nrows();
281 let mut distance = DMatrix::zeros(n, n);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected