Public Types | Public Member Functions
bsta_prob_density_functor< dist_ > Class Template Reference

A functor to return the probability density at a sample. More...

#include <bsta_basic_functors.h>

List of all members.

Public Types

enum  { return_dim = 1 }
typedef dist_::math_type T
typedef dist_::vector_type vector_
typedef T return_T
typedef return_T return_type

Public Member Functions

bool operator() (const dist_ &d, const vector_ &sample, return_T &retval) const
 The main function.

Detailed Description

template<class dist_>
class bsta_prob_density_functor< dist_ >

A functor to return the probability density at a sample.

Definition at line 25 of file bsta_basic_functors.h.


Member Typedef Documentation

template<class dist_ >
typedef T bsta_prob_density_functor< dist_ >::return_T

Definition at line 30 of file bsta_basic_functors.h.

template<class dist_ >
typedef return_T bsta_prob_density_functor< dist_ >::return_type

Definition at line 31 of file bsta_basic_functors.h.

template<class dist_ >
typedef dist_::math_type bsta_prob_density_functor< dist_ >::T

Definition at line 28 of file bsta_basic_functors.h.

template<class dist_ >
typedef dist_::vector_type bsta_prob_density_functor< dist_ >::vector_

Definition at line 29 of file bsta_basic_functors.h.


Member Enumeration Documentation

template<class dist_ >
anonymous enum
Enumerator:
return_dim 

Definition at line 32 of file bsta_basic_functors.h.


Member Function Documentation

template<class dist_ >
bool bsta_prob_density_functor< dist_ >::operator() ( const dist_ &  d,
const vector_ sample,
return_T retval 
) const [inline]

The main function.

Definition at line 35 of file bsta_basic_functors.h.


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