Public Types | Public Member Functions | Private Types
bsta_beta_updater< beta_ > Class Template Reference

An updater for statistically updating beta distributions. More...

#include <bsta_beta_updater.h>

List of all members.

Public Types

typedef beta_::field_type field_type
 for compatibility with vpdl/vpdt.
typedef beta_ distribution_type

Public Member Functions

void operator() (obs_beta_ &d, const vector_ &sample) const
 The main function.

Private Types

typedef bsta_num_obs< beta_ > obs_beta_
typedef beta_::math_type T
typedef beta_::vector_type vector_

Detailed Description

template<class beta_>
class bsta_beta_updater< beta_ >

An updater for statistically updating beta distributions.

Definition at line 106 of file bsta_beta_updater.h.


Member Typedef Documentation

template<class beta_ >
typedef beta_ bsta_beta_updater< beta_ >::distribution_type

Definition at line 115 of file bsta_beta_updater.h.

template<class beta_ >
typedef beta_::field_type bsta_beta_updater< beta_ >::field_type

for compatibility with vpdl/vpdt.

Definition at line 114 of file bsta_beta_updater.h.

template<class beta_ >
typedef bsta_num_obs<beta_> bsta_beta_updater< beta_ >::obs_beta_ [private]

Definition at line 108 of file bsta_beta_updater.h.

template<class beta_ >
typedef beta_::math_type bsta_beta_updater< beta_ >::T [private]

Definition at line 109 of file bsta_beta_updater.h.

template<class beta_ >
typedef beta_::vector_type bsta_beta_updater< beta_ >::vector_ [private]

Definition at line 110 of file bsta_beta_updater.h.


Member Function Documentation

template<class beta_ >
void bsta_beta_updater< beta_ >::operator() ( obs_beta_ d,
const vector_ sample 
) const [inline]

The main function.

make the appropriate type casts and call a helper function

Definition at line 120 of file bsta_beta_updater.h.


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