$extrastylesheet
#include <mln/accu/convolve.hh>
Public Member Functions | |
convolve () | |
bool | is_valid () const |
R | subj_ () |
void | take_as_init (const T &t) |
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) |
R | to_result () const |
void | init () |
void | take (const argument &t) |
void | take (const T1 &t1, const T2 &t2) |
void | take (const convolve< T1, T2, R > &other) |
Protected Attributes | |
S | s_ |
Public Types | |
typedef std::pair< T1, T2 > | argument |
typedef Accumulator< void > | category |
typedef convolve< T1, T2, R > | exact_t |
typedef R | q_result |
typedef mln::metal::unqualif < R >::ret | result |
Protected Types | |
typedef mln::trait::value_ < typename mln::trait::op::times< T1, T2 > ::ret >::sum | S |
Generic convolution accumulator class.
Parameters T1
and T2
are the type of values to be convolved. Parameter R
is the result type.
Definition at line 54 of file accu/convolve.hh.
mln::accu::convolve< T1, T2, R >::convolve | ( | ) |
void mln::accu::convolve< T1, T2, R >::init | ( | ) |
Manipulators.
bool mln::accu::convolve< T1, T2, R >::is_valid | ( | ) | const |
Check whether this accu is able to return a result.
Always true here.
|
inherited |
void mln::accu::convolve< T1, T2, R >::take | ( | const argument & | t | ) |
void mln::accu::convolve< T1, T2, R >::take | ( | const T1 & | t1, |
const T2 & | t2 | ||
) |
void mln::accu::convolve< T1, T2, R >::take | ( | const convolve< T1, T2, R > & | other | ) |
|
inherited |
Take as initialization the value t
.
|
inherited |
INTERNAL_API
Default implementation of "take as initialization".
|
inherited |
Take n
times the value t
.
|
inherited |
INTERNAL_API
Default implementation of "take n times".
R mln::accu::convolve< T1, T2, R >::to_result | ( | ) | const |
Get the value of the accumulator.
|
protected |
Definition at line 80 of file accu/convolve.hh.
typedef std::pair<T1,T2> mln::accu::convolve< T1, T2, R >::argument |
Definition at line 58 of file accu/convolve.hh.
|
inherited |
Definition at line 64 of file accumulator.hh.
|
inherited |
|
inherited |
|
inherited |
|
protected |
Definition at line 79 of file accu/convolve.hh.