ArrayStatisticsMedianInplace(Single) Method |
Estimates the median value from the unsorted data array.
WARNING: Works inplace and can thus causes the data array to be reordered.
Namespace: Altaxo.Calc.StatisticsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static float MedianInplace(
float[] data
)
Parameters
- data Single
- Sample array, no sorting is assumed. Will be reordered.
Return Value
SingleThe median value from the array, or
NaN if the array is empty or contains invalid entries.
See Also