Classes | Public Types | Public Member Functions | Static Public Attributes
vpdt_norm_const_accessor< dist_type > Class Template Reference

An accessor to return the normalization constant of the distribution. More...

#include <vpdt_distribution_accessors.h>

List of all members.

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.

Detailed Description

template<class dist_type>
class vpdt_norm_const_accessor< dist_type >

An accessor to return the normalization constant of the distribution.

Definition at line 101 of file vpdt_distribution_accessors.h.


Member Typedef Documentation

template<class dist_type >
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.

template<class dist_type >
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.


Member Function Documentation

template<class dist_type >
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.


Member Data Documentation

template<class dist_type >
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.


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