MixMaxRandom

class madspace.MixMaxRandom(*args, **kwargs)

Bases: pybind11_object

Reproducible 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

Overloaded function.

  1. __init__(self: madspace._madspace_py.MixMaxRandom) -> None

Non-deterministically seeded stream.

  1. __init__(self: madspace._madspace_py.MixMaxRandom, seed: typing.SupportsInt) -> None

Stream seeded directly from a raw 64-bit value.