(49G) Wichmann Hill (2005) Random Sequence Generator - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (49G) Wichmann Hill (2005) Random Sequence Generator (/thread-4365.html) |
(49G) Wichmann Hill (2005) Random Sequence Generator - Gerald H - 07-15-2015 03:03 PM Wichmann & Hill's algorithm produces a sequence of randomly distributed reals in the range zero to one. I dispense with the traditional "pseudo" in my description as the term now merely means "algorithmically produced". For information concerning the algorithm see: http://www.eurometros.org/file_download.php?file_key=247 SETWH sets the parameters s1 to s4 for no input. NEXTR takes no input & returns the next random real to the stack. Code:
|