The basic functions for log of probability calculation. More...
Go to the source code of this file.
Functions | |
| template<class dist > | |
| vpdt_dist_traits< dist >::scalar_type | vpdt_log_density (const dist &d, const typename vpdt_dist_traits< dist >::field_type &pt) |
| Compute the log of the unnormalized density. More... | |
| template<class dist > | |
| vpdt_dist_traits< dist >::scalar_type | vpdt_log_prob_density (const dist &d, const typename vpdt_dist_traits< dist >::field_type &pt) |
| Compute the log of the normalized probability density. More... | |
| template<class dist > | |
| vpdt_dist_traits< dist >::scalar_type | vpdt_gradient_log_density (const dist &d, const typename vpdt_dist_traits< dist >::field_type &pt, const typename vpdt_dist_traits< dist >::vector_type &g) |
| Compute the gradient of the log of the unnormalized density. More... | |
The basic functions for log of probability calculation.
These functions provide default implementations for various log of probability calculation functions. They are written in terms of distribution member functions
Modifications None
Definition in file vpdt_log_probability.h.
|
inline |
Compute the gradient of the log of the unnormalized density.
Definition at line 59 of file vpdt_log_probability.h.
|
inline |
Compute the log of the unnormalized density.
Definition at line 29 of file vpdt_log_probability.h.
|
inline |
Compute the log of the normalized probability density.
Definition at line 44 of file vpdt_log_probability.h.
1.8.15