ArrayStatisticsOrderStatisticInplace(Double, 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 double OrderStatisticInplace(
double[] data,
int order
)
Parameters
- data Double
- 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
DoubleThe requested order statistic, or NaN if
order is out of range.
See Also