#include <accumulator.hh>
Inherits mln::Proxy< E >.
Inherited by mln::accu::internal::base< R, E >.
Public Member Functions | |
template<typename T> | |
void | take_as_init (const T &t) |
Take as initialization the value t . | |
template<typename T> | |
void | take_n_times (unsigned n, const T &t) |
Take n times the value t . |
The parameter E is the exact type.
void mln::Accumulator< E >::take_as_init | ( | const T & | t | ) | [inline] |
Take as initialization the value t
.
Dev note: this is a final method; override if needed by take_as_init_ (ending with '_').
Reimplemented in mln::accu::stat::variance< T, S, R >.
References mln::mln_exact().
void mln::Accumulator< E >::take_n_times | ( | unsigned | n, | |
const T & | t | |||
) | [inline] |
Take n
times the value t
.
Dev note: this is a final method; override if needed by take_as_init_ (ending with '_').
References mln::mln_exact().