Hi Dirk: On 3/26/16, 5:38 PM, "Dirk Eddelbuettel" <e...@debian.org> wrote:
>Happy Easter to you too. I don't understand your point, I am afraid. If >you >think you need an rnorm variant with vector arguments for mean and sd, why >don't you just write one, as you did here, and release it as a package? >As I >understand you, this is to solve an apparent issue at the R level, >correct? I might do that. But, its not the R level since those features already exist; I¹m just mimicking them at the C++ level. The R transcript was a proof of concept to make sure this was actually doable. >I really do not see how that __fits into them mission of giving a simple >and >useful mechanism__ for access the R RNGs accessible via the R C API. I am >probably missing something here. Well, it might be relevant to other functions, but as you have guessed it is mainly an issue with RNGs. >In case you want a C(++) level to vector argument mean and sd, you can do >exactly the same but at a different layer. Nobody is stopping you, but as >nobody but you seem to think this is missing in Rcpp nobody but you is >likely >to work on it either. Well, like I said, someone else did ask me why it was missing. And perhaps others have wondered as well. Anyways, it is trivial to fix as I¹ve shown. I¹m wondering if these can be generated via the pre-processor since they are rather simple. If I make any progress, maybe it would be worth a Gallery post. Thanks, Rodney _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel