2017 © Pedro Peláez
 

library random

Pseudo random generator library

image

asunay/random

Pseudo random generator library

  • Saturday, January 21, 2017
  • by maymeow
  • Repository
  • 1 Watchers
  • 0 Stars
  • 30 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Random

I needed pseudo generator which for given seed return stil same values., (*1)

Installation

TODO: Describe the installation process, (*2)

Usage

Create new instance of generator, (*3)

use AsunaY\XorShift;

// As seed you can use any integer number.
$xs = new XorShift($seed);

Generate random number, (*4)

$xs->getRand();

or you can set max and min value to get random number from, (*5)

$xs->getRand(15,50);

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

TODO: Write history, (*6)

Credits

Charlotta, (*7)

License

MIT, (*8)

The Versions

21/01 2017

dev-master

9999999-dev

Pseudo random generator library

  Sources   Download

MIT

by Charlotta Jung

19/08 2016

v0.1.1

0.1.1.0

Pseudo random generator library

  Sources   Download

MIT

by Charlotta Jung

19/08 2016

v0.1

0.1.0.0

Pseudo random generator library

  Sources   Download

MIT

by Charlotta Jung