Skip to content

random normal variates in Fortran using the polar, Box-Muller, and ratio-of-uniforms methods

License

Notifications You must be signed in to change notification settings

Beliavsky/random_normal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

random_normal

random normal variates in Fortran using the polar, Box-Muller, and ratio-of-uniforms methods

on WSL2 with gfortran -O3 I get timings

     method          polar      ratio_uni     box_muller
   cpu_time        13.0271        15.3004        12.3667

and with ifort -O3

     method          polar      ratio_uni     box_muller
   cpu_time        16.8491        20.3027         8.6018

About

random normal variates in Fortran using the polar, Box-Muller, and ratio-of-uniforms methods

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published