Click or drag to resize
Accord.NET (logo)

CircularResultant Method (Int32, Double, Double)

Computes the mean resultant vector length (r) of the given angles.

Namespace:  Accord.Statistics
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public static double Resultant(
	int samples,
	double cos,
	double sin
)
Request Example View Source

Parameters

samples
Type: SystemInt32
The number of samples.
cos
Type: SystemDouble
The sum of the cosines of the samples.
sin
Type: SystemDouble
The sum of the sines of the samples.

Return Value

Type: Double
The mean resultant vector length of the given angles.
See Also