Public Types | Public Member Functions
bsta_mixture_size_functor< mixture_ > Class Template Reference

A functor to count the number of components in the mixture. More...

#include <bsta_basic_functors.h>

List of all members.

Public Types

enum  { return_dim = 1 }
typedef mixture_::math_type T
typedef unsigned int return_T
typedef return_T return_type

Public Member Functions

bool operator() (const mixture_ &mix, return_T &retval) const
 The main function.

Detailed Description

template<class mixture_>
class bsta_mixture_size_functor< mixture_ >

A functor to count the number of components in the mixture.

Note:
the distribution must be a mixture

Definition at line 598 of file bsta_basic_functors.h.


Member Typedef Documentation

template<class mixture_ >
typedef unsigned int bsta_mixture_size_functor< mixture_ >::return_T

Definition at line 602 of file bsta_basic_functors.h.

template<class mixture_ >
typedef return_T bsta_mixture_size_functor< mixture_ >::return_type

Definition at line 603 of file bsta_basic_functors.h.

template<class mixture_ >
typedef mixture_::math_type bsta_mixture_size_functor< mixture_ >::T

Definition at line 601 of file bsta_basic_functors.h.


Member Enumeration Documentation

template<class mixture_ >
anonymous enum
Enumerator:
return_dim 

Definition at line 604 of file bsta_basic_functors.h.


Member Function Documentation

template<class mixture_ >
bool bsta_mixture_size_functor< mixture_ >::operator() ( const mixture_ &  mix,
return_T retval 
) const [inline]

The main function.

Definition at line 607 of file bsta_basic_functors.h.


The documentation for this class was generated from the following file: