aboutsummaryrefslogtreecommitdiff
path: root/examples/mtx_binops.pd
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2004-07-21 16:56:50 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2004-07-21 16:56:50 +0000
commit7db848c580506314baedd28a7c001d137c2dffbe (patch)
tree1836cf6919555ba6339f9fbfb83e289ecb553edb /examples/mtx_binops.pd
parentcb55a7e77b61753c186dd7eaa635d3b98f9062d2 (diff)
updated documentation
svn path=/trunk/externals/zexy/; revision=1878
Diffstat (limited to 'examples/mtx_binops.pd')
-rw-r--r--examples/mtx_binops.pd40
1 files changed, 35 insertions, 5 deletions
diff --git a/examples/mtx_binops.pd b/examples/mtx_binops.pd
index 9c700f4..a0ae6d0 100644
--- a/examples/mtx_binops.pd
+++ b/examples/mtx_binops.pd
@@ -1,4 +1,4 @@
-#N canvas 95 74 802 673 10;
+#N canvas 79 32 859 673 10;
#X obj 87 360 mtx_mul;
#X obj 157 360 mtx_*;
#X obj 88 163 mtx_add;
@@ -13,7 +13,7 @@
#X obj 305 159 mtx_add 10;
#X msg 305 107 bang;
#X obj 305 186 mtx_print;
-#X floatatom 374 101 4 0 0;
+#X floatatom 374 101 4 0 0 0 - - -;
#X obj 374 119 t b f;
#X obj 392 160 mtx_+ 10;
#X text 371 161 ==;
@@ -26,7 +26,7 @@
#X obj 87 314 mtx_eye 3 2;
#X obj 249 399 mtx_print;
#X obj 249 292 t b f;
-#X floatatom 249 274 4 0 0;
+#X floatatom 249 274 4 0 0 0 - - -;
#X msg 249 315 4 2 1 3;
#X obj 249 335 mtx_diag;
#X obj 249 363 mtx_mul 2;
@@ -49,7 +49,7 @@
#X text 334 19 matrix arithmetic;
#X obj 88 599 mtx_print;
#X obj 88 492 t b f;
-#X floatatom 88 474 4 0 0;
+#X floatatom 88 474 4 0 0 0 - - -;
#X msg 88 515 4 2 1 3;
#X obj 88 535 mtx_diag;
#X obj 323 600 mtx_print;
@@ -61,9 +61,27 @@
#X obj 323 565 mtx_./;
#X text 307 624 divide 2 matrices element by element;
#X obj 323 482 t b b f;
-#X floatatom 323 463 4 0 0;
+#X floatatom 323 463 4 0 0 0 - - -;
#X obj 709 538 matrix;
#X text 592 538 see also help for;
+#X obj 550 141 mtx_diag 1 2 3 4 5;
+#X obj 483 141 mtx_ones 5;
+#X obj 483 118 t b b;
+#X obj 483 192 mtx_print;
+#X msg 483 99 bang;
+#X text 537 172 ==;
+#X obj 700 141 mtx_eye 4;
+#X msg 700 114 bang;
+#X obj 700 193 mtx_print;
+#X floatatom 769 108 4 0 0 0 - - -;
+#X obj 769 126 t b f;
+#X text 762 168 ==;
+#X obj 483 170 mtx_sub;
+#X obj 562 173 mtx_-;
+#X obj 779 169 mtx_sub 10;
+#X obj 700 166 mtx_- 10;
+#X text 481 221 subtract 2 matrices;
+#X text 669 225 subtract an offset from a matrix;
#X connect 0 0 18 0;
#X connect 2 0 7 0;
#X connect 4 0 2 1;
@@ -110,3 +128,15 @@
#X connect 61 1 55 0;
#X connect 61 2 56 1;
#X connect 62 0 61 0;
+#X connect 65 0 77 1;
+#X connect 66 0 77 0;
+#X connect 67 0 66 0;
+#X connect 67 1 65 0;
+#X connect 69 0 67 0;
+#X connect 71 0 80 0;
+#X connect 72 0 71 0;
+#X connect 74 0 75 0;
+#X connect 75 0 71 0;
+#X connect 75 1 80 1;
+#X connect 77 0 68 0;
+#X connect 80 0 73 0;