pomp
Inference for partially observed Markov processes
|
#include <R.h>
#include <Rmath.h>
#include <Rdefines.h>
Go to the source code of this file.
Macros | |
#define | err(...) Rf_errorcall(R_NilValue,__VA_ARGS__) |
#define | warn(...) Rf_warningcall(R_NilValue,__VA_ARGS__) |
Typedefs | |
typedef void | bspline_basis_eval_deriv_t(double x, double *knots, int degree, int nbasis, int deriv, double *y) |
typedef void | periodic_bspline_basis_eval_deriv_t(double x, double period, int degree, int nbasis, int deriv, double *y) |
typedef const SEXP | get_userdata_t(const char *name) |
typedef const int * | get_userdata_int_t(const char *name) |
typedef const double * | get_userdata_double_t(const char *name) |
typedef void | pomp_rinit(double *x, const double *p, double t0, const int *stateindex, const int *parindex, const int *covindex, const double *covars) |
typedef void | pomp_dinit(double *lik, const double *x, const double *p, double t0, const int *stateindex, const int *parindex, const int *covindex, const double *covars) |
typedef double | pomp_ssa_rate_fn(int event, double t, const double *x, const double *p, const int *stateindex, const int *parindex, const int *covindex, const double *covars) |
typedef void | pomp_onestep_sim(double *x, const double *p, const int *stateindex, const int *parindex, const int *covindex, const double *covars, double t, double dt) |
typedef void | pomp_dprocess(double *loglik, const double *x1, const double *x2, double t1, double t2, const double *p, const int *stateindex, const int *parindex, const int *covindex, const double *covars) |
typedef void | pomp_skeleton(double *f, const double *x, const double *p, const int *stateindex, const int *parindex, const int *covindex, const double *covars, double t) |
typedef void | pomp_rmeasure(double *y, const double *x, const double *p, const int *obsindex, const int *stateindex, const int *parindex, const int *covindex, const double *covars, double t) |
typedef void | pomp_dmeasure(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) |
typedef void | pomp_emeasure(double *f, const double *x, const double *p, const int *obsindex, const int *stateindex, const int *parindex, const int *covindex, const double *covars, double t) |
typedef void | pomp_vmeasure(double *f, const double *x, const double *p, const int *vmatindex, const int *stateindex, const int *parindex, const int *covindex, const double *covars, double t) |
typedef void | pomp_rprior(double *p, const int *parindex) |
typedef void | pomp_dprior(double *lik, const double *p, int give_log, const int *parindex) |
typedef void | pomp_transform(double *pt, const double *p, const int *parindex) |
Functions | |
static R_INLINE double | logit (double p) |
static R_INLINE double | expit (double x) |
static R_INLINE double | rgammawn (double sigma, double dt) |
static R_INLINE void | reulermultinom (int m, double size, const double *rate, double dt, double *trans) |
static R_INLINE double | deulermultinom (int m, double size, const double *rate, double dt, double *trans, int give_log) |
static R_INLINE double | dmultinom (int m, const double *prob, double *x, int give_log) |
static R_INLINE void | to_log_barycentric (double *xt, const double *x, int n) |
static R_INLINE void | from_log_barycentric (double *xt, const double *x, int n) |
static R_INLINE double | dot_product (int n, const double *x, const double *y) |
static R_INLINE double | exp2geom_rate_correction (double R, double dt) |
static R_INLINE double | rbetabinom (double size, double prob, double theta) |
static R_INLINE double | dbetabinom (double x, double size, double prob, double theta, int give_log) |
static R_INLINE double | rbetanbinom (double mu, double size, double theta) |
static R_INLINE double | dbetanbinom (double x, double mu, double size, double theta, int give_log) |
typedef void bspline_basis_eval_deriv_t(double x, double *knots, int degree, int nbasis, int deriv, double *y) |
typedef void periodic_bspline_basis_eval_deriv_t(double x, double period, int degree, int nbasis, int deriv, double *y) |
typedef void pomp_dinit(double *lik, const double *x, const double *p, double t0, const int *stateindex, const int *parindex, const int *covindex, const double *covars) |
typedef void pomp_dmeasure(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) |
typedef void pomp_dprior(double *lik, const double *p, int give_log, const int *parindex) |
typedef void pomp_dprocess(double *loglik, const double *x1, const double *x2, double t1, double t2, const double *p, const int *stateindex, const int *parindex, const int *covindex, const double *covars) |
typedef void pomp_emeasure(double *f, const double *x, const double *p, const int *obsindex, const int *stateindex, const int *parindex, const int *covindex, const double *covars, double t) |
typedef void pomp_onestep_sim(double *x, const double *p, const int *stateindex, const int *parindex, const int *covindex, const double *covars, double t, double dt) |
typedef void pomp_rinit(double *x, const double *p, double t0, const int *stateindex, const int *parindex, const int *covindex, const double *covars) |
typedef void pomp_rmeasure(double *y, const double *x, const double *p, const int *obsindex, const int *stateindex, const int *parindex, const int *covindex, const double *covars, double t) |
typedef void pomp_skeleton(double *f, const double *x, const double *p, const int *stateindex, const int *parindex, const int *covindex, const double *covars, double t) |
typedef double pomp_ssa_rate_fn(int event, double t, const double *x, const double *p, const int *stateindex, const int *parindex, const int *covindex, const double *covars) |
typedef void pomp_transform(double *pt, const double *p, const int *parindex) |
typedef void pomp_vmeasure(double *f, const double *x, const double *p, const int *vmatindex, const int *stateindex, const int *parindex, const int *covindex, const double *covars, double t) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |