MetricsCalculatorManhattanDistance Method (Double, Int32, Double, Int32, Int32)
|
Manhattan Distance between two objects.
http://en.wikipedia.org/wiki/Manhattan_distance
Namespace:
FinMath.ClusterAnalysis
Assembly:
FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax public static double ManhattanDistance(
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:
DoubleManhattan distance between two objects.
See Also