https://github.com/tschoonj/easyrng
BSD licensed random number generators and distributions for C and Fortran
https://github.com/tschoonj/easyrng
bsd-license c c-plus-plus-11 fortran gsl linux macos multi-platform random-number-distributions random-number-generators windows
Last synced: 10 months ago
JSON representation
BSD licensed random number generators and distributions for C and Fortran
- Host: GitHub
- URL: https://github.com/tschoonj/easyrng
- Owner: tschoonj
- License: bsd-3-clause
- Created: 2016-07-10T06:44:21.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-08-30T02:48:33.000Z (almost 4 years ago)
- Last Synced: 2025-06-19T19:02:53.876Z (about 1 year ago)
- Topics: bsd-license, c, c-plus-plus-11, fortran, gsl, linux, macos, multi-platform, random-number-distributions, random-number-generators, windows
- Language: Fortran
- Homepage: https://tschoonj.github.io/easyRNG
- Size: 493 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[](https://lgtm.com/projects/g/tschoonj/easyRNG/context:cpp) 
# 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 :smile:)
* API based on the [GNU scientific library's (GSL) random number generators](https://www.gnu.org/software/gsl/) and its [Fortran bindings FGSL](http://www.lrz.de/services/software/mathematik/gsl/fortran/)
* 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](https://tschoonj.github.io/easyRNG), including usage instructions and examples.
## Downloads
See the [installation instructions](https://tschoonj.github.io/easyRNG/installation_instructions.html) 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...