nv_cluster clustTol val1 val2 ...
Clusters a list of 2 or more values and returns a Tcl list containing the result. The clustering is done with a tolerance of 'clustTol'. Each element of the returned list represents a cluster and is itself a list with the following elements: The average value of the elements in the cluster. The number of elements in the cluster. The indices of the values from the original list for the elements that fall in the particular cluster.