AFF --- A container for numbers (array) by Friederich and Forbriger.

◆ absmax()

template<class C >
C::Tvalue aff::func::absmax ( const C &  c)

Function template to extract the largest absolute from the values stored in a container

This is usefull to normalize timeseries data to their maximum.

Parameters
Cany container class like aff::Array<double> (this value is deduced by the compiler)
cany container of numerical values
Returns
largest absolute value of container contents
See also
aff::func::util::collect, aff::func::util::Extractabsmax

Definition at line 98 of file absmax.h.

Referenced by main().

99  {
100  return(aff::func::util::collect<C, aff::func::util::Extractabsmax>(c));
101  } // absmax()
Here is the caller graph for this function: