Public Member Functions

PsiIndependentPosterior Class Reference

#include <integrate.h>

List of all members.

Public Member Functions

 PsiIndependentPosterior (unsigned int nprm, std::vector< PsiPrior * > posteriors, std::vector< std::vector< double > > x, std::vector< std::vector< double > > fx)
 PsiIndependentPosterior (const PsiIndependentPosterior &post)
PsiPriorget_posterior (unsigned int parameter)
 get the fitted posterior distribution for a single parameter
std::vector< double > get_grid (unsigned int parameter)
 get the grid points of a single parameter
std::vector< double > get_margin (unsigned int parameter)
 get the (marginal) density of a single parameter

Detailed Description

Independent approximation to the posterior distribution


Constructor & Destructor Documentation

PsiIndependentPosterior::PsiIndependentPosterior ( unsigned int  nprm,
std::vector< PsiPrior * >  posteriors,
std::vector< std::vector< double > >  x,
std::vector< std::vector< double > >  fx 
)
Parameters:
nprm number of parameters in the model
posteriors determined best fitting distributions
x grids for all parameters
fx densities for all parameters

The documentation for this class was generated from the following files: