Canoe
Comprehensive Atmosphere N' Ocean Engine
mcmc_recs Struct Reference

#include <mcmc.hpp>

Public Attributes

int ndim
 
int nvalue
 
int nwalker
 
int nstep
 
double *** par
 
double *** val
 
double ** lnp
 
double * opt_par
 
double * opt_val
 
int ** newstate
 
int cur
 
int accept
 
int reset
 
double opt_lnp
 

Detailed Description

mcmc chains and records

Definition at line 49 of file mcmc.hpp.

Member Data Documentation

◆ ndim

int mcmc_recs::ndim

dimension of state vector

Definition at line 50 of file mcmc.hpp.

◆ nvalue

int mcmc_recs::nvalue

dimension of measurement

Definition at line 51 of file mcmc.hpp.

◆ nwalker

int mcmc_recs::nwalker

number of walkers

Definition at line 52 of file mcmc.hpp.

◆ nstep

int mcmc_recs::nstep

number of steps

Definition at line 53 of file mcmc.hpp.

◆ par

double*** mcmc_recs::par

state vector in each chain

Definition at line 55 of file mcmc.hpp.

◆ val

double *** mcmc_recs::val

forward result in each chain

Definition at line 56 of file mcmc.hpp.

◆ lnp

double ** mcmc_recs::lnp

log probability of each state

Definition at line 57 of file mcmc.hpp.

◆ opt_par

double* mcmc_recs::opt_par

optimal parameter

Definition at line 59 of file mcmc.hpp.

◆ opt_val

double * mcmc_recs::opt_val

optimal forward result

Definition at line 60 of file mcmc.hpp.

◆ newstate

int** mcmc_recs::newstate

0/1 whether the current state is a new state

Definition at line 62 of file mcmc.hpp.

◆ cur

int mcmc_recs::cur

current chain length

Definition at line 64 of file mcmc.hpp.

◆ accept

int mcmc_recs::accept

number of accepted states

Definition at line 65 of file mcmc.hpp.

◆ reset

int mcmc_recs::reset

reset chain length

Definition at line 66 of file mcmc.hpp.

◆ opt_lnp

double mcmc_recs::opt_lnp

optimal log probability

Definition at line 67 of file mcmc.hpp.


The documentation for this struct was generated from the following file: