Commit 6d1df93e authored by ZIMMERMANN Paul's avatar ZIMMERMANN Paul
Browse files

[src/nrandom.c] added reference

parent 5c2a876f
......@@ -31,6 +31,11 @@ or write to the Free Software Foundation, Inc.,
* Note: the algorithm implemented here has been improved in
* Du, Fan and Wei in "An improved exact sampling algorithm for the standard
* normal distribution", Computational Statistics, 2021,
* The implementation here closely follows the C++ one given in the paper
* above. However, here, C is simplified by using gmp_urandomm_ui; the initial
* rejection step in H just tests the leading bit of p; and the assignment of
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment