Calculates the specified decile of the given data.

Namespace: CenterSpace.NMath.Stats
Assembly: NMathStatsPremium (in NMathStatsPremium.dll) Version: 3.6.0.0

Syntax

C#
public static double Decile(
	DoubleVector data,
	int decile
)
Visual Basic
Public Shared Function Decile ( _
	data As DoubleVector, _
	decile As Integer _
) As Double
Visual C++
public:
static double Decile(
	DoubleVector^ data, 
	int decile
)

Parameters

data
Type: CenterSpace.NMath.Core..::..DoubleVector
A vector.
decile
Type: System..::..Int32
A decile between 0 and 10.

Return Value

Decile.

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::..InvalidArgumentException Thrown if decile is greater than ten or less than zero.

See Also