MCPcopy Create free account
hub / github.com/TheAlgorithms/Rust / advance

Method advance

src/math/random.rs:56–71  ·  view source on GitHub ↗

Advance the PCG by `delta` steps in O(lg(`delta`)) time. By passing a negative i64 as u64, it can go back too.

(&mut self, mut delta: u64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

no_birthdayFunction · 0.80

Calls

no outgoing calls

Tested by 1

no_birthdayFunction · 0.64