RNG

from acron.noise import RNG
class RNG(seed: int = 24301)

Bases: object

mulberry32 — tiny, fast, reproducible: one seeded stream per consumer.

A sequence, drawn one number at a time: Python’s unbounded ints masked to 32 bits are the whole algorithm. The package’s tests/test_noise.py pins the stream’s opening draws and holds two independently seeded streams to determinism.

Inheritance diagram

digraph inheritance317ce6d0c6 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "RNG" [URL="acron.noise.RNG.html#acron.noise.RNG",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="mulberry32 — tiny, fast, reproducible: one seeded stream per consumer."]; }