DescriptiveStatisticsMedian Method |
Calculates the median of a list of doubles.
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 Median(
IList<double> dataList
)
Public Shared Function Median (
dataList As IList(Of Double)
) As Double
public:
static double Median(
IList<double>^ dataList
)
static member Median :
dataList : IList<float> -> float
Parameters
- dataList
- Type: System.Collections.GenericIListDouble
The list of doubles to use to calculate the median.
Return Value
Type:
DoubleThe median value.
Exceptions See Also