An open API service indexing awesome lists of open source software.

https://github.com/junghans/rngsse2

Random number generator library
https://github.com/junghans/rngsse2

Last synced: 7 months ago
JSON representation

Random number generator library

Awesome Lists containing this project

README

          

To compile the library:

cd source
make

To compile, for example, "mrg32k3a.c" in the current directory, with use of the library:

gcc -o mrg32k3a mrg32k3a.c -I../../include -L../../lib -lrngsse

To compile all the examples in C in the current directory, with use of the library:

bash -c 'for i in *.c; do gcc -o ${i%??} $i -I../../include -L../../lib -lrngsse; done'

To compile all the examples in FORTRAN in the current directory, with use of the library:

bash -c 'for i in *.f90; do gfortran -o ${i%????} $i -L../../lib -lrngsse; done'

Copyright L.Yu. Barash and L.N. Shchur (2011)
For more information on RNGSSE2 check out http://dx.doi.org/10.1016/j.cpc.2011.03.022.