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(
	double[] data,
	int decile
)
Visual Basic
Public Shared Function Decile ( _
	data As Double(), _
	decile As Integer _
) As Double
Visual C++
public:
static double Decile(
	array<double>^ data, 
	int decile
)

Parameters

data
Type: array<System..::..Double>[]()[][]
An array of doubles.
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