diff options
author | Franz Zotter <fzotter@users.sourceforge.net> | 2006-08-17 09:21:51 +0000 |
---|---|---|
committer | Franz Zotter <fzotter@users.sourceforge.net> | 2006-08-17 09:21:51 +0000 |
commit | e1a8039ec9fb3ca4db8b197069425b99ef48a941 (patch) | |
tree | 0ab897465a0c2a38c466d3e77bd01b89f3fbcec3 /abs/mtx_index2rowcol-help.pd | |
parent | a3ea64d424b5fff416cb49a02e6e1dd9353abc15 (diff) |
added indexing abstractions for row and column indices.
svn path=/trunk/externals/iem/iemmatrix/; revision=5638
Diffstat (limited to 'abs/mtx_index2rowcol-help.pd')
-rw-r--r-- | abs/mtx_index2rowcol-help.pd | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/abs/mtx_index2rowcol-help.pd b/abs/mtx_index2rowcol-help.pd new file mode 100644 index 0000000..a97304d --- /dev/null +++ b/abs/mtx_index2rowcol-help.pd @@ -0,0 +1,34 @@ +#N canvas 83 338 841 379 10; +#X obj 152 214 mtx_print A; +#X msg 33 88 bang; +#X text 482 28 part of iemmatrix; +#X text 43 34 [mtx_index2rowcol]; +#X text 166 69 calculate the row and column indices w.r.t. the linear +matrix indices used by the standard objects (e.g. mtx_find \, mtx_index +\, mtx_fill \, ...); +#X text 268 138 inletA: matrix/vector containing linear indices of +a matrix; +#X text 268 158 inletB: integer describing the number of columns of +the indexed matrix; +#X text 267 190 outleA: matrix containing row indices; +#X text 269 209 outletB: matrix containing col indices; +#X obj 33 242 mtx_index2rowcol; +#X msg 33 112 matrix 2 3 1 1 1 1 1 1; +#X obj 33 163 mtx_find; +#X obj 156 160 print B; +#X obj 90 133 mtx_size; +#X obj 33 132 t a a; +#X obj 33 184 t a a; +#X obj 33 267 mtx_print row; +#X obj 140 266 mtx_print col; +#X connect 1 0 10 0; +#X connect 9 0 16 0; +#X connect 9 1 17 0; +#X connect 10 0 14 0; +#X connect 11 0 15 0; +#X connect 13 1 12 0; +#X connect 13 1 9 1; +#X connect 14 0 11 0; +#X connect 14 1 13 0; +#X connect 15 0 9 0; +#X connect 15 1 0 0; |