aboutsummaryrefslogtreecommitdiff
path: root/theMatrix-help.pd
diff options
context:
space:
mode:
Diffstat (limited to 'theMatrix-help.pd')
-rw-r--r--theMatrix-help.pd78
1 files changed, 78 insertions, 0 deletions
diff --git a/theMatrix-help.pd b/theMatrix-help.pd
new file mode 100644
index 0000000..7560bbd
--- /dev/null
+++ b/theMatrix-help.pd
@@ -0,0 +1,78 @@
+#N canvas 91 24 880 686 10;
+#X msg 182 186 dump;
+#X floatatom 142 535 5 0 0 0 - - -;
+#X floatatom 187 508 5 0 0 0 - - -;
+#X msg 107 101 create 10 10;
+#X msg 127 132 create 10 10 -1;
+#X msg 149 161 create 3 3 1;
+#X text 188 101 Creates a 10x10 matrix filled with zeros;
+#X text 228 161 Creates a 3x3 matrix filled with 1s;
+#X text 226 131 Creates a 10x10 matrix filled with -1s;
+#X text 224 183 Dumps the matrix out the 3rd outlet;
+#X text 318 249 Sets the matrix;
+#X msg 37 29 print;
+#X text 84 28 Prints the matrix;
+#X obj 110 561 print dump;
+#X msg 271 354 copy;
+#X msg 273 384 paste;
+#X msg 548 102 print;
+#X msg 691 97 print;
+#X text 276 218 Resizes a matrix to 5x3. Fills the NEW elements with
+zeros;
+#X text 308 353 Copies the whole matrix in a buffer;
+#X text 316 386 Pastes a buffered matrix into the start of the target
+matrix;
+#X text 343 405 Dumps the rows 4 through 6 out the second outlet;
+#X text 347 426 Dumps the columns 9 through 10 out the second outlet
+;
+#X msg 231 282 element 1 1 100;
+#X text 341 280 Sets element 1x1 to the value 100;
+#X msg 244 304 element 1 1;
+#X text 326 304 Gets the value of element 1x1;
+#X msg 250 325 row 3;
+#X msg 302 325 col 2;
+#X text 344 327 Gets the whole row or column;
+#X msg 196 248 matrix 2 2 1 2 3 4;
+#X obj 51 487 mtl/theMatrix 10 10;
+#X msg 196 217 resize 5 3;
+#X obj 49 621 print element/row/col;
+#X obj 75 592 print rows/cols;
+#X text 179 535 row size;
+#X text 220 508 col size;
+#X msg 276 406 rows 1 2;
+#X msg 275 428 cols 2 3;
+#X msg 70 65 random 10 10;
+#X text 154 66 Creates a 10x10 matrix fulled with random values;
+#X text 303 466 The copy and paste buffer is common to all mtl/theMatrix
+abstractions (you can copy and paste between the abstractions as long
+as the mtl/theMatrix from which you copied still exists).;
+#X text 156 -33 description: a do a lot matrix abstraction.;
+#X text 158 -13 tags: data math;
+#X obj 691 129 mtl/theMatrix 3 3 -2;
+#X obj 548 130 mtl/theMatrix 2 2;
+#X text 501 49 By default \, the matrix is of size 1 1 You can change
+it's initial size with creation arguments (rows cols initial_value).
+;
+#X connect 0 0 31 0;
+#X connect 3 0 31 0;
+#X connect 4 0 31 0;
+#X connect 5 0 31 0;
+#X connect 11 0 31 0;
+#X connect 14 0 31 0;
+#X connect 15 0 31 0;
+#X connect 16 0 45 0;
+#X connect 17 0 44 0;
+#X connect 23 0 31 0;
+#X connect 25 0 31 0;
+#X connect 27 0 31 0;
+#X connect 28 0 31 0;
+#X connect 30 0 31 0;
+#X connect 31 0 33 0;
+#X connect 31 1 34 0;
+#X connect 31 2 13 0;
+#X connect 31 3 1 0;
+#X connect 31 4 2 0;
+#X connect 32 0 31 0;
+#X connect 37 0 31 0;
+#X connect 38 0 31 0;
+#X connect 39 0 31 0;