Pseudo random number generator in Fortran, internally using xoroshiro128+
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
LICENSE_XOROSHIRO128PLUS
Makefile
README.md
example.f90
m_random.f90
parallel_test.f90
performance_test.f90

README.md

rng_fortran

A module for generating (pseudo) random numbers. Internally, the xoroshiro128plus generator is used. The following types of random numbers are currently supported:

  • 8 byte random integers
  • 4 byte random integers
  • (0,1] uniform random numbers
  • Normal random numbers (in pairs of two)
  • Poisson-distributed random numbers
  • Random points on a circle
  • Random points on a sphere

A usage example is given in example.f90.