LinearCongruentialEngine.this

Constructs a LinearCongruentialEngine generator seeded with x0.

  1. this()
  2. this(Uint x0)
    struct LinearCongruentialEngine(Uint, Uint a, Uint c, Uint m)
    @safe pure nothrow @nogc
    this
    (
    Uint x0
    )
    if (
    isUnsigned!Uint
    )

Parameters

x0 Uint

seed, must be positive if c equals to 0.

Meta