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_find_rowcol.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_find_rowcol.pd')
-rw-r--r-- | abs/mtx_find_rowcol.pd | 19 |
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; |