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

Pmulp : Psetp : Pset : FilterPattern : Pattern : AbstractFunction : Object

multiply with each value of a pattern to value of a key in event stream

Description

Adds a value to a named value in an event pattern or stream until it ends. Repeats this with new values until the value stream ends.

Class Methods

Pmulp.new(name, value, pattern)

From superclass: Pset

Arguments:

name

the named value in the event pattern or stream to multiply.

value

The value, pattern, stream or array to multiply with. The resulting stream ends when this incoming stream ends.

pattern

The event pattern or stream within which to multiply the new values.

Inherited class methods

Instance Methods

Inherited instance methods

Undocumented instance methods

.filterEvent(event, val)

Examples