Random
I needed pseudo generator which for given seed return stil same values.
Installation
TODO: Describe the installation process
Usage
Create new instance of generator
use AsunaY\XorShift;
// As seed you can use any integer number.
$xs = new XorShift($seed);
Generate random number
$xs->getRand();
or you can set max and min value to get random number from
$xs->getRand(15,50);
Contributing
- Fork it!
- 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
- Submit a pull request :D
History
TODO: Write history
Credits
License
MIT