|
DistanceIsMetric Method (FuncInt32, Int32, Double)
|
Checks whether a function is a real metric distance, i.e. respects
the triangle inequality. Please note that a function can still pass
this test and not respect the triangle inequality.
Namespace:
Accord.Math
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static bool IsMetric(
Func<int[], int[], double> value
)
Public Shared Function IsMetric (
value As Func(Of Integer(), Integer(), Double)
) As Boolean
Request Example
View SourceParameters
- value
- Type: SystemFuncInt32, Int32, Double
Return Value
Type:
BooleanSee Also