The OpenD Programming Language

SplitMixEngine.seed

Compatibility with Phobos library methods. Presents this RNG as an InputRange.

  1. void seed(ulong x0)
    struct SplitMixEngine(alias mixer, bool split_enabled = false, OptionalArgs...)
    @nogc nothrow pure @safe
    void
    seed
    ()
    (
    ulong x0
    )
    if (
    (
    __traits(compiles, ) ||
    __traits(compiles, )
    )
    &&
    (
    OptionalArgs.length < 1 ||
    (
    is(typeof(OptionalArgs[1]) == ulong) &&
    OptionalArgs[1] != DEFAULT_SPLITMIX_INCREMENT
    )
    )
    &&
    OptionalArgs.length < 2
    )
  2. void seed(ulong x0)
  3. void seed(ulong x0, ulong increment)

Meta