|
DistanceEuclidean Method (Double, Double, Double, 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(
double vector1x,
double vector1y,
double vector2x,
double vector2y
)
Public Shared Function Euclidean (
vector1x As Double,
vector1y As Double,
vector2x As Double,
vector2y As Double
) As Double
Request Example
View SourceParameters
- vector1x
- Type: SystemDouble
- vector1y
- Type: SystemDouble
- vector2x
- Type: SystemDouble
- vector2y
- Type: SystemDouble
Return Value
Type:
DoubleThe Euclidean distance between x and y.
Examples
For examples, please see
Euclidean documentation page.
See Also