|
| Lik_GausMargD () |
| Constructor.
|
|
| ~Lik_GausMargD () |
| Destructor.
|
|
double | evalLogLik (Array1D< double > &m) |
| Evaluate log-likelihood.
|
|
| Post () |
| Constructor.
|
|
| ~Post () |
| Destructor.
|
|
void | setData (Array2D< double > &xdata, Array2D< double > &ydata) |
| Set the x- and y-data.
|
|
void | setData (Array2D< double > &xdata, Array1D< Array1D< double > > &ydata) |
| Set the x- and y-data, for the case when each datapoint have different number of measurements.
|
|
void | setDataNoise (Array1D< double > &sigma) |
| Set the magnitude of data noise.
|
|
void | inferDataNoise () |
| Indicate inference of data noise stdev.
|
|
void | inferLogDataNoise () |
| Indicate inference of log of data noise stdev.
|
|
Array1D< double > | dataSigma (double m_last) |
| Get data noise, whether inferred or fixed.
|
|
void | setModel (Array1D< Array2D< double >(*)(Array2D< double > &, Array2D< double > &, Array2D< double > &, void *) > forwardFuncs, Array2D< double > &fixindnom, void *funcInfo) |
| Set a pointer to the forward model f(p,x)
|
|
void | setModelRVinput (int pdim, int order, Array1D< int > &rndInd, string pdfType, string pcType) |
| Set model input parameters' randomization scheme.
|
|
int | getChainDim () |
| Get the dimensionailty of the posterior function.
|
|
void | setPrior (string priorType, double priora, double priorb) |
| Set the prior type and its parameters.
|
|
double | evalLogPrior (Array1D< double > &m) |
| Evaluate log-prior.
|
|
Array2D< double > | getParamPCcf (Array1D< double > &m) |
| Extract parameter PC coefficients from a posterior input.
|
|
Array2D< double > | samParam (Array1D< double > &m, int ns) |
| Sample model parameters given posterior input.
|
|
void | momParam (Array1D< double > &m, Array1D< double > &parMean, Array1D< double > &parVar, bool covFlag, Array2D< double > &parCov) |
| Get moments of parameters given posterior input.
|
|
Array2D< double > | samForwardFcn (Array2D< double >(*forwardFunc)(Array2D< double > &, Array2D< double > &, Array2D< double > &, void *), Array1D< double > &m, Array2D< double > &xgrid, int ns) |
| Sample forward function at a given grid for given posterior input.
|
|
void | momForwardFcn (Array2D< double >(*forwardFunc)(Array2D< double > &, Array2D< double > &, Array2D< double > &, void *), Array1D< double > &m, Array2D< double > &xgrid, Array1D< double > &fcnMean, Array1D< double > &fcnVar, bool covflag, Array2D< double > &fcnCov) |
| Get moments of forward function at a given grid for given posterior input.
|
|
void | momForwardFcn (Array1D< double > &m, Array2D< double > &xgrid, Array1D< double > &fcnMean, Array1D< double > &fcnVar, bool covflag, Array2D< double > &fcnCov) |
| Get moments of composite forward function at a given grid for given posterior input.
|
|
Derived class for gaussian-marginal likelihood with discrete parameter.