|
DistanceMinkowski Method (Double, Double, Double)
|
Gets the Minkowski distance between two points.
Namespace:
Accord.Math
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static double Minkowski(
double[] x,
double[] y,
double p
)
Public Shared Function Minkowski (
x As Double(),
y As Double(),
p As Double
) As Double
Request Example
View SourceParameters
- x
- Type: SystemDouble
The first point x. - y
- Type: SystemDouble
The second point y. - p
- Type: SystemDouble
Return Value
Type:
DoubleThe Minkowski distance between x and y.
Examples
For examples, please see
Minkowski documentation page.
See Also