Package | Description |
---|---|
org.apache.ignite.ml.math |
Contains main APIs for matrix/vector algebra.
|
org.apache.ignite.ml.math.distances |
Contains main APIs for distances.
|
org.apache.ignite.ml.math.exceptions |
Contains exceptions for distributed code algebra.
|
Modifier and Type | Method and Description |
---|---|
static void |
Blas.checkCardinality(Matrix a,
Vector v)
Checks if Matrix A can be multiplied by vector v, if not CardinalityException is thrown.
|
Modifier and Type | Method and Description |
---|---|
double |
DistanceMeasure.compute(Vector a,
double[] b)
Compute the distance between n-dimensional vector and n-dimensional array.
|
double |
ManhattanDistance.compute(Vector a,
double[] b)
Compute the distance between n-dimensional vector and n-dimensional array.
|
double |
EuclideanDistance.compute(Vector a,
double[] b)
Compute the distance between n-dimensional vector and n-dimensional array.
|
double |
HammingDistance.compute(Vector a,
double[] b)
Compute the distance between n-dimensional vector and n-dimensional array.
|
double |
DistanceMeasure.compute(Vector a,
Vector b)
Compute the distance between two n-dimensional vectors.
|
double |
ManhattanDistance.compute(Vector a,
Vector b)
Compute the distance between two n-dimensional vectors.
|
double |
EuclideanDistance.compute(Vector a,
Vector b)
Compute the distance between two n-dimensional vectors.
|
double |
HammingDistance.compute(Vector a,
Vector b)
Compute the distance between two n-dimensional vectors.
|
Modifier and Type | Class and Description |
---|---|
class |
NonSquareMatrixException
Indicates that given matrix is not a square matrix.
|
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024