Pbeta:
Filter:
Classes | Streams-Patterns-Events > Patterns > Random

Pbeta : Pattern : AbstractFunction : Object

random values that follow a Eulerian Beta Distribution

Class Methods

Pbeta.new(lo: 0.0, hi: 1.0, prob1: 1, prob2: 1, length: inf)

Arguments:

lo

lower boundary of values.

hi

upper boundary of values.

prob1

The probability that a value will occur near lo. <1, probability of a value near lo increases. =1, uniform dist. >1 will create a bounded Gaussian-like distribution.

prob2

The probability that a value will occur near hi. <1, probability of a value near lo increases. =1, uniform dist. >1 will create a bounded Gaussian-like distribution.

length

number of values produced (default: inf).

Inherited class methods

Instance Methods

Inherited instance methods

Undocumented instance methods

.embedInStream(inval)

.hi

.hi = value

.length

.length = value

.lo

.lo = value

.prob1

.prob1 = value

.prob2

.prob2 = value

Examples