aboutsummaryrefslogtreecommitdiff
path: root/doc/mtx_find-help.pd
diff options
context:
space:
mode:
Diffstat (limited to 'doc/mtx_find-help.pd')
-rw-r--r--doc/mtx_find-help.pd54
1 files changed, 54 insertions, 0 deletions
diff --git a/doc/mtx_find-help.pd b/doc/mtx_find-help.pd
new file mode 100644
index 0000000..4cd835f
--- /dev/null
+++ b/doc/mtx_find-help.pd
@@ -0,0 +1,54 @@
+#N canvas 237 76 670 511 10;
+#X text 458 17 updated for;
+#X obj 546 17 iemmatrix 0.2;
+#X obj 595 43 matrix;
+#X text 465 42 see also help for;
+#X obj 41 208 t a a;
+#X text 504 412 see also:;
+#X text 89 15 [mtx_find];
+#X text 47 34 finding indices to nonzero matrix elements;
+#X obj 504 431 mtx_index;
+#X msg 41 181 matrix 1 5 0 1 0 1 0 0;
+#X obj 83 209 mtx_print original;
+#X obj 41 232 mtx_find;
+#X obj 41 258 mtx_print nonzero;
+#X text 33 60 you can use this e.g. in combination with logical conditions
+\; the result is a matrix \, if non-existent an empty matrix.;
+#X text 36 112 the matrix result is important when trying to find the
+first/last nonzero element in column or row direction \, it enables
+flexible use with [mtx_index].;
+#X msg 205 182 matrix 1 3 0 0 0;
+#X msg 281 206 2 3;
+#X obj 220 207 mtx_ones;
+#X obj 120 345 mtx_find col -1;
+#X obj 233 345 mtx_find col;
+#X obj 324 345 mtx_find row -1;
+#X obj 439 345 mtx_find row;
+#X obj 204 276 mtx_rand;
+#X msg 204 256 3 4;
+#X obj 204 315 t a a a a a;
+#X obj 288 314 mtx_print orig;
+#X obj 120 430 mtx_print last-in-col;
+#X obj 233 411 mtx_print first-in-col;
+#X obj 439 370 mtx_print first-in-col;
+#X obj 324 391 mtx_print last-in-row;
+#X obj 205 295 mtx_> 0.5;
+#X connect 4 0 11 0;
+#X connect 4 1 10 0;
+#X connect 9 0 4 0;
+#X connect 11 0 12 0;
+#X connect 15 0 4 0;
+#X connect 16 0 17 0;
+#X connect 17 0 4 0;
+#X connect 18 0 26 0;
+#X connect 19 0 27 0;
+#X connect 20 0 29 0;
+#X connect 21 0 28 0;
+#X connect 22 0 30 0;
+#X connect 23 0 22 0;
+#X connect 24 0 18 0;
+#X connect 24 1 19 0;
+#X connect 24 2 20 0;
+#X connect 24 3 21 0;
+#X connect 24 4 25 0;
+#X connect 30 0 24 0;