$extrastylesheet
#include <mln/core/concept/accumulator.hh>
Public Member Functions | |
| template<typename T > | |
| void | take_as_init (const T &t) |
| template<typename T > | |
| void | take_as_init_ (const T &t) |
| template<typename T > | |
| void | take_n_times (unsigned n, const T &t) |
| template<typename T > | |
| void | take_n_times_ (unsigned n, const T &t) |
Protected Member Functions | |
| Accumulator () | |
Public Types | |
| typedef Accumulator< void > | category |
| typedef E | exact_t |
Base class for implementation of accumulators.
The parameter E is the exact type.
Definition at line 62 of file accumulator.hh.
|
protected |
Take as initialization the value t.
Reimplemented in mln::accu::stat::variance< T, S, R >.
INTERNAL_API
Default implementation of "take as initialization".
Reimplemented in mln::accu::math::sum< T, S >, mln::accu::stat::min< T >, mln::accu::stat::max< T >, mln::accu::math::sumpow< n, T, S >, mln::accu::minus< A1, A2, T >, mln::accu::and_not< A1, A2, T >, mln::accu::pair< A1, A2, T >, mln::accu::stat::var< T >, mln::accu::stat::rank_high_quant< T >, and mln::accu::rms< T, V >.
| void mln::Accumulator< E >::take_n_times | ( | unsigned | n, |
| const T & | t | ||
| ) |
Take n times the value t.
| void mln::Accumulator< E >::take_n_times_ | ( | unsigned | n, |
| const T & | t | ||
| ) |
| typedef Accumulator<void> mln::Accumulator< E >::category |
Definition at line 64 of file accumulator.hh.
|
inherited |