CBIOMES / bayesian_cbiomes

notebooks and files for the Bayesian CBIOMES workshop
11 stars 18 forks source link

Adding a very simple C++ function in STAN example #11

Closed christophernhill closed 4 years ago

christophernhill commented 4 years ago

This adds a small (very simple) example of how to use C++ to provide an external definition of the linear regression function. This could be (very small) step toward be able to use some of our existing biogeography models with derivatives in a STAN framework!! It also shows some of the steps needed to connect STAN to some pre-existing model code.