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.
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.