Click or drag to resize
Accord.NET (logo)

DistanceMinkowski Method (Double, Double, Double)

Gets the Minkowski distance between two points.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.6.0
Syntax
public static double Minkowski(
	double[] x,
	double[] y,
	double p
)
Request Example View Source

Parameters

x
Type: SystemDouble
y
Type: SystemDouble
p
Type: SystemDouble

Return Value

Type: Double
The Minkowski distance between x and y.
See Also