Click or drag to resize
Accord.NET (logo)

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
)
Request Example View Source

Parameters

x1
Type: SystemDouble
y1
Type: SystemDouble
x2
Type: SystemDouble
y2
Type: SystemDouble

Return Value

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