Click or drag to resize

NMathFunctionsPercentile(FloatVector, Single) 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(
	FloatVector data,
	float n
)

Parameters

data  FloatVector
A vector.
n  Single
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