phylopomp
Phylodynamics for POMPs
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
init.h File Reference
#include <R_ext/Rdynload.h>
#include "internal.h"
Include dependency graph for init.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DECLARATIONS(X)
 
#define METHODS(X)
 

Macro Definition Documentation

◆ DECLARATIONS

#define DECLARATIONS ( X)
Value:
SEXP make ## X (SEXP Params, SEXP IVPs, SEXP T0); \
SEXP revive ## X (SEXP State, SEXP Params); \
SEXP run ## X (SEXP State, SEXP Times); \
SEXP geneal ## X (SEXP State); \
SEXP yaml ## X (SEXP State)
SEXP yaml(SEXP State)
extract a YAML description
Definition bare.cc:26
SEXP run(SEXP State, SEXP Tout)
run simulations
Definition generics.h:105
SEXP revive(SEXP State, SEXP Params)
refresh parameters
Definition generics.h:93
SEXP make(SEXP Params, SEXP IVPs, SEXP T0)
initialization
Definition generics.h:74

Definition at line 7 of file init.h.

7#define DECLARATIONS(X) \
8 SEXP make ## X (SEXP Params, SEXP IVPs, SEXP T0); \
9 SEXP revive ## X (SEXP State, SEXP Params); \
10 SEXP run ## X (SEXP State, SEXP Times); \
11 SEXP geneal ## X (SEXP State); \
12 SEXP yaml ## X (SEXP State)

◆ METHODS

#define METHODS ( X)
Value:
{"make" #X, (DL_FUNC) &make ## X, 3}, \
{"revive" #X, (DL_FUNC) &revive ## X, 2}, \
{"run" #X, (DL_FUNC) &run ## X, 2}, \
{"yaml" #X, (DL_FUNC) &yaml ## X, 1}, \
{"geneal" #X, (DL_FUNC) &geneal ## X, 1} \

Definition at line 14 of file init.h.

14#define METHODS(X) \
15 {"make" #X, (DL_FUNC) &make ## X, 3}, \
16 {"revive" #X, (DL_FUNC) &revive ## X, 2}, \
17 {"run" #X, (DL_FUNC) &run ## X, 2}, \
18 {"yaml" #X, (DL_FUNC) &yaml ## X, 1}, \
19 {"geneal" #X, (DL_FUNC) &geneal ## X, 1} \
20