nlcpy.random.default_rng

nlcpy.random.default_rng(seed=None)

Constructs a new nlcpy.random.Generator with the default BitGenerator (MT19937).

Parameters
seedNone or int or array_like[ints], optional

Note

When seed is omitted or None, a new BitGenerator and Generator will be instantiated each time. This function does not manage a default global instance.