## Uses of Class
org.apache.ignite.ml.math.exceptions.math.CardinalityException

- Packages that use CardinalityException
  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.math | Contains exceptions for distributed code algebra.

- - ### Uses of CardinalityException in org.apache.ignite.ml.math

    Methods in org.apache.ignite.ml.math that throw CardinalityException
    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.

  - ### Uses of CardinalityException in org.apache.ignite.ml.math.distances

    Methods in org.apache.ignite.ml.math.distances that throw CardinalityException
    Modifier and Type | Method and Description
    --- | ---
    `default double` | DistanceMeasure.`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` | 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` | JaccardIndex.`compute(Vector a, Vector b)` Compute the distance between two n-dimensional vectors.
    `double` | MinkowskiDistance.`compute(Vector a, Vector b)` Compute the distance between two n-dimensional vectors.
    `double` | CosineSimilarity.`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.
    `double` | EuclideanDistance.`compute(Vector a, Vector b)` Compute the distance between two n-dimensional vectors.
    `double` | ChebyshevDistance.`compute(Vector a, Vector b)` Compute the distance between two n-dimensional vectors.

  - ### Uses of CardinalityException in org.apache.ignite.ml.math.exceptions.math

    Subclasses of CardinalityException in org.apache.ignite.ml.math.exceptions.math
    Modifier and Type | Class and Description
    --- | ---
    `class` | `NonSquareMatrixException` Indicates that given matrix is not a square matrix.

2020 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.9.1
Release Date | : December 9 2020