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