Click or drag to resize
Accord.NET (logo)

CircularDistance Method (Double, Double, Double)

Computes the distance between two circular samples.

Namespace:  Accord.Statistics
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public static double Distance(
	double x,
	double y,
	double length
)
Request Example View Source

Parameters

x
Type: SystemDouble
The first sample.
y
Type: SystemDouble
The second sample.
length
Type: SystemDouble
The maximum possible value of the samples.

Return Value

Type: Double
The distance between the two angles.
See Also