|
DistanceWeightedEuclidean Method (Double, Double, Int32)
|
Gets the WeightedEuclidean distance between two points.
Namespace:
Accord.Math
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static double WeightedEuclidean(
double[] x,
double[] y,
int dimensions
)
Public Shared Function WeightedEuclidean (
x As Double(),
y As Double(),
dimensions As Integer
) As Double
Request Example
View SourceParameters
- x
- Type: SystemDouble
The first point x. - y
- Type: SystemDouble
The second point y. - dimensions
- Type: SystemInt32
Return Value
Type:
DoubleThe WeightedEuclidean distance between x and y.
Examples See Also