Class prob_dens_mdim (o2scl)

O2scl : Class List

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

A multi-dimensional probability density function.

Note

This class is experimental.

Subclassed by o2scl::prob_dens_mdim_gaussian< boost::numeric::ublas::vector< double >, boost::numeric::ublas::matrix< double > >, o2scl::prob_dens_mdim_gmm< boost::numeric::ublas::vector< double >, boost::numeric::ublas::matrix< double > >, o2scl::kde_python< 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_gmm< gauss_vec_t, gauss_mat_t >

Public Functions

inline prob_dens_mdim()
inline virtual ~prob_dens_mdim()
inline virtual size_t dim() const

Return the dimensionality.

inline virtual double pdf(const vec_t &x) const

The normalized density.

inline virtual double log_pdf(const vec_t &x) const

The log of the normalized density.

inline virtual void operator()(vec_t &x) const

Sample the distribution.

Public Members

int verbose

Verbosity parameter.