[Rcpp-devel] R random numbers vs c++
Glenn Lawyer
lawyer at mpi-inf.mpg.de
Thu Mar 22 13:41:10 CET 2012
Is there a reason to prefer Rcpp::runif over the c++ rand() for,
say, accepting a state in a Markov chain simulation? Is one more
random than another? faster?
+glenn
--
-----------------------------------
It is difficult to find a black cat in a dark room,
especially if there is no cat.
-- Chinese proverb
Dr. Glenn Lawyer
+352 661 967 244
Max-Planck-Institut für Informatik
Computational Biology and Applied Algorithmics
Campus E1 4
66123 Saarbrücken, Germany
http://bioinf.mpi-inf.mpg.de/~lawyer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20120322/8f3bbbb8/attachment.html>
More information about the Rcpp-devel
mailing list