/example_cpp

Demonstrate how to distribute cpp code for TMB

Primary LanguageC++

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;