phylopomp
Phylodynamics for POMPs
Loading...
Searching...
No Matches
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 yaml ## X (SEXP State)
SEXP run(SEXP State, SEXP Tout)
run simulations
Definition generics.h:104
SEXP revive(SEXP State, SEXP Params)
refresh parameters
Definition generics.h:92
SEXP yaml(const TYPE &X)
human/machine readable output
Definition generics.h:43
SEXP make(SEXP Params, SEXP IVPs, SEXP T0)
initialization
Definition generics.h:73

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 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} \

Definition at line 13 of file init.h.

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