Returns a readable stream for generating a stream of pseudorandom numbers drawn from a negative binomial distribution.
number of successes until experiment is stopped
success probability
stream options
r must be a positive number
r
p must be a probability
p
must provide valid options
must provide a valid state
stream instance
Returns a readable stream for generating a stream of pseudorandom numbers drawn from a negative binomial distribution.
number of successes until experiment is stopped
success probability
stream options
r
must be a positive numberp
must be a probabilitymust provide valid options
must provide a valid state
stream instance