Click or drag to resize
Accord.NET (logo)

Minkowski Constructor

Initializes a new instance of the Minkowski class.

Namespace:  Accord.Math.Distances
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public Minkowski(
	double p
)
Request Example View Source

Parameters

p
Type: SystemDouble
The Minkowski order p.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThe Minkowski distance is not a metric for p < 1.
See Also