Skip to main content

centroid

pub fn centroid(vectors: &[Hypervector]) -> NdimageResult<Hypervector>
Expand description

Compute the centroid of multiple hypervectors

§Arguments

  • vectors - Vector of hypervectors

§Returns

The centroid hypervector