Back to FabImage Library websiteYou are here:
Start »
Function Reference »
Basic »
Statistics »
Quantile
Header: |
STD.h
|
Namespace: |
fil |
Module: |
FoundationLite |
Computes the specified quantile of an array of real numbers. The array must be not empty.
Syntax
void fil::Quantile
(
const ftl::Array<float>& inValues,
float inQuantilePoint,
float& outQuantileValue
)
Parameters
|
Name |
Type |
Range |
Default |
Description |
|
inValues |
const Array<float>& |
|
|
|
|
inQuantilePoint |
float |
0.0 - 1.0 |
0.5f |
|
|
outQuantileValue |
float& |
|
|
|
Hints
- If the input array is not guaranteed to be non-empty, precede this filter with SkipEmptyArray.
Errors
List of possible exceptions:
Error type |
Description |
DomainError |
Empty array on input in Quantile. |