Click or drag to resize

NMathFunctionsPercentile(DoubleVector, 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(
	DoubleVector data,
	double n
)

Parameters

data  DoubleVector
A vector.
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