A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://bashtage.github.io/randomgen/devel/bit_generators/generated/randomgen.pcg64.PCG64.seed.html below:

randomgen.pcg64.PCG64.seed - RandomGen v2.1.2 (+4)

randomgen.pcg64.PCG64.seed
PCG64.seed(seed=None, inc=0)

Seed the generator

This method is called at initialization. It can be called again to re-Seed the generator

Parameters:
seed=None

Random seed initializing the pseudo-random number generator. Can be an integer in [0, 2**128), a SeedSequence instance or None (the default). If seed is None, then PCG64 will try to read data from /dev/urandom (or the Windows analog) if available. If unavailable, a 64-bit hash of the time and process ID is used.

inc=0

The increment in the LCG. Can be an integer in [0, 2**128) or None. If inc is None, then it is initialized using entropy. The default is None if seed is None, else 0.

Raises:

ValueError – If seed values are out of range for the PRNG.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4