DistanceMeasures.MinkowskiDistance Method

Returns a distance measure that uses the Minkowski distance for the specified power.

Definition

Namespace: Numerics.NET.Statistics.Multivariate
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
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