random-state: allow initialization from the array
authorDaniel Kochmański <daniel@turtleware.eu>
Mon, 21 Sep 2015 16:08:50 +0000 (18:08 +0200)
committerDaniel Kochmański <daniel@turtleware.eu>
Mon, 21 Sep 2015 16:08:50 +0000 (18:08 +0200)
commit82ef9aa3189c343593a67c3e6086a2c036edc684
tree45c3582fd10b3324ecb24322f96d149e42d66a4f
parent03efe83b9974157f6605faaefcf6a06ea8ee9a92
random-state: allow initialization from the array

Array used for initialization is an array of the final values of
internal vector used to generate next randoms which should be a
product of initialization from a random seed.

This ability is required by CLHS to be able to read back the printed
random state. To print readable representation of random state
*print-readably* should be bound to T.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
src/c/num_rand.d