Click or drag to resize
Accord.NET (logo)

DistanceManhattan Method (Int32, Int32)

Gets the Manhattan distance between two points.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.7.0
Syntax
public static double Manhattan(
	int[] x,
	int[] y
)
Request Example View Source

Parameters

x
Type: SystemInt32
y
Type: SystemInt32

Return Value

Type: Double
The Manhattan distance between x and y.
See Also