|
EuclideanDistance Method (TupleDouble, Double, TupleDouble, Double)
|
Gets the Euclidean distance between two points.
Namespace:
Accord.Math.Distances
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public double Distance(
Tuple<double, double> x,
Tuple<double, double> y
)
Public Function Distance (
x As Tuple(Of Double, Double),
y As Tuple(Of Double, Double)
) As Double
Request Example
View SourceParameters
- x
- Type: SystemTupleDouble, Double
The first point in space. - y
- Type: SystemTupleDouble, Double
The second point in space.
Return Value
Type:
DoubleThe Euclidean distance between x and y.
Implements
IDistanceT, UDistance(T, U)See Also