Uses of Interface
cern.colt.matrix.doublealgo.Statistic.VectorVectorFunction
Packages that use Statistic.VectorVectorFunction
Package
Description
Double matrix algorithms such as print formatting, sorting, partitioning and statistics.
-
Uses of Statistic.VectorVectorFunction in cern.colt.matrix.doublealgo
Fields in cern.colt.matrix.doublealgo declared as Statistic.VectorVectorFunctionModifier and TypeFieldDescriptionstatic final Statistic.VectorVectorFunction
Statistic.BRAY_CURTIS
Bray-Curtis distance function; Sum( abs(x[i]-y[i]) ) / Sum( x[i]+y[i] ).static final Statistic.VectorVectorFunction
Statistic.CANBERRA
Canberra distance function; Sum( abs(x[i]-y[i]) / abs(x[i]+y[i]) ).static final Statistic.VectorVectorFunction
Statistic.EUCLID
Euclidean distance function; Sqrt(Sum( (x[i]-y[i])^2 )).static final Statistic.VectorVectorFunction
Statistic.MANHATTAN
Manhattan distance function; Sum( abs(x[i]-y[i]) ).static final Statistic.VectorVectorFunction
Statistic.MAXIMUM
Maximum distance function; Max( abs(x[i]-y[i]) ).Methods in cern.colt.matrix.doublealgo with parameters of type Statistic.VectorVectorFunctionModifier and TypeMethodDescriptionstatic void
Statistic.demo3
(Statistic.VectorVectorFunction norm) Demonstrates usage of this class.static DoubleMatrix2D
Statistic.distance
(DoubleMatrix2D matrix, Statistic.VectorVectorFunction distanceFunction) Constructs and returns the distance matrix of the given matrix.