From e1a8039ec9fb3ca4db8b197069425b99ef48a941 Mon Sep 17 00:00:00 2001 From: Franz Zotter Date: Thu, 17 Aug 2006 09:21:51 +0000 Subject: added indexing abstractions for row and column indices. svn path=/trunk/externals/iem/iemmatrix/; revision=5638 --- abs/mtx_index_rowcol_grid.pd | 56 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 abs/mtx_index_rowcol_grid.pd (limited to 'abs/mtx_index_rowcol_grid.pd') diff --git a/abs/mtx_index_rowcol_grid.pd b/abs/mtx_index_rowcol_grid.pd new file mode 100644 index 0000000..3daef60 --- /dev/null +++ b/abs/mtx_index_rowcol_grid.pd @@ -0,0 +1,56 @@ +#N canvas -44 0 575 378 10; +#X obj 257 20 inlet; +#X text 303 20 row_idcs; +#X obj 257 40 mtx_:; +#X obj 257 78 mtx_- 1; +#X obj 241 159 mtx; +#X obj 241 179 mtx_* 1; +#X obj 241 199 mtx_repmat; +#X msg 306 177 1 \$1; +#X obj 257 59 mtx_transpose; +#X obj 383 20 inlet; +#X obj 383 40 mtx_:; +#X obj 128 182 mtx; +#X obj 128 203 mtx_repmat; +#X text 429 20 col_idcs; +#X msg 193 180 \$1 1; +#X obj 70 20 inlet; +#X text 68 4 matrix; +#X obj 128 283 mtx_+; +#X obj 70 329 outlet; +#X obj 70 305 mtx_index; +#X text 358 98 slices out given; +#X text 360 124 matrix rows and columns; +#X text 356 153 at the given row and col; +#X text 356 179 grid indices; +#X obj 383 63 mtx_size; +#X obj 257 99 mtx_size; +#X obj 70 63 t a a; +#X obj 100 89 mtx_size; +#X obj 151 110 t b b f; +#X connect 0 0 2 0; +#X connect 2 0 8 0; +#X connect 3 0 25 0; +#X connect 3 0 4 1; +#X connect 4 0 5 0; +#X connect 5 0 6 0; +#X connect 6 0 17 1; +#X connect 7 0 6 1; +#X connect 8 0 3 0; +#X connect 9 0 10 0; +#X connect 10 0 11 1; +#X connect 10 0 24 0; +#X connect 11 0 12 0; +#X connect 12 0 17 0; +#X connect 14 0 12 1; +#X connect 15 0 26 0; +#X connect 17 0 19 1; +#X connect 19 0 18 0; +#X connect 24 0 7 0; +#X connect 25 0 14 0; +#X connect 26 0 19 0; +#X connect 26 1 27 0; +#X connect 27 1 28 0; +#X connect 28 0 11 0; +#X connect 28 1 4 0; +#X connect 28 2 5 1; -- cgit v1.2.1