Three new generators in addition to the original lagged Fibonacci generator are now available. The generators are identified by an integer:
Random states are now printed as
> *random-state* #$(1 #(2147483562 0 11716 54063))The function make-random-state produces a new seed from the current generator when called with the argument t. An alternate generator can be specified by supplying an appropriate integer as a second argument:
> (make-random-state t) #$(1 #(2147483562 0 11716 54088)) > (make-random-state t 2) #$(2 #(2147483647 0 0 11715 0 54105))
When make-random-state is called with an old state vector, a new state for generator 0 is returned.