Pseudo-Random Number Generator For C
RandomOps is a small source-code library implementing a high quality Pseudo-Random Number Generator (PRNG) in the ANSI C programming language. The PRNG implemented in RandomOps is based on the ran2 algorithm from the book 'Numerical Recipes in C' by Press et al., but is implemented from scratch here with a number of modifications.
Please see the RandomOps manual for installation instructions.
RandomOps was developed in Microsoft Visual C++ 2005 but should be compatible with all ANSI C compilers.
The RandomOps source-code is published under the GNU Lesser General Public License, which essentially means that you may distribute commercial programs that link with the RandomOps library, as well as make alterations to the RandomOps library itself. There are certain terms to be met though, please see the license for details.