PLmeanrand:
Filter:
miSCellaneous_lib/Classes (extension) | Libraries > miSCellaneous > PLx suite | Streams-Patterns-Events > PLx suite

PLmeanrand
ExtensionExtension

dynamic scope Pmeanrand variant

Description

Takes Symbol args for later reference by the Streams, which will read from variables in the Environments of their instantiation. See PLx_suite.

Class Methods

.new

Creates a new PLmeanrand object.

Arguments:

lo

Symbol or Pmeanrand lo arg. If a Symbol is passed, list can be assigned to an envir variable later on. Can be dynamically replaced by Patterns or Streams. Defaults to 0.

hi

Symbol or Pmeanrand hi arg. If a Symbol is passed, list can be assigned to an envir variable later on. Can be dynamically replaced by Patterns or Streams. Defaults to 1.

length

Symbol or Pmeanrand length arg. If a Symbol is passed, list can be assigned to an envir variable later on. Defaults to inf.

envir

Dictionary or one of the Symbols \top, \t (topEnvironment), \current, \c (currentEnvironment). Dictionary to be taken for variable reference. Defaults to \current.

Examples