AFF --- A container for numbers (array) by Friederich and Forbriger.
aff::func::util::Extractrms< C > Class Template Reference

#include <rms.h>

Public Types

typedef Tvalue Tretval
 

Public Member Functions

 Extractrms (const Tcont &c)
 initialize member data More...
 
void operator() (const Tvalue &v)
 collect another value More...
 
Tretval result () const
 return result of operation More...
 

Private Types

typedef C::Tcoc Tcont
 
typedef C::Tvalue Tvalue
 

Private Attributes

Tvalue Msum
 
int Mn
 

Detailed Description

template<class C>
class aff::func::util::Extractrms< C >

utility class to extract root mean square value from a container

This class should be used together with the aff::func::util::collect() function template.

Parameters
Cany container class like aff::Array<double>

Definition at line 60 of file rms.h.


The documentation for this class was generated from the following file: