aboutsummaryrefslogtreecommitdiff
path: root/abs/mtx_find_rowcol.pd
diff options
context:
space:
mode:
Diffstat (limited to 'abs/mtx_find_rowcol.pd')
-rw-r--r--abs/mtx_find_rowcol.pd19
1 files changed, 19 insertions, 0 deletions
diff --git a/abs/mtx_find_rowcol.pd b/abs/mtx_find_rowcol.pd
new file mode 100644
index 0000000..7c96e1e
--- /dev/null
+++ b/abs/mtx_find_rowcol.pd
@@ -0,0 +1,19 @@
+#N canvas 0 0 450 300 10;
+#X obj 141 13 inlet;
+#X obj 141 212 outlet;
+#X obj 141 35 t a a;
+#X obj 171 56 mtx_size;
+#X obj 141 76 mtx_find;
+#X obj 248 212 outlet;
+#X text 280 74 comment;
+#X text 256 27 finds the non-zero;
+#X text 260 58 column and row indices;
+#X text 308 89 of a matrix;
+#X obj 141 111 mtx_index2rowcol;
+#X connect 0 0 2 0;
+#X connect 2 0 4 0;
+#X connect 2 1 3 0;
+#X connect 3 1 10 1;
+#X connect 4 0 10 0;
+#X connect 10 0 1 0;
+#X connect 10 1 5 0;