Distance.Canberra Method
Click or drag to resize
Accord.NET (logo)

DistanceCanberra Method

Gets the Canberra distance between two points.

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

Parameters

x
Type: SystemDouble
The first point x.
y
Type: SystemDouble
The second point y.

Return Value

Type: Double
The Canberra distance between x and y.
Examples
For examples, please see Canberra documentation page.
See Also