Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 329 Bytes

File metadata and controls

14 lines (12 loc) · 329 Bytes

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;