toms370, a Fortran77 code which implements ACM toms algorithm 370, for producing random samples from an arbitrary Probability Density Function (PDF).
The text of many ACM toms algorithms is available online through ACM: https://www.acm.org/pubs/calgo or NETLIB: https://www.netlib.org/toms/index.html.
The information on this web page is distributed under the MIT license.
toms370 is available in a Fortran77 version.
normal, a Fortran77 library which includes routines for sampling normal PDF's.
PROB, a Fortran90 library which contains routines for sampling from a wide range of PDF's.
UNIFORM, a Fortran77 library which includes routines for sampling uniform PDF's.