Click or drag to resize
Accord.NET (logo)

EuclideanDistance Method

Overload List
  NameDescription
Public methodDistance(Double, Double)
Computes the distance d(x,y) between points x and y.
Public methodCode exampleDistance(Double, Double)
Computes the distance d(x,y) between points x and y.
Public methodDistance(TupleDouble, Double, TupleDouble, Double)
Gets the Euclidean distance between two points.
Public methodDistance(SparseDouble, SparseDouble)
Computes the distance d(x,y) between points x and y.
Public methodCode exampleDistance(Double, Double, Double, Double)
Gets the Euclidean distance between two points. Note: this function is dangerous as it is too easy to invert its arguments by mistake. Please consider using the Tuple<double, double> overload instead.
Top
See Also