A RetroSearch Logo

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

Search Query:

Showing content from https://numpy.org/devdocs/reference/random/bit_generators/generated/numpy.random.PCG64.advance.html below:

numpy.random.PCG64.advance — NumPy v2.4.dev0 Manual

numpy.random.PCG64.advance#

method

random.PCG64.advance(delta)#

Advance the underlying RNG as-if delta draws have occurred.

Parameters:
deltainteger, positive

Number of draws to advance the RNG. Must be less than the size state variable in the underlying RNG.

Returns:
selfPCG64

RNG advanced delta steps

Notes

Advancing a RNG updates the underlying RNG state as-if a given number of calls to the underlying RNG have been made. In general there is not a one-to-one relationship between the number output random values from a particular distribution and the number of draws from the core RNG. This occurs for two reasons:

Advancing the RNG state resets any pre-computed random numbers. This is required to ensure exact reproducibility.


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