DistanceMeasures.MinkowskiDistance 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#
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.

See Also