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

◆ sqrsum()

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

Function template to extract the sum of the square of all samples 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
sum of the square of all samples in the container
See also
aff::func::util::collect, aff::func::util::Extractsqrsum

Definition at line 90 of file sqrsum.h.

Referenced by main().

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