Package | Description |
---|---|
cern.colt.matrix.tdouble.algo |
Linear Algebraic matrix computations operating on
DoubleMatrix2D
and DoubleMatrix1D . |
Modifier and Type | Field and Description |
---|---|
static DoubleStatistic.VectorVectorFunction |
DoubleStatistic.BRAY_CURTIS
Bray-Curtis distance function;
Sum( abs(x[i]-y[i]) ) / Sum( x[i]+y[i] ).
|
static DoubleStatistic.VectorVectorFunction |
DoubleStatistic.CANBERRA
Canberra distance function;
Sum( abs(x[i]-y[i]) / abs(x[i]+y[i]) ).
|
static DoubleStatistic.VectorVectorFunction |
DoubleStatistic.EUCLID
Euclidean distance function; Sqrt(Sum( (x[i]-y[i])^2 )).
|
static DoubleStatistic.VectorVectorFunction |
DoubleStatistic.MANHATTAN
Manhattan distance function; Sum( abs(x[i]-y[i]) ).
|
static DoubleStatistic.VectorVectorFunction |
DoubleStatistic.MAXIMUM
Maximum distance function; Max( abs(x[i]-y[i]) ).
|
Modifier and Type | Method and Description |
---|---|
static void |
DoubleStatistic.demo3(DoubleStatistic.VectorVectorFunction norm)
Demonstrates usage of this class.
|
static DoubleMatrix2D |
DoubleStatistic.distance(DoubleMatrix2D matrix,
DoubleStatistic.VectorVectorFunction distanceFunction)
Constructs and returns the distance matrix of the given matrix.
|
Jump to the Parallel Colt Homepage