Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpfr
mpfr
Commits
6d1df93e
Commit
6d1df93e
authored
Jan 18, 2022
by
ZIMMERMANN Paul
Browse files
[src/nrandom.c] added reference
parent
5c2a876f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/nrandom.c
View file @
6d1df93e
...
...
@@ -31,6 +31,11 @@ https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
* https://dx.doi.org/10.1145/2710016
* https://arxiv.org/abs/1303.6257
*
* 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,
* https://doi.org/10.1007/s00180-021-01136-w
*
* 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment