mixpp: bdm::emix_base Class Reference

bdm::emix_base Class Reference

Base class (interface) for mixtures. More...

#include <emix.h>

Inheritance diagram for bdm::emix_base:

bdm::epdf bdm::pdf bdm::root bdm::emix List of all members.

Public Member Functions

 emix_base (vec &w0)
void validate ()
vec sample () const
vec mean () const
vec variance () const
double evallog (const vec &val) const
vec evallog_mat (const mat &Val) const
mat evallog_coms (const mat &Val) const
 Auxiliary function that returns pdflog for each component.
shared_ptr< epdfmarginal (const RV &rv) const
void marginal (const RV &rv, emix &target) const
 Update already existing marginal density target.
shared_ptr< pdfcondition (const RV &rv) const
vec & _w ()
 returns a reference to the internal weights. Use with Care!
const vec & _w () const
const epdf_com (int i) const
 access

Protected Member Functions

virtual const epdfcomponent (const int &i) const =0
 function returning ith component
virtual int no_coms () const =0

Protected Attributes

vec & w
 reference to vector of weights

Detailed Description

Base class (interface) for mixtures.


The documentation for this class was generated from the following files:
Generated on 2 Dec 2013 for mixpp by  doxygen 1.4.7