free.sprng {rsprng} | R Documentation |
free.sprng
frees the memory allocated to save the PRNG states by
SPRNG and calls RNGkind
to restore R's default RNG.
free.sprng ()
SPRNG allocates some memory to save the state of the underlying RNG and the memory must be explicitly freed.
Return current PRNG state and NULL
if there were no active PRNG
stream.
Na (Michael) Li nali@umn.edu
SPRNG: Scalable Parallel Random Number Generator Library Web Page. http://sprng.cs.fsu.edu/
init.sprng (1, 0, seed = 231, kind = "PMLCG") runif (10) free.sprng ()