randomgen.lxm.LXM.seed

LXM.seed(seed=None)

Seed the generator

This method is called when LXM is initialized. It can be called again to re-Seed the generator For details, see LXM.

Parameters
seed{None, int, array_like[int], SeedSequence}, optional

Entropy initializing the pseudo-random number generator. Can be an integer in [0, 2**64), array of integers in [0, 2**64), a SeedSequence instance or None (the default). The input is passed to SeedSequence which produces the values used to initialize the state.

Raises
ValueError

If seed values are out of range for the PRNG.