A functor to apply another functor to each distribution and produce a weighted sum. More...
#include <bsta_basic_functors.h>
Public Types | |
| enum | { return_dim = functor_::return_dim } |
| typedef mixture_::math_type | T |
| typedef functor_::return_T | return_T |
| typedef return_T | return_type |
Public Member Functions | |
| bsta_weighted_sum_functor () | |
| Constructor. | |
| bsta_weighted_sum_functor (const functor_ &f) | |
| Constructor. | |
| bool | operator() (const mixture_ &mix, return_T &retval) const |
| The main function. | |
Public Attributes | |
| functor_ | functor |
| The functor to apply. | |
A functor to apply another functor to each distribution and produce a weighted sum.
Definition at line 514 of file bsta_basic_functors.h.
| typedef functor_::return_T bsta_weighted_sum_functor< mixture_, functor_ >::return_T |
Definition at line 518 of file bsta_basic_functors.h.
| typedef return_T bsta_weighted_sum_functor< mixture_, functor_ >::return_type |
Definition at line 519 of file bsta_basic_functors.h.
| typedef mixture_::math_type bsta_weighted_sum_functor< mixture_, functor_ >::T |
Definition at line 517 of file bsta_basic_functors.h.
| anonymous enum |
Definition at line 520 of file bsta_basic_functors.h.
| bsta_weighted_sum_functor< mixture_, functor_ >::bsta_weighted_sum_functor | ( | ) | [inline] |
Constructor.
Definition at line 523 of file bsta_basic_functors.h.
| bsta_weighted_sum_functor< mixture_, functor_ >::bsta_weighted_sum_functor | ( | const functor_ & | f | ) | [inline] |
Constructor.
Definition at line 525 of file bsta_basic_functors.h.
| bool bsta_weighted_sum_functor< mixture_, functor_ >::operator() | ( | const mixture_ & | mix, |
| return_T & | retval | ||
| ) | const [inline] |
The main function.
Definition at line 529 of file bsta_basic_functors.h.
| functor_ bsta_weighted_sum_functor< mixture_, functor_ >::functor |
The functor to apply.
Definition at line 548 of file bsta_basic_functors.h.
1.7.5.1