|
AFF --- A container for numbers (array) by Friederich and Forbriger.
|
#include <sqrsum.h>
Public Types | |
| typedef Tvalue | Tretval |
Public Member Functions | |
| Extractsqrsum (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 |
utility class to extract the sum of the square of all samples from the container
This class should be used together with the aff::func::util::collect() function template.
| C | any container class like aff::Array<double> |