Class vec_prob_dens_mdim (o2scl)¶
-
template<class vec_t = boost::numeric::ublas::vector<double>>
class vec_prob_dens_mdim¶ A vector of multidimensional probability distributions.
Public Functions
-
inline virtual ~vec_prob_dens_mdim()¶
-
inline size_t size()¶
Return the vector size.
-
inline void free()¶
Clear all of the memory.
-
inline virtual const prob_dens_mdim<vec_t> &operator()(size_t ix) const¶
Return a const reference.
-
inline virtual prob_dens_mdim<vec_t> &operator()(size_t ix)¶
Return a non-const reference.
-
template<class prob_mdim_t>
inline prob_mdim_t &add()¶ Add a distribution of a template type and return a reference.
Protected Attributes
-
std::vector<prob_dens_mdim<vec_t>*> list¶
The internal vector of pointers.
-
inline virtual ~vec_prob_dens_mdim()¶