GitHub - kaskr/example_cpp: Demonstrate how to distribute cpp code for TMB (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
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;