package prbnmcn-clustering

  1. Overview
  2. Docs
include Intf.Metric
type t
val dist : t -> t -> float

This should be a proper distance function (symmetric, zero on the diagonal, verifying the triangular inequality).

val mean : t array -> t

Elements of type t should support taking arithmetic means (ie t should correspond to some form of convex space). The function mean provides this.