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

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.