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