Bernoulli2Variable.opCall

Generates a random boolean value from a Bernoulli distribution using the supplied random number generator. (community summary)

  1. bool opCall(RNG gen)
    struct Bernoulli2Variable
    bool
    opCall
    (
    RNG
    )
    (
    scope ref RNG gen
    )
  2. bool opCall(RNG* gen)