Classes | Functions
vpdt_gaussian.h File Reference

A generic Gaussian distribution. More...

#include <limits>
#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 <vnl/vnl_math.h>
#include <vnl/vnl_erf.h>

Go to the source code of this file.

Classes

struct  vpdt_gaussian_integrator< F, Covar, Metric, Disambiguate >
 Forward declare integration helper struct. More...
 
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. More...
 
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. More...
 

Detailed Description

A generic Gaussian distribution.

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

Definition in file vpdt_gaussian.h.

Function Documentation

◆ vpdt_gradient_log_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 
)
inline

Compute the gradient of the log of the unnormalized density.

Definition at line 148 of file vpdt_gaussian.h.

◆ vpdt_log_density()

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 138 of file vpdt_gaussian.h.