Click or drag to resize
Accord.NET (logo)

Distance. IsMetric Method

Overload List
  NameDescription
Public methodStatic memberIsMetric(Func<Double[],Double[], 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.
Public methodStatic memberIsMetric(Func<Int32[],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.
Public methodStatic memberIsMetric<T>(IDistance<T>)
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.
Top
See Also