Back to Adaptive Vision Library website
You are here: Start » Function Reference » Statistics » StandardDeviation
StandardDeviation
Computes the standard deviation of an array of real numbers. The array must be not empty.
Syntax
void avl::StandardDeviation ( const atl::Array<atl::real>& inValues, atl::real& outStandardDeviation )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inValues | const Array<real>& | ||
![]() |
outStandardDeviation | 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 StandardDeviation. |


