BIE::InitialMixturePriorPoisson Class Reference
Prior for mixture model.
More...
#include <InitialMixturePriorPoisson.h>
List of all members.
|
Public Member Functions |
|
void | SamplePrior (int &M, vector< double > &wght, vector< vector< double > > &phi) |
| | Sample: return weights and components separately.
|
|
void | SamplePrior (int M, vector< double > &V) |
| | Sample: return a single parameter vector for subspace M.
|
|
|
| InitialMixturePriorPoisson () |
| | For cloning only: makes an uninitialized prior.
|
|
| InitialMixturePriorPoisson (int nmix, double lambda, double alpha, string pfile) |
| | The useful constructor.
|
|
| ~InitialMixturePriorPoisson () |
| | Destructor.
|
|
The packing order in vectors is: Nmix weights, followed by Nmix vectors of Ndim elements
|
|
InitialMixturePriorPoisson * | New () |
| | Object factor (clone).
|
Protected Member Functions |
|
int | GenPoisson () |
| | Generate a variate by table look up.
|
Protected Attributes |
|
double | Lambda |
| | The Poisson frequency.
|
|
vector< double > | Poisson |
| | Vector containing the prefactors for each value of .
|
|
Uniform * | unit |
| | Uniform random variates.
|
Friends |
|
class | boost::serialization::access |
Detailed Description
Prior for mixture model.
The documentation for this class was generated from the following file: