Closed pwinskill closed 2 years ago
Currently c++ functions for log likelihood and prior only work when stand alone. It may be possible to be more flexible, allowing users to define and call other functions internally. This may be an example:
https://cran.r-project.org/web/packages/rust/vignettes/rust-c-using-rcpp-vignette.html#cpp_fun
Scratchpad example now in https://github.com/mrc-ide/drjacoby/tree/pete/multi_cpp
Currently c++ functions for log likelihood and prior only work when stand alone. It may be possible to be more flexible, allowing users to define and call other functions internally. This may be an example:
https://cran.r-project.org/web/packages/rust/vignettes/rust-c-using-rcpp-vignette.html#cpp_fun