Returns a distance measure that uses the Minkowski distance for the specified power.
Namespace:
Extreme.Statistics.Multivariate
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Func<Vector<double>, Vector<double>, double> MinkowskiDistance(
double power
)
Public Shared Function MinkowskiDistance (
power As Double
) As Func(Of Vector(Of Double), Vector(Of Double), Double)
public:
static Func<Vector<double>^, Vector<double>^, double>^ MinkowskiDistance(
double power
)
static member MinkowskiDistance :
power : float -> Func<Vector<float>, Vector<float>, float>
Parameters
- power
- Type: SystemDouble
The exponent.
Return Value
Type:
FuncVectorDouble,
VectorDouble,
Double
The Minkowski distance is the powerth root of the sum of the differences between
corresponding components raised to the power power.
Reference