https://github.com/juliarandom/randomnumbers.jl
Random Number Generators for the Julia Language.
https://github.com/juliarandom/randomnumbers.jl
Last synced: 5 months ago
JSON representation
Random Number Generators for the Julia Language.
- Host: GitHub
- URL: https://github.com/juliarandom/randomnumbers.jl
- Owner: JuliaRandom
- License: other
- Created: 2016-04-26T09:53:31.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-04-22T20:37:27.000Z (about 2 years ago)
- Last Synced: 2024-05-22T22:04:14.044Z (about 2 years ago)
- Language: Julia
- Homepage: https://juliarandom.github.io/RandomNumbers.jl/stable
- Size: 2.66 MB
- Stars: 96
- Watchers: 5
- Forks: 21
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# RandomNumbers.jl
*Random number generators for the Julia language.*
Build Status
[](https://github.com/JuliaRandom/RandomNumbers.jl/actions/workflows/ci.yml)
Code Coverage:
[](https://codecov.io/github/JuliaRandom/RandomNumbers.jl?branch=master)
Documentation:
[](https://juliarandom.github.io/RandomNumbers.jl/stable/)
[](https://juliarandom.github.io/RandomNumbers.jl/dev/)
**RandomNumbers.jl** is a package of [Julia](http://julialang.org/), in which several random number generators (RNGs)
are provided.
If you use the Intel Math Kernel Library (MKL), [`VSL.jl`](https://github.com/JuliaRandom/VSL.jl) is also a good
choice for random number generation.
## Installation
This package is registered. The stable version of this package requires Julia `0.7+`. You can install it by:
```julia
(v1.0) pkg> add RandomNumbers
```
It is recommended to run the test suites before using the package:
```julia
(v1.0) pkg> test RandomNumbers
```
## RNG Families
There are four RNG families in this package:
- [PCG](http://juliarandom.github.io/RandomNumbers.jl/stable/man/pcg/):
A new family of RNG, based on *linear congruential generators*, using a *permuted function* to produce much
more random output.
- [Mersenne Twister](http://juliarandom.github.io/RandomNumbers.jl/stable/man/mersenne-twisters/):
The most widely used RNG, with long period.
- [Random123](http://juliarandom.github.io/RandomNumbers.jl/stable/man/random123/):
A family of good-performance *counter-based* RNG.
- [Xorshift](http://juliarandom.github.io/RandomNumbers.jl/stable/man/xorshifts/):
A class of RNG based on *exclusive or* and *bit shift*.
Note that `Random123` is now made a separate package as [Random123.jl](https://github.com/JuliaRandom/Random123.jl).
## Usage
Please see the [documentation](http://juliarandom.github.io/RandomNumbers.jl/stable/man/basics/) for usage of this package.
## License
This package is under [MIT License](./LICENSE.md).