bdm::emix_base Class Reference
Base class (interface) for mixtures. More...
#include <emix.h>
Inheritance diagram for bdm::emix_base:

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< epdf > | marginal (const RV &rv) const |
| void | marginal (const RV &rv, emix &target) const |
Update already existing marginal density target. | |
| shared_ptr< pdf > | condition (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 epdf * | component (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:
- emix.h
- emix.cpp
Generated on 2 Dec 2013 for mixpp by
1.4.7
