XorshiftStarEngine.this

Constructs a XorshiftStarEngine generator seeded with x0.

  1. this()
  2. this(StateUInt x0)
    struct XorshiftStarEngine(StateUInt, uint nbits, int sa, int sb, int sc, StateUInt multiplier, OutputUInt = StateUInt)
    @safe pure nothrow @nogc
    this
    ()
    (
    StateUInt x0
    )
    if (
    isUnsigned!StateUInt &&
    isUnsigned!OutputUInt
    &&
    OutputUInt.sizeof <= StateUInt.sizeof
    &&
    !(
    sa > 0 &&
    sb > 0
    &&
    sc > 0
    )
    )

Meta