Fesapi 2.3.0.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
Functions
statistics Namespace Reference

The statistics namespace. More...

Functions

template<class T >
std::pair< T, T > getMinMax (const T *values, const T &noValue, const size_t &valueCount)
 

Detailed Description

The statistics namespace.

Function Documentation

◆ 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_argumentThrown when an invalid argument error condition occurs.
Template Parameters
TGeneric type parameter.
Parameters
valuesThe values.
noValueThe no value.
valueCountNumber of values.
Returns
The calculated minimum maximum.