|
EuclideanDistance Method (SparseDouble, SparseDouble)
|
Computes the distance d(x,y) between points
x and y.
Namespace:
Accord.Math.Distances
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public double Distance(
Sparse<double> x,
Sparse<double> y
)
Public Function Distance (
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:
Double
A double-precision value representing the distance
d(x,y)
between
x and
y according
to the distance function implemented by this class.
Implements
IDistanceT, UDistance(T, U)See Also