Back to Adaptive Vision Library website
You are here: Start » Function Reference » Statistics » Quantile
Quantile
Computes the specified quantile of an array of real numbers. The array must be not empty.
Syntax
void avl::Quantile ( const atl::Array<atl::real>& inValues, atl::real inQuantilePoint, atl::real& outQuantileValue )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inValues | const Array<real>& | |||
![]() |
inQuantilePoint | real | 0.0 - 1.0 | 0.5f | |
![]() |
outQuantileValue | real& |
Hints
- If the input array is not guaranteed to be non-empty, precede this filter with SkipEmptyArray.
Errors
| Error type | Description |
|---|---|
| DomainError | Empty array on input in Quantile. |


