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: http://www.acm.org/pubs/calgo or NETLIB: http://www.netlib.org/toms/index.html.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL 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.