A multi-dimensional conditional probability density function independent of the input. More...
#include <prob_dens_func.h>
The conditional probability, . If the joint probability is factorizable because the events
and
are independent, i.e.
, then
and is independent of
. This class handles that particular case.
This class is experimental.
Definition at line 1405 of file prob_dens_func.h.
Public Member Functions | |
prob_cond_mdim_indep (prob_dens_mdim< vec_t > &out) | |
Create a conditional probability distribution based on the specified probability distribution. | |
virtual size_t | dim () const |
The dimensionality. | |
virtual double | pdf (const vec_t &x, const vec_t &x2) const |
The conditional probability. | |
virtual double | log_pdf (const vec_t &x, const vec_t &x2) const |
The log of the conditional probability. | |
virtual void | operator() (const vec_t &x, vec_t &x2) const |
Sample the distribution. | |
![]() | |
virtual double | log_metrop_hast (const vec_t &x_B, vec_t &x_A) const |
Sample the distribution and return the log of the Metropolis-Hastings ratio. More... | |
Protected Attributes | |
prob_dens_mdim< vec_t > & | base |
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).