Classes | Functions
core/vpdl/vpdl_distribution.h File Reference

The templated base class for all distributions. More...

#include <vpdl/vpdt/vpdt_field_traits.h>
#include <vpdl/vpdt/vpdt_field_default.h>
#include <vcl_cmath.h>

Go to the source code of this file.

Classes

class  vpdl_distribution< T, n >
 The base class for all probability distributions. More...

Functions

template<class T >
vpdl_compute_inverse_cdf (const vpdl_distribution< T, 1 > &dist, double p)
 Default implementation of numerical CDF inverse computation.
template<class T , unsigned int n>
vpdt_prob_density (const vpdl_distribution< T, n > &d, const typename vpdt_field_default< T, n >::type &pt)
 probability density wrapper for vpdt.
template<class T , unsigned int n>
vpdt_box_prob (const vpdl_distribution< T, n > &d, const typename vpdt_field_default< T, n >::type &min_pt, const typename vpdt_field_default< T, n >::type &max_pt)
 The box probability wrapper for vpdt.
template<class T , unsigned int n>
vpdt_log_density (const vpdl_distribution< T, n > &d, const typename vpdt_field_default< T, n >::type &pt)
 The log density wrapper for vpdt.
template<class T , unsigned int n>
vpdt_log_prob_density (const vpdl_distribution< T, n > &d, const typename vpdt_field_default< T, n >::type &pt)
 The log probability density wrapper for vpdt.

Detailed Description

The templated base class for all distributions.

Author:
Matthew Leotta
Date:
February 5, 2009
    Modifications
     None
   

Definition in file vpdl_distribution.h.


Function Documentation

template<class T >
T vpdl_compute_inverse_cdf ( const vpdl_distribution< T, 1 > &  ,
double   
)

Default implementation of numerical CDF inverse computation.

This function is called by the virtual function inverse_cdf() by default in the univariate case.

Definition at line 17 of file vpdl_distribution.txx.

template<class T , unsigned int n>
T vpdt_box_prob ( const vpdl_distribution< T, n > &  d,
const typename vpdt_field_default< T, n >::type &  min_pt,
const typename vpdt_field_default< T, n >::type &  max_pt 
) [inline]

The box probability wrapper for vpdt.

Definition at line 130 of file vpdl_distribution.h.

template<class T , unsigned int n>
T vpdt_log_density ( const vpdl_distribution< T, n > &  d,
const typename vpdt_field_default< T, n >::type &  pt 
) [inline]

The log density wrapper for vpdt.

Definition at line 139 of file vpdl_distribution.h.

template<class T , unsigned int n>
T vpdt_log_prob_density ( const vpdl_distribution< T, n > &  d,
const typename vpdt_field_default< T, n >::type &  pt 
) [inline]

The log probability density wrapper for vpdt.

Definition at line 147 of file vpdl_distribution.h.

template<class T , unsigned int n>
T vpdt_prob_density ( const vpdl_distribution< T, n > &  d,
const typename vpdt_field_default< T, n >::type &  pt 
) [inline]

probability density wrapper for vpdt.

Definition at line 122 of file vpdl_distribution.h.