-
Array2D: Filter: Description Class methods new fromArray Inherited class methods Instance methods at put colsDo rowsDo colAt rowAt asArray Inherited instance methods Undocumented instance methods add array cols do remove rows with Examples ...
-
Array2D two-dimensional array Inherits from: Collection Represents a two-dimensional array of data. The number of rows and columns is fixed. See also: Array Note: It is possible to implement a similar behaviour using an "array-of-arrays" - ...
-
... 4; // they follow the internal row/column numeration var <padInternalState; // array2d var <padFunction; // array of array2d var <padMode; // internal mode, array2d var <padHoldColor; // array2d var <padSwitchNumStates; // array2d var <pad ...
-
... Resonator1D.new,Resonator1D.new(101)]; this.connPointMatrix = connPointMatrix ? Array2D.fromArray(2,1,[0.5,0.5]); this.massMatrix = massMatrix ? Array2D.fromArray(2,1,[1,1]); this.excPointMatrix = excPointMatrix ? Array2D.fromArray(2,1,[0.2 ...
-
... hat form the basic building blocks of the resonator network. connPointMatrix An Array2D containing m rows and n columns, where m needs to be equal to the number of items in resonators and n is equal to the total number of object inter-conne ...
-
... ( var maxWidth=45, maxHeight = 45; var z=15, ready = false; var newValues=Array2D.new(maxWidth + 2, maxHeight + 2); var oldValues=Array2D.new(maxWidth + 2, maxHeight + 2); var beepers=Array2D.new(maxWidth + 1, maxHeight + 1); var g ...
-
... }); }); }; //initialize array and put on screen ( Routine{ ~tabel=Array2D(~maxIndex, ~maxIndex); for(0, ~maxIndex-1, { arg v; for(0, ~maxIndex-1, {arg h; ~tabel.put(v, h,0); }); }); {w.refresh}.defer; }.play;); ...
-
... ; ( var maxWidth=30, maxHeight = 30; var z=20, ready = false; var newValues=Array2D.new(maxWidth + 2, maxHeight + 2); var oldValues=Array2D.new(maxWidth + 2, maxHeight + 2); var go; /*There is a decreasing linear connection betwe ...
-
... ; ( var maxWidth=15, maxHeight = 15; var z=40, ready = false; var newValues=Array2D.new(maxWidth + 2, maxHeight + 2); var oldValues=Array2D.new(maxWidth + 2, maxHeight + 2); var go, total; /*There is a decreasing linear connectio ...
-
... rand(5)), doneAction: 2) ); Out.ar(0, sig); }).add.name; }); data = Array2D(dims[1],dims[0]); buttons = Array.fill(dims[1], { |l| Array.fill(dims[0], { |i| Button( w, Rect( 5 + (22*i), 5 + (22*l), 20, 20) ).states_([ ['-' ...