Classes | Streams-Patterns-Events > Patterns > Random

Ppoisson : Pattern : AbstractFunction : Object

random values that follow a Poisson Distribution (positive integer values)

Class Methods

Ppoisson.new(mean: 1, length: inf)

Arguments:

mean

The mean of the distribution.

length

Number of values produced.

Inherited class methods

6 methods from Object ► show

Instance Methods

Inherited instance methods

43 methods from Pattern ► show
159 methods from AbstractFunction ► show
260 methods from Object ► show

Undocumented instance methods

.embedInStream(inval)

.length

.length = value

.mean

.mean = value

Examples