MixMaxRandom¶
- class madspace.MixMaxRandom(*args, **kwargs)¶
Bases:
pybind11_objectReproducible random number stream backed by the MIXMAX generator [1].
Used wherever madspace needs a CPU-side RNG stream outside the compute graph, for example while completing LHE events; see LHECompleter::complete_event_data. A DerivedSeed keys the stream to a specific call site so independent streams stay reproducible under a single top-level run seed.
References
[1] K. Savvidy, “The MIXMAX random number generator”, Comput. Phys. Commun. 196 (2015) 161, https://doi.org/10.1016/j.cpc.2015.06.003
Overloaded function.
__init__(self: madspace._madspace_py.MixMaxRandom) -> None
Non-deterministically seeded stream.
__init__(self: madspace._madspace_py.MixMaxRandom, seed: typing.SupportsInt) -> None
Stream seeded directly from a raw 64-bit value.