A multidimensional distribution formed by the product of several one-dimensional distributions. More...
#include <prob_dens_func.h>
Definition at line 728 of file prob_dens_func.h.
Public Member Functions | |
prob_dens_mdim_factor (std::vector< prob_dens_func > &p_list) | |
prob_dens_mdim_factor (const prob_dens_mdim_factor &pdmf) | |
Copy constructor. | |
prob_dens_mdim_factor & | operator= (const prob_dens_mdim_factor &pdmf) |
Copy constructor with operator=. | |
virtual size_t | dim () const |
Return the dimensionality. | |
virtual double | pdf (const vec_t &x) const |
The normalized density. | |
virtual double | log_pdf (const vec_t &x) const |
The log of the normalized density. | |
virtual void | operator() (vec_t &x) const |
Sample the distribution. | |
![]() | |
virtual size_t | dim () const |
Return the dimensionality. | |
virtual double | pdf (const boost::numeric::ublas::vector< double > &x) const |
The normalized density. | |
virtual double | log_pdf (const boost::numeric::ublas::vector< double > &x) const |
The log of the normalized density. | |
virtual void | operator() (boost::numeric::ublas::vector< double > &x) const |
Sample the distribution. | |
Protected Attributes | |
std::vector< prob_dens_func > | list |
Vector of one-dimensional distributions. | |
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).