The statistics namespace.
More...
|
template<class T > |
std::pair< T, T > | getMinMax (const T *values, const T &noValue, const size_t &valueCount) |
|
The statistics namespace.
◆ getMinMax()
template<class T >
std::pair< T, T > statistics::getMinMax |
( |
const T * |
values, |
|
|
const T & |
noValue, |
|
|
const size_t & |
valueCount |
|
) |
| |
Finds the minmax of the given arguments
- Exceptions
-
std::invalid_argument | Thrown when an invalid argument error condition occurs. |
- Template Parameters
-
- Parameters
-
values | The values. |
noValue | The no value. |
valueCount | Number of values. |
- Returns
- The calculated minimum maximum.