Is it possible to access the iteration/step number inside a Stan program?

https://cran.r-project.org/package=rstan/vignettes/external.html

2 Likes