Click or drag to resize
ArrayStatisticsPercentileInplace Method
Estimates the p-Percentile value from the unsorted data array. If a non-integer Percentile is needed, use Quantile instead. Approximately median-unbiased regardless of the sample distribution (R8). WARNING: Works inplace and can thus causes the data array to be reordered.

Namespace: MathNet.Numerics.Statistics
Assembly: MathNet.Numerics (in MathNet.Numerics.dll) Version: 3.7
Syntax
C#
public static double PercentileInplace(
	double[] data,
	int p
)

Parameters

data
Type: SystemDouble
Sample array, no sorting is assumed. Will be reordered.
p
Type: SystemInt32
Percentile selector, between 0 and 100 (inclusive).

Return Value

Type: Double
See Also