Module: PRNG
- Included in:
- Distribution, Expectation, Simulation
- Defined in:
- lib/do_notation/monads/simulations.rb
Instance Method Summary collapse
Instance Method Details
#next_state(s) ⇒ Object
8 |
# File 'lib/do_notation/monads/simulations.rb', line 8 def next_state(s); (69069 * s + 5) % (2**32) end |