/easyRNG

BSD licensed random number generators and distributions for C and Fortran

Primary LanguageFortranBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Language grade: C/C++ CI

easyRNG

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.

Features

  • 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.

Documentation

Doxygen was used to generate documentation, including usage instructions and examples.

Downloads

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...