Click or drag to resize

NMathFunctionsQuartile(Int32, Int32) Method

Calculates the specified quartile of the elements in a data set.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static double Quartile(
	int[] data,
	int quartile
)

Parameters

data  Int32
An array of integers.
quartile  Int32
A quartile between 0 and 4.

Return Value

Double
Quartile.
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if quartile is greater than four or less than zero.
See Also