alea-zpf6329
Alea ZPF6329
This is an alea extension that brings the ZPF6329
pseudo random number genererator.
This was derived from alea's XSR128
engine applying arbitrary modifications just for the fun of it and is not meant to be a proper generator, even if it has passed specs.
Installation
- Add the dependency to your
shard.yml
along withalea
:
dependencies:
alea:
github: nin93/alea
alea-zpf6329:
github: nin93/alea-zpf6329
- Run
shards install
Usage
Import the library:
require "alea"
require "alea-zpf6329"
# Use `Alea::ZPF6329` as engine for `Alea::Random`:
random = Alea::Random(Alea::ZPF6329).new
random.normal # => 0.3318250638597536
Contributing
- Fork it (https://github.com/nin93/alea-zpf6329/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Elia Franzella - creator and maintainer
Repository
alea-zpf6329
Owner
Statistic
- 0
- 0
- 0
- 0
- 1
- almost 3 years ago
- February 14, 2022
License
MIT License
Links
Synced at
Fri, 22 Nov 2024 23:06:19 GMT
Languages