parse_rates_exact: Instatiate the C++ rate functions for a stochastic epidemic...

View source: R/parse_rates_exact.R

parse_rates_exactR Documentation

Instatiate the C++ rate functions for a stochastic epidemic model and return a vector of function pointers.

Description

Instatiate the C++ rate functions for a stochastic epidemic model and return a vector of function pointers.

Usage

parse_rates_exact(rates, compile_rates, messages = TRUE)

Arguments

rates

list of rate functions

compile_rates

if TRUE, code will be generated and compiled. If a character string for the name of a file that does not yet exist, code will be generated but not compiled. If the name of a file that exists in the current working directory, the code in the file will be compiled.

messages

logical; print a message that the rates are being compiled

Value

Two vector of strings that serve as function pointers.


fintzij/stemr documentation built on March 25, 2022, 12:25 p.m.