Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "random/streams/binomial/docs/types/index.d"

Index

Classes

Interfaces

Variables

Variables

randomStream

randomStream: Constructor

Returns a readable stream for generating a stream of pseudorandom numbers drawn from a binomial distribution.

param

number of trials

param

success probability

param

stream options

throws

n must be a positive integer

throws

p must be a probability

throws

must provide valid options

throws

must provide a valid state

returns

stream instance