I'm struggling a bit to figure out precisely which math operations are and are not available for us in the C++ code that defines a model. It seems like it's just whatever is in the usual math.h. But given that Rcpp is also being used, is might there be a way to expand the toolbox a bit and include things like Rmath.h too? This would seem to be a big boon based on the additional operations that can be found therein: https://teuder.github.io/rcpp4everyone_en/300_Rmath.html
I'm struggling a bit to figure out precisely which math operations are and are not available for us in the C++ code that defines a model. It seems like it's just whatever is in the usual
math.h. But given that Rcpp is also being used, is might there be a way to expand the toolbox a bit and include things likeRmath.htoo? This would seem to be a big boon based on the additional operations that can be found therein: https://teuder.github.io/rcpp4everyone_en/300_Rmath.html