| NMathFunctionsPercentile(Single, Double) Method |
Calculates the nth percentile of the elements in a data set.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static float Percentile(
float[] data,
double n
)
Public Shared Function Percentile (
data As Single(),
n As Double
) As Single
public:
static float Percentile(
array<float>^ data,
double n
)
static member Percentile :
data : float32[] *
n : float -> float32
Parameters
- data Single
- An array of doubles.
- n Double
- A percentile between 0 and 1.
Return Value
Singlenth percentile.
Exceptions See Also