Classes | Streams-Patterns-Events > Patterns > Random

Pcauchy : Pattern : AbstractFunction : Object

random values that follow a Cauchy Distribution

Class Methods

Pcauchy.new(mean: 0.0, spread: 1.0, length: inf)

Arguments:

mean

The mean of the distribution.

spread

The horizontal dispersion of the random values. The distribution is unbounded.

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

.spread

.spread = value

Examples