diff options
author | Franz Zotter <fzotter@users.sourceforge.net> | 2006-08-14 22:01:09 +0000 |
---|---|---|
committer | Franz Zotter <fzotter@users.sourceforge.net> | 2006-08-14 22:01:09 +0000 |
commit | a3ea64d424b5fff416cb49a02e6e1dd9353abc15 (patch) | |
tree | 5f697a6cb0f2ccec98c5ff2a9d22adc597313b7b /abs | |
parent | 2b886c9b5a2ef30cce29679dd8cbecdcdb17173b (diff) |
some corrections to the abstraction mtx_index2rowcol: index 0 shall result in row=0 and col=0
svn path=/trunk/externals/iem/iemmatrix/; revision=5599
Diffstat (limited to 'abs')
-rw-r--r-- | abs/mtx_index2rowcol.pd | 39 |
1 files changed, 23 insertions, 16 deletions
diff --git a/abs/mtx_index2rowcol.pd b/abs/mtx_index2rowcol.pd index 0b685bc..c15476e 100644 --- a/abs/mtx_index2rowcol.pd +++ b/abs/mtx_index2rowcol.pd @@ -1,11 +1,10 @@ #N canvas 304 424 484 300 10; -#X obj 141 13 inlet; -#X obj 141 212 outlet; +#X obj 87 17 inlet; +#X obj 87 247 outlet; #X obj 141 122 t a a; #X obj 141 167 mtx_int; -#X obj 208 211 outlet; -#X obj 141 190 mtx_+ 1; -#X obj 208 185 mtx_+ 1; +#X obj 208 242 outlet; +#X obj 208 216 mtx_+ 1; #X obj 141 100 mtx_- 1; #X text 260 58 column and row indices; #X obj 242 11 inlet; @@ -15,14 +14,22 @@ #X text 308 93 and given column size; #X obj 208 146 mtx_mod \$1; #X obj 141 146 mtx_./ \$1; -#X connect 0 0 7 0; -#X connect 2 0 15 0; -#X connect 2 1 14 0; -#X connect 3 0 5 0; -#X connect 5 0 1 0; -#X connect 6 0 4 0; -#X connect 7 0 2 0; -#X connect 9 0 15 1; -#X connect 9 0 14 1; -#X connect 14 0 6 0; -#X connect 15 0 3 0; +#X obj 87 213 mtx_.*; +#X obj 141 189 mtx_+ 1; +#X obj 87 40 t a a; +#X obj 87 100 mtx_> 0; +#X connect 0 0 17 0; +#X connect 2 0 14 0; +#X connect 2 1 13 0; +#X connect 3 0 16 0; +#X connect 5 0 4 0; +#X connect 6 0 2 0; +#X connect 8 0 14 1; +#X connect 8 0 13 1; +#X connect 13 0 5 0; +#X connect 14 0 3 0; +#X connect 15 0 1 0; +#X connect 16 0 15 1; +#X connect 17 0 18 0; +#X connect 17 1 6 0; +#X connect 18 0 15 0; |