|
DistanceSquareEuclidean Method (Double, Double, Double, Double)
|
Gets the SquareEuclidean distance between two points.
Namespace:
Accord.Math
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static double SquareEuclidean(
double x1,
double y1,
double x2,
double y2
)
Public Shared Function SquareEuclidean (
x1 As Double,
y1 As Double,
x2 As Double,
y2 As Double
) As Double
Request Example
View SourceParameters
- x1
- Type: SystemDouble
- y1
- Type: SystemDouble
- x2
- Type: SystemDouble
- y2
- Type: SystemDouble
Return Value
Type:
DoubleThe SquareEuclidean distance between x and y.
Examples See Also