A functor to apply another functor with data to one distribution in the mixture. 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 |
typedef mixture_::vector_type | vector_ |
Public Member Functions | |
bsta_mixture_data_functor (const functor_ &f, unsigned int index=0) | |
Constructor. | |
bool | operator() (const mixture_ &mix, const vector_ &sample, return_T &retval) const |
The main function. | |
Public Attributes | |
functor_ | functor |
The functor to apply. | |
unsigned int | idx |
The index to apply to. |
A functor to apply another functor with data to one distribution in the mixture.
Definition at line 482 of file bsta_basic_functors.h.
typedef functor_::return_T bsta_mixture_data_functor< mixture_, functor_ >::return_T |
Definition at line 486 of file bsta_basic_functors.h.
typedef return_T bsta_mixture_data_functor< mixture_, functor_ >::return_type |
Definition at line 487 of file bsta_basic_functors.h.
typedef mixture_::math_type bsta_mixture_data_functor< mixture_, functor_ >::T |
Definition at line 485 of file bsta_basic_functors.h.
typedef mixture_::vector_type bsta_mixture_data_functor< mixture_, functor_ >::vector_ |
Definition at line 488 of file bsta_basic_functors.h.
anonymous enum |
Definition at line 489 of file bsta_basic_functors.h.
bsta_mixture_data_functor< mixture_, functor_ >::bsta_mixture_data_functor | ( | const functor_ & | f, |
unsigned int | index = 0 |
||
) | [inline] |
Constructor.
Definition at line 492 of file bsta_basic_functors.h.
bool bsta_mixture_data_functor< mixture_, functor_ >::operator() | ( | const mixture_ & | mix, |
const vector_ & | sample, | ||
return_T & | retval | ||
) | const [inline] |
The main function.
Definition at line 496 of file bsta_basic_functors.h.
functor_ bsta_mixture_data_functor< mixture_, functor_ >::functor |
The functor to apply.
Definition at line 505 of file bsta_basic_functors.h.
unsigned int bsta_mixture_data_functor< mixture_, functor_ >::idx |
The index to apply to.
Definition at line 507 of file bsta_basic_functors.h.