CircularDescriptiveStatisticsMeanDirection Method |
Calculates the mean direction of a list of angles.
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static double MeanDirection(
IList<double> dataList
)
Public Shared Function MeanDirection (
dataList As IList(Of Double)
) As Double
public:
static double MeanDirection(
IList<double>^ dataList
)
static member MeanDirection :
dataList : IList<float> -> float
Parameters
- dataList
- Type: System.Collections.GenericIListDouble
The list of angles to use to calculate the mean.
Return Value
Type:
DoubleThe mean direction.
Exceptions Remarks The output range is (-π, π] and disregards winding. If the mean resultant length is zero, this will return a nonsensical value.
See Also