Public Member Functions | List of all members
o2scl::prob_cond_mdim< vec_t > Class Template Referenceabstract

A multi-dimensional conditional probability density function. More...

#include <prob_dens_func.h>

Inheritance diagram for o2scl::prob_cond_mdim< vec_t >:
o2scl::prob_cond_mdim_gaussian< vec_t, mat_t > o2scl::prob_cond_mdim_rand_walk< vec_t >

Public Member Functions

virtual size_t dim () const
 The dimensionality.
 
virtual double pdf (const vec_t &x, const vec_t &x2) const =0
 The normalized density.
 
virtual double log_pdf (const vec_t &x, const vec_t &x2) const =0
 The log of the normalized density.
 
virtual void operator() (const vec_t &x, vec_t &x2) const =0
 Sample the distribution.
 
virtual double metrop_hast (const vec_t &x, vec_t &x2) const
 Sample the distribution and return the log of the Metropolis-Hastings ratio.
 

Detailed Description

template<class vec_t = boost::numeric::ublas::vector<double>>
class o2scl::prob_cond_mdim< vec_t >

This class is experimental.

Definition at line 867 of file prob_dens_func.h.


The documentation for this class was generated from the following file:

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).