bdm::emix Class Reference
Mixture of epdfs. More...
#include <emix.h>
Inheritance diagram for bdm::emix:

Public Member Functions | |
| emix () | |
| Default constructor. | |
| const epdf * | component (const int &i) const |
| void | validate () |
| int | no_coms () const |
| void | from_setting (const Setting &set) |
| void | to_setting (Setting &set) const |
| void | set_rv (const RV &rv) |
| Array< shared_ptr< epdf > > & | _Coms () |
Protected Attributes | |
| vec | weights |
| weights of the components | |
| Array< shared_ptr< epdf > > | Coms |
| Component (epdfs). | |
Detailed Description
Mixture of epdfs.Density function:
where
is any density on random variable
, called component,
Member Function Documentation
| void bdm::emix::from_setting | ( | const Setting & | set | ) | [virtual] |
Create object from the following structure
class = 'emix'; pdfs = { list of any bdm::pdf offsprings }; % pdfs in the mixture, bdm::pdf::from_setting weights = [... ]; % vector of weights of pdfs in the mixture --- inherited fields --- bdm::emix_base::from_setting
Reimplemented from bdm::epdf.
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
