Bernoulli2Variable.opCall

Generates a Bernoulli-distributed boolean value using the given random number generator. (community summary)

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