diff options
author | Franz Zotter <fzotter@users.sourceforge.net> | 2006-08-09 16:21:16 +0000 |
---|---|---|
committer | Franz Zotter <fzotter@users.sourceforge.net> | 2006-08-09 16:21:16 +0000 |
commit | 5906c99acec28f3892e0571f6e731653fd6aab34 (patch) | |
tree | b0930991a180379d0ea3dc52fecb633eb523d516 /abs/mtx_rowcol2index.pd | |
parent | f08fb52aac042d9a01126a726d556bedb595bee1 (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_rowcol2index.pd')
-rw-r--r-- | abs/mtx_rowcol2index.pd | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/abs/mtx_rowcol2index.pd b/abs/mtx_rowcol2index.pd new file mode 100644 index 0000000..6eab201 --- /dev/null +++ b/abs/mtx_rowcol2index.pd @@ -0,0 +1,21 @@ +#N canvas 12 28 450 300 10; +#X obj 77 12 inlet; +#X obj 350 11 inlet; +#X text 293 10 columns; +#X text 118 13 row; +#X obj 146 13 inlet; +#X text 187 14 col; +#X obj 77 168 outlet; +#X obj 77 103 mtx_- 1; +#X obj 77 125 mtx_.* \$1; +#X obj 77 146 mtx_+; +#X text 270 98 calculates; +#X text 216 121 linear matrix indices; +#X text 223 145 from row and col indices; +#X text 232 169 and the column size; +#X connect 0 0 7 0; +#X connect 1 0 8 1; +#X connect 4 0 9 1; +#X connect 7 0 8 0; +#X connect 8 0 9 0; +#X connect 9 0 6 0; |