-
Ptuple combine a list of streams to a stream of lists superclass: ListPatterns Ptuple(list, repeats) list: an Array of Patterns repeats: an Integer or inf At each iteration, Ptuple returns a tuple (array) combining the output of each of the ...
-
... See PLx suite . A PLshufn stream keeps on choosing permutations for the current list. See PLshuf for keeping one permutation. Class Methods . new Creates a new PLshufn object. Arguments: list Symbol or Pshufn list arg. If a Symbol is passed ...
-
//redFrik RedToolsMenu { classvar <>list; *initClass { StartUp.add({ var files; //--list of tools in the format: [ [category, name], function, [category, name], function, ... ] list= List[ // ['redSys', 'RedDiskInPlayer'], { // RedDiskInPla ...
-
... s or strings. A function may be evaluated by passing it the value message and a list of arguments. When evaluated, the function returns the value of its expression. f = { arg a, b; a + b }; f.value(4, 5).postln; f.value(10, 200).postln; An ...
-
Pseq sequentially embed values in a list superclass: ListPattern cycles over a list of values. The repeats variable gives the number of times to repeat the entire list. Pseq(list, repeats, offset) ( var a, b; a = Pseq ([1, 2, 3], 2); // rep ...
-
... ing. // all the math operations here: SimpleNumber.help // Collections, Arrays, Lists, Dictionaries [ 1, 2, 3 ]; [ 1, 2, 3 ].dump; List[ 1, 2, 3 ]; (a: 1, b: 2, c: 3); ~list = [ 1, 2, 3, 5 ]; ~list.dump; ~list.at(0); // at index begins with ...
-
... .fill([8,8], {|i,j| j+(i*16) }); ) ( var path = { var dir = [1,0]; var list = List.new; var idx = [-1,0]; var size = 8; size.do { arg x; if(x==0, 1, 2).do { (size-x).do { idx = idx + dir; list.add(idx); } ...
-
... nd ([0.3, 0.2, 0.8], inf )\ ).play;\ \ )\ \ \ //______mutation \ (\ var string, list, pat;\ string = "ggaacgggtactattatttattataaccagggc" ;\ //mutation by replacing a single nuclein acid by another: \ //list = Array.fill(4, \ string = string ...
-
... ods docimethods privcmethods privimethods undoccmethods undocimethods makeMethodList redirect implKlass implements toJSON Inherited instance methods Undocumented instance methods oldHelp Classes | HelpSystem SCDocEntry : Object An SCDoc doc ...
-
... ion. See PLx suite . Class Methods . new Creates a new PLser object. Arguments: list Symbol or Pser list arg. If a Symbol is passed, list can be assigned to an envir variable later on. This lists's elements can be dynamically replaced by Pa ...