Click or drag to resize
Accord.NET (logo)

DistanceSquareEuclidean Method (SparseDouble, SparseDouble)

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(
	Sparse<double> x,
	Sparse<double> y
)
Request Example View Source

Parameters

x
Type: Accord.MathSparseDouble
The first point x.
y
Type: Accord.MathSparseDouble
The second point y.

Return Value

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