$extrastylesheet
#include <mln/accu/internal/couple.hh>
Public Member Functions | |
A1 & | first () |
const A1 & | first () const |
bool | is_valid () const |
typedef | mln_argument (A1) argument |
A2 & | second () |
const A2 & | second () const |
R | subj_ () |
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) |
void | init () |
void | take_as_init (const argument &t) |
void | take (const argument &t) |
void | take (const E &other) |
Protected Member Functions | |
couple () |
Protected Attributes | |
A1 | a1_ |
A2 | a2_ |
Public Types | |
typedef Accumulator< void > | category |
typedef E | exact_t |
typedef R | q_result |
typedef mln::metal::unqualif < R >::ret | result |
Definition at line 60 of file accu/internal/couple.hh.
|
protected |
A1& mln::accu::internal::couple< A1, A2, R, E >::first | ( | ) |
const A1& mln::accu::internal::couple< A1, A2, R, E >::first | ( | ) | const |
void mln::accu::internal::couple< A1, A2, R, E >::init | ( | ) |
Manipulators.
bool mln::accu::internal::couple< A1, A2, R, E >::is_valid | ( | ) | const |
Check whether this accu is able to return a result.
Always true here.
typedef mln::accu::internal::couple< A1, A2, R, E >::mln_argument | ( | A1 | ) |
A2& mln::accu::internal::couple< A1, A2, R, E >::second | ( | ) |
const A2& mln::accu::internal::couple< A1, A2, R, E >::second | ( | ) | const |
|
inherited |
void mln::accu::internal::couple< A1, A2, R, E >::take | ( | const argument & | t | ) |
void mln::accu::internal::couple< A1, A2, R, E >::take | ( | const E & | other | ) |
void mln::accu::internal::couple< A1, A2, R, E >::take_as_init | ( | const argument & | t | ) |
|
inherited |
Take as initialization the value t
.
Reimplemented in mln::accu::stat::variance< T, S, R >.
|
inherited |
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 >.
|
inherited |
Take n
times the value t
.
|
inherited |
|
protected |
Definition at line 87 of file accu/internal/couple.hh.
|
protected |
Definition at line 88 of file accu/internal/couple.hh.
|
inherited |
Definition at line 64 of file accumulator.hh.
|
inherited |
|
inherited |
|
inherited |