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_col_grid.pd | 53 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 abs/mtx_index_col_grid.pd (limited to 'abs/mtx_index_col_grid.pd') diff --git a/abs/mtx_index_col_grid.pd b/abs/mtx_index_col_grid.pd new file mode 100644 index 0000000..bc5140a --- /dev/null +++ b/abs/mtx_index_col_grid.pd @@ -0,0 +1,53 @@ +#N canvas 597 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 68 4 matrix; +#X obj 200 40 mtx_:; +#X obj 184 86 mtx; +#X obj 184 106 mtx_repmat; +#X obj 184 129 t a a; +#X obj 223 129 mtx_size; +#X obj 223 170 mtx_:; +#X obj 223 250 mtx_repmat; +#X obj 184 271 mtx_+; +#X obj 70 329 outlet; +#X text 293 98 slices out given; +#X text 310 142 writing them into; +#X text 318 165 a new matrix; +#X text 246 20 col_idcs; +#X text 302 120 columns of a matrix; +#X obj 100 81 t b f; +#X obj 223 190 mtx_transpose; +#X obj 223 210 mtx_- 1; +#X obj 223 230 mtx_* 1; +#X msg 274 149 1 \$1; +#X msg 249 84 \$1 1; +#X msg 223 150 1 \$1; +#X obj 70 305 mtx_index; +#X connect 0 0 1 0; +#X connect 1 0 26 0; +#X connect 1 1 2 0; +#X connect 2 0 19 0; +#X connect 2 1 22 1; +#X connect 3 0 5 0; +#X connect 5 0 6 1; +#X connect 6 0 7 0; +#X connect 7 0 8 0; +#X connect 8 0 12 0; +#X connect 8 1 9 0; +#X connect 9 0 25 0; +#X connect 9 1 23 0; +#X connect 10 0 20 0; +#X connect 11 0 12 1; +#X connect 12 0 26 1; +#X connect 19 0 6 0; +#X connect 19 1 24 0; +#X connect 20 0 21 0; +#X connect 21 0 22 0; +#X connect 22 0 11 0; +#X connect 23 0 11 1; +#X connect 24 0 7 1; +#X connect 25 0 10 0; +#X connect 26 0 13 0; -- cgit v1.2.1