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

◆ rms()

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

Function template to extract the root mean square from the values stored in a container

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

Definition at line 91 of file rms.h.

Referenced by main().

92  {
93  return(aff::func::util::collect<C, aff::func::util::Extractrms>(c));
94  } // rms()
Here is the caller graph for this function: