Prorate:
Filter:
Classes | Streams-Patterns-Events > Patterns > Math

Prorate : FilterPattern : Pattern : AbstractFunction : Object

divide stream proportionally

Class Methods

Prorate.new(proportion, pattern: 1)

Arguments:

proportion

a pattern that returns either numbers (divides the pattern into pairs) or arrays of size n which are used to split up the input into n parts.

pattern

a numerical pattern.

Inherited class methods

Instance Methods

Inherited instance methods

Undocumented instance methods

.embedInStream(inval)

.proportion

.proportion = value

Examples