#include <base.hh>
Inherits mln::Accumulator< E >.
Inherited by mln::accu::shape::bbox< S::site >, mln::accu::shape::bbox< Sc::site >, mln::accu::math::count< P >, mln::accu::internal::couple< mln::accu::shape::bbox< P >, mln::accu::math::count< P >, float, mln::accu::site_set::rectangularity< P > >, mln::accu::histo< I::value >, mln::accu::histo< mln::value::set< T > >, mln::accu::histo< S >, mln::accu::histo< T >, mln::accu::stat::max< V >, mln::accu::stat::median_alt< mln::value::set< T > >, mln::accu::stat::median_h< I::value >, mln::accu::stat::min< V >, mln::accu::center< P, V >, mln::accu::convolve< T1, T2, R >, mln::accu::count_adjacent_vertices< F, S >, mln::accu::count_labels< L >, mln::accu::count_value< V >, mln::accu::histo< V >, mln::accu::internal::couple< A1, A2, R, E >, mln::accu::label_used< L >, mln::accu::logic::land, mln::accu::logic::land_basic, mln::accu::logic::lor, mln::accu::logic::lor_basic, mln::accu::maj_h< T >, mln::accu::math::count< T >, mln::accu::math::inf< T >, mln::accu::math::sum< T, S >, mln::accu::math::sup< T >, mln::accu::max_site< I >, mln::accu::nil< T >, mln::accu::p< A >, mln::accu::pair< A1, A2, T >, mln::accu::rms< T, V >, mln::accu::shape::bbox< P >, mln::accu::shape::height< I >, mln::accu::shape::volume< I >, mln::accu::stat::deviation< T, S, M >, mln::accu::stat::max< T >, mln::accu::stat::max_h< V >, mln::accu::stat::mean< T, S, M >, mln::accu::stat::median_alt< S >, mln::accu::stat::median_h< V >, mln::accu::stat::min< T >, mln::accu::stat::min_h< V >, mln::accu::stat::rank< T >, mln::accu::stat::rank< bool >, mln::accu::stat::rank_high_quant< T >, mln::accu::stat::var< T >, mln::accu::stat::variance< T, S, R >, mln::accu::tuple< A, n, >, mln::accu::val< A >, mln::morpho::attribute::card< I >, mln::morpho::attribute::count_adjacent_vertices< I >, mln::morpho::attribute::height< I >, mln::morpho::attribute::sharpness< I >, mln::morpho::attribute::sum< I, S >, mln::morpho::attribute::volume< I >, and mln::accu::pair< mln::accu::stat::min< V >, mln::accu::stat::max< V > >.
Public Types | |
typedef Accumulator< void > | category |
typedef E | exact_t |
typedef R | q_result |
typedef mln::metal::unqualif < R >::ret | result |
Public Member Functions | |
R | subj_ () |
template<typename T> | |
void | take_as_init (const T &t) |
Take as initialization the value t . | |
template<typename T> | |
void | take_as_init_ (const T &t) |
Default implementation of "take as initialization". | |
template<typename T> | |
void | take_n_times (unsigned n, const T &t) |
Take n times the value t . | |
template<typename T> | |
void | take_n_times_ (unsigned n, const T &t) |
Default implementation of "take n times". | |
Protected Member Functions | |
base () |
Base class for implementation of accumulator classes.
Definition at line 49 of file base.hh.
typedef Accumulator<void> mln::Accumulator< E >::category [inherited] |
typedef E mln::Object< E >::exact_t [inherited] |
typedef R mln::accu::internal::base< R, E >::q_result |
typedef mln::metal::unqualif< R >::ret mln::accu::internal::base< R, E >::result |
base::base | ( | ) | [inline, protected] |
R base::subj_ | ( | ) | [inline] |
void mln::Accumulator< E >::take_as_init | ( | const T & | t | ) | [inline, inherited] |
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 >.
Definition at line 186 of file accumulator.hh.
References mln::exact(), and mln::mln_exact().
Referenced by mln::morpho::elementary::impl::gradient_on_function(), and mln::morpho::elementary::impl::gradient_on_function_fastest().
void mln::Accumulator< E >::take_as_init_ | ( | const T & | t | ) | [inline, inherited] |
Default implementation of "take as initialization".
Reimplemented in mln::accu::math::inf< T >, mln::accu::math::sum< T, S >, mln::accu::math::sup< T >, mln::accu::pair< A1, A2, T >, mln::accu::rms< T, V >, mln::accu::stat::max< T >, mln::accu::stat::min< T >, mln::accu::stat::rank_high_quant< T >, and mln::accu::stat::var< T >.
Definition at line 200 of file accumulator.hh.
References mln::exact().
void mln::Accumulator< E >::take_n_times | ( | unsigned | n, | |
const T & | t | |||
) | [inline, inherited] |
Take n
times the value t
.
Dev note: this is a final method; override if needed by take_as_init_ (ending with '_').
Definition at line 213 of file accumulator.hh.
References mln::exact(), and mln::mln_exact().
void mln::Accumulator< E >::take_n_times_ | ( | unsigned | n, | |
const T & | t | |||
) | [inline, inherited] |
Default implementation of "take n times".
Reimplemented in mln::accu::stat::var< T >.
Definition at line 230 of file accumulator.hh.
References mln::exact().