|
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
)
Public Sub New (
p As Double
)
Request Example
View SourceParameters
- p
- Type: SystemDouble
The Minkowski order p.
Exceptions Exception | Condition |
---|
ArgumentOutOfRangeException | The Minkowski distance is not a metric for p < 1. |
See Also