Click or drag to resize

MetricsCalculatorEuclideanDistance Method (Double, Int32, Double, Int32, Int32)

Euclidean Distance between two objects, http://en.wikipedia.org/wiki/Euclidean_distance

Namespace:  FinMath.ClusterAnalysis
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public static double EuclideanDistance(
	double[] x,
	int xoffset,
	double[] y,
	int yoffset,
	int size
)

Parameters

x
Type: SystemDouble
Array of parameters values which characterize first object.
xoffset
Type: SystemInt32
Offset of the parameters values which characterize first object.
y
Type: SystemDouble
Array of parameters values which characterize second object.
yoffset
Type: SystemInt32
Offset of the parameters values which characterize second object.
size
Type: SystemInt32
Number of parameters in characteristic.

Return Value

Type: Double
Euclidean distance between two objects.
See Also