Distance Measures.Minkowski Distance Method
Returns a distance measure that uses the Minkowski distance for the specified power.
Definition
Namespace: Extreme.Statistics.Multivariate
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static Func<Vector<double>, Vector<double>, double> MinkowskiDistance(
double power
)
Parameters
- power Double
- The exponent.
Return Value
Func<Vector<Double>, Vector<Double>, Double>Remarks
The Minkowski distance is the powerth root of the sum of the differences between corresponding components raised to the power power.