Public Member Functions | List of all members
o2scl::prob_dens_mdim< vec_t > Class Template Reference

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

#include <prob_dens_func.h>

Inheritance diagram for o2scl::prob_dens_mdim< vec_t >:
o2scl::prob_dens_mdim_amr< vec_t, mat_t > o2scl::prob_dens_mdim_biv_gaussian< vec_t > o2scl::prob_dens_mdim_factor< vec_t > o2scl::prob_dens_mdim_gaussian< vec_t, mat_t > o2scl::prob_dens_mdim_bound_gaussian< vec_t, mat_t >

Detailed Description

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

This class is experimental.

Definition at line 684 of file prob_dens_func.h.

Public Member Functions

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.
 

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).