$extrastylesheet
#include <mln/accu/rms.hh>
Public Member Functions | |
| rms () | |
| V | hook_value_ () const |
| bool | is_valid () const |
| V | subj_ () |
| void | take_as_init (const T &t) |
| void | take_n_times (unsigned n, const T &t) |
| void | take_n_times_ (unsigned n, const T &t) |
| V | to_result () const |
| void | init () |
| void | take_as_init_ (const T &p) |
| void | take (const T &p) |
| void | take (const rms< T, V > &other) |
Protected Attributes | |
| unsigned | count_ |
| V | v_ |
Public Types | |
| typedef T | argument |
| typedef Accumulator< void > | category |
| typedef rms< T, V > | exact_t |
| typedef V | q_result |
| typedef mln::metal::unqualif < V >::ret | result |
Generic root mean square accumulator class.
The parameter T is the type of the root mean square value.
| mln::accu::rms< T, V >::rms | ( | ) |
| V mln::accu::rms< T, V >::hook_value_ | ( | ) | const |
Return the underlying value used to compute the result.
v = sum(t * t);
| void mln::accu::rms< T, V >::init | ( | ) |
Manipulators.
| bool mln::accu::rms< T, V >::is_valid | ( | ) | const |
Check whether this accu is able to return a result.
Always true here.
|
inherited |
| void mln::accu::rms< T, V >::take | ( | const T & | p | ) |
| void mln::accu::rms< T, V >::take | ( | const rms< T, V > & | other | ) |
|
inherited |
Take as initialization the value t.
| void mln::accu::rms< T, V >::take_as_init_ | ( | const T & | t | ) |
INTERNAL_API
Default implementation of "take as initialization".
Reimplemented from mln::Accumulator< rms< T, V > >.
|
inherited |
Take n times the value t.
|
inherited |
INTERNAL_API
Default implementation of "take n times".
| V mln::accu::rms< T, V >::to_result | ( | ) | const |
Get the value of the accumulator.
|
protected |
|
protected |
| typedef T mln::accu::rms< T, V >::argument |
|
inherited |
Definition at line 64 of file accumulator.hh.
|
inherited |