Classes | Functions
core/vpdl/vpdt/vpdt_gaussian.h File Reference

A generic Gaussian distribution. More...

#include <vpdl/vpdt/vpdt_field_traits.h>
#include <vpdl/vpdt/vpdt_field_default.h>
#include <vpdl/vpdt/vpdt_dist_traits.h>
#include <vpdl/vpdt/vpdt_access.h>
#include <vpdl/vpdt/vpdt_eigen_sym_matrix.h>
#include <vpdl/vpdt/vpdt_norm_metric.h>
#include <vcl_limits.h>
#include <vnl/vnl_erf.h>

Go to the source code of this file.

Classes

class  vpdt_gaussian< F, Covar, Metric >
 A Gaussian with variance independent in each dimension. More...
struct  vpdt_gaussian_integrator< F, typename vpdt_eigen_sym_matrix_gen< F >::type, vpdt_norm_metric< F, typename vpdt_eigen_sym_matrix_gen< F >::type >, typename vpdt_field_traits< F >::type_is_vector >
 integrate over a Gaussian distribution. More...
struct  vpdt_gaussian_integrator< F, F, vpdt_norm_metric< F, F >, typename vpdt_field_traits< F >::type_is_vector >
 integrate over a Gaussian distribution. More...
struct  vpdt_gaussian_integrator< F, typename vpdt_field_traits< F >::scalar_type, vpdt_norm_metric< F, typename vpdt_field_traits< F >::scalar_type >, typename vpdt_field_traits< F >::type_is_vector >
 integrate over a Gaussian distribution. More...
struct  vpdt_gaussian_integrator< F, F, vpdt_norm_metric< F, F >, typename vpdt_field_traits< F >::type_is_scalar >
 integrate over a Gaussian distribution. More...

Functions

template<class F , class C , class M >
vpdt_dist_traits
< vpdt_gaussian< F, C, M >
>::scalar_type 
vpdt_log_density (const vpdt_gaussian< F, C, M > &d, const typename vpdt_dist_traits< vpdt_gaussian< F, C, M > >::field_type &pt)
 Compute the log of the unnormalized density.
template<class F , class C , class M >
vpdt_dist_traits
< vpdt_gaussian< F, C, M >
>::scalar_type 
vpdt_gradient_log_density (const vpdt_gaussian< F, C, M > &d, const typename vpdt_dist_traits< vpdt_gaussian< F, C, M > >::field_type &pt, typename vpdt_dist_traits< vpdt_gaussian< F, C, M > >::field_type &g)
 Compute the gradient of the log of the unnormalized density.

Detailed Description

A generic Gaussian distribution.

Author:
Matthew Leotta
Date:
March 5, 2009
   Modifications
     <None yet>
   

Definition in file vpdt_gaussian.h.


Function Documentation

template<class F , class C , class M >
vpdt_dist_traits<vpdt_gaussian<F,C,M> >::scalar_type vpdt_gradient_log_density ( const vpdt_gaussian< F, C, M > &  d,
const typename vpdt_dist_traits< vpdt_gaussian< F, C, M > >::field_type &  pt,
typename vpdt_dist_traits< vpdt_gaussian< F, C, M > >::field_type &  g 
) [inline]

Compute the gradient of the log of the unnormalized density.

Definition at line 144 of file vpdt_gaussian.h.

template<class F , class C , class M >
vpdt_dist_traits<vpdt_gaussian<F,C,M> >::scalar_type vpdt_log_density ( const vpdt_gaussian< F, C, M > &  d,
const typename vpdt_dist_traits< vpdt_gaussian< F, C, M > >::field_type &  pt 
) [inline]

Compute the log of the unnormalized density.

Definition at line 134 of file vpdt_gaussian.h.