Click or drag to resize

Distance Class

Metrics to measure the distance between two structures.
Inheritance Hierarchy
SystemObject
  Altaxo.CalcDistance

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static class Distance

The Distance type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCanberra(Double, Double) Canberra Distance, a weighted version of the L1-norm of the difference.
Public methodStatic memberCanberra(Single, Single) Canberra Distance, a weighted version of the L1-norm of the difference.
Public methodStatic memberChebyshev(Double, Double) Chebyshev Distance, i.e. the Infinity-norm of the difference.
Public methodStatic memberChebyshev(Single, Single) Chebyshev Distance, i.e. the Infinity-norm of the difference.
Public methodStatic memberChebyshevT(VectorT, VectorT) Chebyshev Distance, i.e. the Infinity-norm of the difference.
Public methodStatic memberCosine(Double, Double) Cosine Distance, representing the angular distance while ignoring the scale.
Public methodStatic memberCosine(Single, Single) Cosine Distance, representing the angular distance while ignoring the scale.
Public methodStatic memberEuclidean(Double, Double) Euclidean Distance, i.e. the L2-norm of the difference.
Public methodStatic memberEuclidean(Single, Single) Euclidean Distance, i.e. the L2-norm of the difference.
Public methodStatic memberEuclideanT(VectorT, VectorT) Euclidean Distance, i.e. the L2-norm of the difference.
Public methodStatic memberHamming(Double, Double) Hamming Distance, i.e. the number of positions that have different values in the vectors.
Public methodStatic memberHamming(Single, Single) Hamming Distance, i.e. the number of positions that have different values in the vectors.
Public methodStatic memberJaccard(Double, Double) Jaccard distance, i.e. 1 - the Jaccard index.
Public methodStatic memberJaccard(Single, Single) Jaccard distance, i.e. 1 - the Jaccard index.
Public methodStatic memberMAE(Double, Double) Mean-Absolute Error (MAE), i.e. the normalized L1-norm (Manhattan) of the difference.
Public methodStatic memberMAE(Single, Single) Mean-Absolute Error (MAE), i.e. the normalized L1-norm (Manhattan) of the difference.
Public methodStatic memberMAET(VectorT, VectorT) Mean-Absolute Error (MAE), i.e. the normalized L1-norm (Manhattan) of the difference.
Public methodStatic memberManhattan(Double, Double) Manhattan Distance, i.e. the L1-norm of the difference.
Public methodStatic memberManhattan(Single, Single) Manhattan Distance, i.e. the L1-norm of the difference.
Public methodStatic memberManhattanT(VectorT, VectorT) Manhattan Distance, i.e. the L1-norm of the difference.
Public methodStatic memberMinkowski(Double, Double, Double) Minkowski Distance, i.e. the generalized p-norm of the difference.
Public methodStatic memberMinkowski(Double, Single, Single) Minkowski Distance, i.e. the generalized p-norm of the difference.
Public methodStatic memberMinkowskiT(Double, VectorT, VectorT) Minkowski Distance, i.e. the generalized p-norm of the difference.
Public methodStatic memberMSE(Double, Double) Mean-Squared Error (MSE), i.e. the normalized squared L2-norm (Euclidean) of the difference.
Public methodStatic memberMSE(Single, Single) Mean-Squared Error (MSE), i.e. the normalized squared L2-norm (Euclidean) of the difference.
Public methodStatic memberMSET(VectorT, VectorT) Mean-Squared Error (MSE), i.e. the normalized squared L2-norm (Euclidean) of the difference.
Public methodStatic memberPearson Pearson's distance, i.e. 1 - the person correlation coefficient.
Public methodStatic memberSAD(Double, Double) Sum of Absolute Difference (SAD), i.e. the L1-norm (Manhattan) of the difference.
Public methodStatic memberSAD(Single, Single) Sum of Absolute Difference (SAD), i.e. the L1-norm (Manhattan) of the difference.
Public methodStatic memberSADT(VectorT, VectorT) Sum of Absolute Difference (SAD), i.e. the L1-norm (Manhattan) of the difference.
Public methodStatic memberSSD(Double, Double) Sum of Squared Difference (SSD), i.e. the squared L2-norm (Euclidean) of the difference.
Public methodStatic memberSSD(Single, Single) Sum of Squared Difference (SSD), i.e. the squared L2-norm (Euclidean) of the difference.
Public methodStatic memberSSDT(VectorT, VectorT) Sum of Squared Difference (SSD), i.e. the squared L2-norm (Euclidean) of the difference.
Top
See Also