aboutsummaryrefslogtreecommitdiff
path: root/abs/mtx_mod.pd
diff options
context:
space:
mode:
authorFranz Zotter <fzotter@users.sourceforge.net>2006-08-09 16:21:16 +0000
committerFranz Zotter <fzotter@users.sourceforge.net>2006-08-09 16:21:16 +0000
commit5906c99acec28f3892e0571f6e731653fd6aab34 (patch)
treeb0930991a180379d0ea3dc52fecb633eb523d516 /abs/mtx_mod.pd
parentf08fb52aac042d9a01126a726d556bedb595bee1 (diff)
added some useful abstractions:
...rowcol... indexing vectors/matrices can be converted to row and column indexing vectors/matrices. mtx_find_rowcol ... finding nonzero row and column indices of a matrix mtx_mod.pd ... modulo operator using division and rounding. svn path=/trunk/externals/iem/iemmatrix/; revision=5539
Diffstat (limited to 'abs/mtx_mod.pd')
-rw-r--r--abs/mtx_mod.pd19
1 files changed, 19 insertions, 0 deletions
diff --git a/abs/mtx_mod.pd b/abs/mtx_mod.pd
new file mode 100644
index 0000000..940eb8f
--- /dev/null
+++ b/abs/mtx_mod.pd
@@ -0,0 +1,19 @@
+#N canvas 0 0 450 300 10;
+#X obj 162 18 inlet;
+#X obj 162 217 outlet;
+#X obj 240 18 inlet;
+#X obj 162 69 mtx_./ \$1;
+#X obj 162 93 t a a;
+#X obj 200 115 mtx_int;
+#X obj 162 141 mtx_-;
+#X obj 162 164 mtx_* \$1;
+#X text 48 9 matrix modulo;
+#X connect 0 0 3 0;
+#X connect 2 0 3 1;
+#X connect 2 0 7 1;
+#X connect 3 0 4 0;
+#X connect 4 0 6 0;
+#X connect 4 1 5 0;
+#X connect 5 0 6 1;
+#X connect 6 0 7 0;
+#X connect 7 0 1 0;