Calculates the specified decile of the given data.

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public static double Decile(
	DoubleVector data,
	int decile
)
Visual Basic (Declaration)
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