ArrayStatisticsOrderStatisticInplace(Single, Int32) Method |
Returns the order statistic (order 1..N) 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 OrderStatisticInplace(
float[] data,
int order
)
Parameters
- data Single
- Sample array, no sorting is assumed. Will be reordered.
- order Int32
- One-based order of the statistic, must be between 1 and N (inclusive).
Return Value
SingleThe order-th smallest value, or
NaN if order is out of range.
See Also