Mersenne Twister pseudorandom number generator.
The sourcecode is released under a permissive BSD-style license.
The library can be built with the Fortran Package Manager using the provided fpm.toml
file like so:
fpm build --release
To use mersenne-twister-fortran within your fpm project, add the following to your fpm.toml
file:
[dependencies]
mersenne-twister-fortran = { git="https://github.com/jacobwilliams/mersenne-twister-fortran.git" }
The latest API documentation can be found here. This was generated from the source code using FORD.
- T. Nishimura, "Tables of 64-bit Mersenne Twisters" ACM Transactions on Modeling and Computer Simulation 10. (2000) 348--357.
- M. Matsumoto and T. Nishimura, "Mersenne Twister: a 623-dimensionally equidistributed uniform pseudorandom number generator" ACM Transactions on Modeling and Computer Simulation 8. (Jan. 1998) 3--30.
- Original soucecode from math.sci.hiroshima-u.ac.jp
- pikaia -- this module was originally created for that library, but was split off into a separate package.