phylopomp
Phylodynamics for POMPs
|
Go to the source code of this file.
Macros | |
#define | lambda (__p[__parindex[0]]) |
#define | mu (__p[__parindex[1]]) |
#define | psi (__p[__parindex[2]]) |
#define | n0 (__p[__parindex[3]]) |
#define | n (__x[__stateindex[0]]) |
#define | ll (__x[__stateindex[1]]) |
#define | ell (__x[__stateindex[2]]) |
#define | node (__x[__stateindex[3]]) |
#define | EVENT_RATES |
#define | lik (__lik[0]) |
Functions | |
static double | event_rates (double *__x, const double *__p, double t, const int *__stateindex, const int *__parindex, double *rate, double *penalty) |
void | lbdp_rinit (double *__x, const double *__p, double t, const int *__stateindex, const int *__parindex, const int *__covindex, const double *__covars) |
Latent-state initializer (rinit). More... | |
void | lbdp_gill (double *__x, const double *__p, const int *__stateindex, const int *__parindex, const int *__covindex, const double *__covars, double t, double dt) |
void | lbdp_dmeas (double *__lik, const double *__y, const double *__x, const double *__p, int give_log, const int *__obsindex, const int *__stateindex, const int *__parindex, const int *__covindex, const double *__covars, double t) |
Measurement model likelihood (dmeasure). More... | |
#define ell (__x[__stateindex[2]]) |
Definition at line 10 of file lbdp_pomp.c.
#define EVENT_RATES |
Definition at line 13 of file lbdp_pomp.c.
#define lambda (__p[__parindex[0]]) |
Definition at line 4 of file lbdp_pomp.c.
#define lik (__lik[0]) |
Definition at line 159 of file lbdp_pomp.c.
#define ll (__x[__stateindex[1]]) |
Definition at line 9 of file lbdp_pomp.c.
#define mu (__p[__parindex[1]]) |
Definition at line 5 of file lbdp_pomp.c.
#define n (__x[__stateindex[0]]) |
Definition at line 8 of file lbdp_pomp.c.
#define n0 (__p[__parindex[3]]) |
Definition at line 7 of file lbdp_pomp.c.
#define node (__x[__stateindex[3]]) |
Definition at line 11 of file lbdp_pomp.c.
#define psi (__p[__parindex[2]]) |
Definition at line 6 of file lbdp_pomp.c.
|
static |
Definition at line 17 of file lbdp_pomp.c.
void lbdp_dmeas | ( | double * | __lik, |
const double * | __y, | ||
const double * | __x, | ||
const double * | __p, | ||
int | give_log, | ||
const int * | __obsindex, | ||
const int * | __stateindex, | ||
const int * | __parindex, | ||
const int * | __covindex, | ||
const double * | __covars, | ||
double | t | ||
) |
void lbdp_gill | ( | double * | __x, |
const double * | __p, | ||
const int * | __stateindex, | ||
const int * | __parindex, | ||
const int * | __covindex, | ||
const double * | __covars, | ||
double | t, | ||
double | dt | ||
) |
Latent-state process simulator (rprocess).
This integrates the filter equation.
Definition at line 71 of file lbdp_pomp.c.
void lbdp_rinit | ( | double * | __x, |
const double * | __p, | ||
double | t, | ||
const int * | __stateindex, | ||
const int * | __parindex, | ||
const int * | __covindex, | ||
const double * | __covars | ||
) |
Latent-state initializer (rinit).
Definition at line 52 of file lbdp_pomp.c.