GitHub - kaskr/example_cpp: Demonstrate how to distribute cpp code for TMB (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Repository files navigation

example_cpp

Demonstrate how to distribute cpp code for TMB

This installs the contributed code:

TMB:::install.contrib("https://github.com/kaskr/example_cpp/archive/master.zip")

After that you can use it in a TMB model with:

#include <TMB.hpp> #include <example_cpp/kasper.hpp> using contrib::kasper::func;