r Bernoulli
Return
the random value
Parameters
p Success
the probability of success, must be in (0,1)
stream Num
the stream number from the stream provider to use
Return
the random value
Parameters
p Success
the probability of success, must be in (0,1)
stream
the random number stream