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_row_grid.pd | 56 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 abs/mtx_index_row_grid.pd (limited to 'abs/mtx_index_row_grid.pd') diff --git a/abs/mtx_index_row_grid.pd b/abs/mtx_index_row_grid.pd new file mode 100644 index 0000000..8d83dad --- /dev/null +++ b/abs/mtx_index_row_grid.pd @@ -0,0 +1,56 @@ +#N canvas 116 0 450 388 10; +#X obj 70 20 inlet; +#X obj 70 41 t a a; +#X obj 100 61 mtx_size; +#X obj 200 20 inlet; +#X text 246 20 row_idcs; +#X text 113 21 matrix; +#X obj 200 40 mtx_:; +#X obj 200 78 mtx_- 1; +#X obj 184 100 mtx; +#X obj 184 120 mtx_* 1; +#X obj 184 140 mtx_repmat; +#X msg 249 118 1 \$1; +#X obj 200 59 mtx_transpose; +#X obj 184 159 t a a; +#X obj 223 159 mtx_size; +#X obj 223 218 mtx_:; +#X obj 223 238 mtx_repmat; +#X obj 223 198 pack 1 f; +#X obj 222 178 t b f; +#X msg 262 178 \$1 1; +#X obj 151 81 t b f; +#X obj 184 266 mtx_+; +#X obj 70 304 mtx_index; +#X obj 70 328 outlet; +#X text 293 98 slices out given; +#X text 302 120 rows of a matrix; +#X text 310 142 writing them into; +#X text 318 165 a new matrix; +#X connect 0 0 1 0; +#X connect 1 0 22 0; +#X connect 1 1 2 0; +#X connect 2 1 20 0; +#X connect 3 0 6 0; +#X connect 6 0 12 0; +#X connect 7 0 8 1; +#X connect 8 0 9 0; +#X connect 9 0 10 0; +#X connect 10 0 13 0; +#X connect 11 0 10 1; +#X connect 12 0 7 0; +#X connect 13 0 21 0; +#X connect 13 1 14 0; +#X connect 14 0 18 0; +#X connect 14 1 17 1; +#X connect 15 0 16 0; +#X connect 16 0 21 1; +#X connect 17 0 15 0; +#X connect 18 0 17 0; +#X connect 18 1 19 0; +#X connect 19 0 16 1; +#X connect 20 0 8 0; +#X connect 20 1 11 0; +#X connect 20 1 9 1; +#X connect 21 0 22 1; +#X connect 22 0 23 0; -- cgit v1.2.1