Click or drag to resize

NMathFunctionsPercentile(Int32, Double) Method

Calculates the nth percentile of the elements in a data set.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static double Percentile(
	int[] data,
	double n
)

Parameters

data  Int32
An array of integers.
n  Double
A percentile between 0 and 1.

Return Value

Double
nth percentile.
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if n is greater than one or less than zero.
See Also