#include <signal.h>
#include <gsl/gsl_sf.h>
#include "mcmc.h"
#include "parallel_tempering.h"
#include "debug.h"
Define Documentation
Function Documentation
double apply_formula |
( |
mcmc * |
m, |
|
|
unsigned int |
i, |
|
|
double |
param0, |
|
|
double |
param1 |
|
) |
| |
void calc_model |
( |
mcmc * |
m, |
|
|
const gsl_vector * |
old_values |
|
) |
| |
void calc_model_for |
( |
mcmc * |
m, |
|
|
const unsigned int |
i, |
|
|
const double |
old_value |
|
) |
| |
update the model as the new parameter value i changed and recalculate the probability for the model
- Parameters:
-
m | |
i | index of the parameter value that changed |
old_value | previous value of the parameter |
References calc_model().