Click or drag to resize
Accord.NET (logo)

DistanceEuclidean Method (TupleDouble, Double, TupleDouble, Double)

Gets the Euclidean distance between two points.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public static double Euclidean(
	Tuple<double, double> x,
	Tuple<double, double> y
)
Request Example View Source

Parameters

x
Type: SystemTupleDouble, Double
The first point x.
y
Type: SystemTupleDouble, Double
The second point y.

Return Value

Type: Double
The Euclidean distance between x and y.
Examples
For examples, please see Euclidean documentation page.
See Also