An accessor to return the normalization constant of the distribution. More...
#include <vpdt_distribution_accessors.h>
Classes | |
struct | rebind |
rebind this functor to another distribution type. More... | |
Public Types | |
typedef vpdt_dist_traits < dist_type >::scalar_type | return_type |
the functor return type. | |
typedef dist_type | distribution_type |
the distribution operated on by the functor. | |
Public Member Functions | |
bool | operator() (const dist_type &d, return_type &retval) const |
The main function. | |
Static Public Attributes | |
static const bool | valid_functor = true |
is this functor valid for its distribution type. |
An accessor to return the normalization constant of the distribution.
Definition at line 101 of file vpdt_distribution_accessors.h.
typedef dist_type vpdt_norm_const_accessor< dist_type >::distribution_type |
the distribution operated on by the functor.
Definition at line 107 of file vpdt_distribution_accessors.h.
typedef vpdt_dist_traits<dist_type>::scalar_type vpdt_norm_const_accessor< dist_type >::return_type |
the functor return type.
Definition at line 105 of file vpdt_distribution_accessors.h.
bool vpdt_norm_const_accessor< dist_type >::operator() | ( | const dist_type & | d, |
return_type & | retval | ||
) | const [inline] |
The main function.
Definition at line 118 of file vpdt_distribution_accessors.h.
const bool vpdt_norm_const_accessor< dist_type >::valid_functor = true [static] |
is this functor valid for its distribution type.
Definition at line 109 of file vpdt_distribution_accessors.h.