A lightweight and easy-to-use library that wraps C++11's random number generators, making them available from C and Fortran. easyRNG is licensed under the 3-clause BSD license.
- Add random number generator and distributions to your C and Fortran code (or C++ if you really don't like the
random
template API 😄) - API based on the GNU scientific library's (GSL) random number generators and its Fortran bindings FGSL
- Has no dependencies, except a C++11 compliant compiler (and optionally a Fortran compiler)
- Thoroughly tested on Linux, Mac OS X and Windows
- Distributed under the permissive 3-clause BSD license, while GSL and FGSL are licensed under the more restrictive GPLv3.
Doxygen was used to generate documentation, including usage instructions and examples.
See the installation instructions on how to obtain a copy of easyRNG. Source tarballs are available, as well as binary packages for several Linux distributions.
That's it! Don't hesitate to open an issue if something does not work as it's supposed to...