bdm::mmix Class Reference
Mixture of pdfs with constant weights, all pdfs are of equal RV and RVC. More...
#include <emix.h>
Inheritance diagram for bdm::mmix:

Public Member Functions | |
mmix () | |
Default constructor. | |
double | evallogcond (const vec &dt, const vec &cond) |
vec | samplecond (const vec &cond) |
void | from_setting (const Setting &set) |
void | to_setting (Setting &set) const |
virtual void | validate () |
Protected Attributes | |
Array< shared_ptr< pdf > > | Coms |
Component (pdfs). | |
vec | w |
weights of the components |
Detailed Description
Mixture of pdfs with constant weights, all pdfs are of equal RV and RVC.
Member Function Documentation
void bdm::mmix::from_setting | ( | const Setting & | set | ) | [virtual] |
Create object from the following structure
class = 'mmix'; pdfs = { list of components bdm::pdf }; % list of pdf offsprings, bdm::pdf::from_setting --- optional fields --- weights = [...]; % weights of pdfs in the mixture --- inherited fields --- bdm::pdf::from_setting
weights = 1/n * [1,1,1,...];
Reimplemented from bdm::pdf.
The documentation for this class was generated from the following files:
- emix.h
- emix.cpp
Generated on 2 Dec 2013 for mixpp by
