|
DistanceEuclidean Method (SparseDouble, SparseDouble)
|
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(
Sparse<double> x,
Sparse<double> y
)
Public Shared Function Euclidean (
x As Sparse(Of Double),
y As Sparse(Of Double)
) As Double
Request Example
View SourceParameters
- x
- Type: Accord.MathSparseDouble
The first point x. - y
- Type: Accord.MathSparseDouble
The second point y.
Return Value
Type:
DoubleThe Euclidean distance between x and y.
Examples
For examples, please see
Euclidean documentation page.
See Also