default_rng#
- caput.algorithms.random.default_rng() numpy.random.Generator[source]#
Returns an instance of the default random number generator to use.
This creates a randomly seeded generator using the fast SFC64 bit generator underneath. This is only initialised on the first call, subsequent calls will return the same Generator.
- Returns:
- rng
Generator The default random number generator instance.
- rng