Click or drag to resize

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

Parameters

data  Single
An array of doubles.
n  Double
A percentile between 0 and 1.

Return Value

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