pomp
Inference for partially observed Markov processes
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
init.c File Reference
#include "internal.h"
#include <R_ext/Rdynload.h>
Include dependency graph for init.c:

Go to the source code of this file.

Functions

void R_init_pomp (DllInfo *info)
 

Variables

static const R_CallMethodDef callMethods []
 

Function Documentation

◆ R_init_pomp()

void R_init_pomp ( DllInfo *  info)

Definition at line 53 of file init.c.

53  {
54  // C functions provided for users
55  R_RegisterCCallable("pomp","bspline_basis_eval_deriv",(DL_FUNC) &bspline_basis_eval_deriv);
56  R_RegisterCCallable("pomp","periodic_bspline_basis_eval_deriv",(DL_FUNC) &periodic_bspline_basis_eval_deriv);
57  R_RegisterCCallable("pomp","get_userdata",(DL_FUNC) &get_userdata);
58  R_RegisterCCallable("pomp","get_userdata_int",(DL_FUNC) &get_userdata_int);
59  R_RegisterCCallable("pomp","get_userdata_double",(DL_FUNC) &get_userdata_double);
60  R_RegisterCCallable("pomp","pomp_fun_handler",(DL_FUNC) &pomp_fun_handler);
61  R_RegisterCCallable("pomp","load_stack_incr",(DL_FUNC) &load_stack_incr);
62  R_RegisterCCallable("pomp","load_stack_decr",(DL_FUNC) &load_stack_decr);
63  R_RegisterCCallable("pomp","make_covariate_table",(DL_FUNC) &make_covariate_table);
64  R_RegisterCCallable("pomp","get_covariate_names",(DL_FUNC) &get_covariate_names);
65  R_RegisterCCallable("pomp","table_lookup",(DL_FUNC) &table_lookup);
66  R_RegisterCCallable("pomp","lookup_in_table",(DL_FUNC) &lookup_in_table);
67  R_RegisterCCallable("pomp","apply_probe_data",(DL_FUNC) &apply_probe_data);
68  R_RegisterCCallable("pomp","apply_probe_sim",(DL_FUNC) &apply_probe_sim);
69  R_RegisterCCallable("pomp","systematic_resampling",(DL_FUNC) &systematic_resampling);
70  R_RegisterCCallable("pomp","randwalk_perturbation", (DL_FUNC) &randwalk_perturbation);
71 
72  // Register routines
73  R_registerRoutines(info,NULL,callMethods,NULL,NULL);
74  R_useDynamicSymbols(info,TRUE);
75  R_forceSymbols(info,FALSE);
76 }
void periodic_bspline_basis_eval_deriv(double x, double period, int degree, int nbasis, int deriv, double *y)
Definition: bspline.c:122
void bspline_basis_eval_deriv(double x, double *knots, int degree, int nbasis, int deriv, double *y)
Definition: bspline.c:115
SEXP randwalk_perturbation(SEXP, SEXP)
Definition: mif2.c:6
const SEXP get_userdata(const char *)
Definition: userdata.c:13
SEXP load_stack_decr(SEXP)
Definition: pomp_fun.c:130
SEXP apply_probe_sim(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)
Definition: probe.c:29
lookup_table_t make_covariate_table(SEXP, int *)
Definition: lookup_table.c:11
SEXP load_stack_incr(SEXP)
Definition: pomp_fun.c:121
SEXP apply_probe_data(SEXP, SEXP)
Definition: probe.c:4
SEXP systematic_resampling(SEXP, SEXP)
Definition: resample.c:9
const double * get_userdata_double(const char *)
Definition: userdata.c:26
const int * get_userdata_int(const char *)
Definition: userdata.c:19
SEXP pomp_fun_handler(SEXP, SEXP, pompfunmode *, SEXP, SEXP, SEXP, SEXP)
Definition: pomp_fun.c:30
void table_lookup(lookup_table_t *, double, double *)
Definition: lookup_table.c:53
SEXP get_covariate_names(SEXP)
Definition: lookup_table.c:7
SEXP lookup_in_table(SEXP, SEXP)
Definition: lookup_table.c:24
static const R_CallMethodDef callMethods[]
Definition: init.c:4
Here is the call graph for this function:

Variable Documentation

◆ callMethods

const R_CallMethodDef callMethods[]
static

Definition at line 4 of file init.c.