Back to Adaptive Vision Library website
You are here: Start » Function Reference » Basic » Statistics » Median_InPlace
Header: | STD.h |
---|---|
Namespace: | avl |
Module: | FoundationLite |
Computes the median of an array of real numbers. Modifies the input array for the purpose of speed.
Syntax
void avl::Median_InPlace ( atl::Array<float>& ioValues, float& outMedian )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
ioValues | Array<float>& | |||
outMedian | float& |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty array on input in Median_InPlace. |