Back to Aurora Vision Library website
You are here: Start » Function Reference » Histogram » Histogram Data Statistics » HistogramDataVariance
HistogramDataVariance
| Header: | AVL.h |
|---|---|
| Namespace: | avl |
| Module: | FoundationBasic |
Computes the variance of the histogrammed numeric data.
Syntax
C++
C#
void avl::HistogramDataVariance ( const avl::Histogram& inHistogram, float& outVariance )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inHistogram | const Histogram& | Input histogram | |
![]() |
outVariance | float& | Variance of the histogrammed data |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Empty histogram on input in HistogramDataVariance. |
| DomainError | Input histogram contains negative bins or its data is empty in HistogramDataVariance. |
See Also
- HistogramDataAverage – Computes the average of the histogrammed numeric data.
- HistogramDataMedian – Computes the median of the histogrammed numeric data.
- HistogramDataStandardDeviation – Computes the standard deviation of the histogrammed numeric data.
- HistogramDataQuantile – Computes the specified quantile of the histogrammed numeric data.


