Click or drag to resize

NMathFunctionsPercentile(Double, 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(
	double[] data,
	double n
)

Parameters

data  Double
An array of doubles.
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