Update of /cvsroot/pure-data/externals/iem/iemmatrix/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2483
Modified Files: mtx_element-help.pd mtx_inverse-help.pd mtx_mean-help.pd mtx_reverse-help.pd mtx_sum-help.pd Added Files: mtx_concat-help.pd mtx_prod-help.pd mtx_repmat-help.pd Log Message: updated and new help-patches
--- NEW FILE: mtx_concat-help.pd --- #N canvas 27 49 670 511 10; #X text 458 17 updated for; #X obj 546 17 iemmatrix 0.2; #X obj 595 43 matrix; #X text 465 42 see also help for; #X obj 12 189 t a a; #X msg 12 124 bang; #X msg 265 390 mode row; #X msg 265 364 mode column; #X msg 352 363 mode col; #X msg 418 363 mode :; #X obj 263 416 t a; #X text 90 15 [mtx_concat]; #X text 47 34 concatenate 2 matrices; #X obj 12 166 mtx_ones 3 4; #X obj 12 146 t b b; #X obj 20 211 mtx_print left; #X text 471 363 concat columns (default); #X text 476 389 concat rows; #X obj 12 249 mtx_concat; #X obj 12 277 mtx_print col-concat; #X obj 123 191 t a a; #X obj 123 168 mtx_zeros 5 4; #X obj 131 213 mtx_print right; #X obj 313 190 t a a; #X msg 313 125 bang; #X obj 313 147 t b b; #X obj 321 212 mtx_print left; #X obj 424 192 t a a; #X obj 432 214 mtx_print right; #X obj 313 250 mtx_concat row; #X obj 313 167 mtx_ones 2 2; #X obj 424 169 mtx_zeros 2 3; #X obj 17 379 t a a; #X msg 17 318 bang; #X obj 17 340 t b b; #X obj 25 396 mtx_print left; #X obj 17 443 mtx_concat; #X obj 128 379 t a a; #X obj 136 396 mtx_print right; #X obj 17 481 mtx_print concat; #X obj 313 278 mtx_print row-concat; #X obj 17 360 mtx_ones 2 2; #X obj 128 360 mtx_zeros 2 2; #X text 8 60 you can concatenate 2 matrices either row-wise or column-wise ; if you concatenate them in "column"-mode (default) , the 2 matrices must have the same number of columns and vice versa in "row"-mode. ; #X connect 4 0 18 0; #X connect 4 1 15 0; #X connect 5 0 14 0; #X connect 6 0 10 0; #X connect 7 0 10 0; #X connect 8 0 10 0; #X connect 9 0 10 0; #X connect 10 0 36 0; #X connect 13 0 4 0; #X connect 14 0 13 0; #X connect 14 1 21 0; #X connect 18 0 19 0; #X connect 20 0 18 1; #X connect 20 1 22 0; #X connect 21 0 20 0; #X connect 23 0 29 0; #X connect 23 1 26 0; #X connect 24 0 25 0; #X connect 25 0 30 0; #X connect 25 1 31 0; #X connect 27 0 29 1; #X connect 27 1 28 0; #X connect 29 0 40 0; #X connect 30 0 23 0; #X connect 31 0 27 0; #X connect 32 0 36 0; #X connect 32 1 35 0; #X connect 33 0 34 0; #X connect 34 0 41 0; #X connect 34 1 42 0; #X connect 36 0 39 0; #X connect 37 0 36 1; #X connect 37 1 38 0; #X connect 41 0 32 0; #X connect 42 0 37 0;
Index: mtx_element-help.pd =================================================================== RCS file: /cvsroot/pure-data/externals/iem/iemmatrix/doc/mtx_element-help.pd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mtx_element-help.pd 28 Mar 2006 13:11:25 -0000 1.1 --- mtx_element-help.pd 29 Mar 2006 14:21:28 -0000 1.2 *************** *** 6,10 **** #X obj 413 76 mtx_row; #X obj 413 96 mtx_col; - #X text 19 9 get/set elements of a matrix; #X obj 53 302 mtx_print; #X obj 53 283 mtx_element 4 3; --- 6,9 ---- *************** *** 24,33 **** #X text 52 133 set matrix elements; #X text 200 237 set all elements of matrix (default!); #X connect 8 0 7 0; #X connect 9 0 8 0; ! #X connect 10 0 9 0; ! #X connect 11 0 8 0; ! #X connect 12 0 8 1; ! #X connect 13 0 8 1; ! #X connect 14 0 8 1; ! #X connect 15 0 8 1; --- 23,33 ---- #X text 52 133 set matrix elements; #X text 200 237 set all elements of matrix (default!); + #X text 19 9 set elements of a matrix; + #X connect 7 0 6 0; #X connect 8 0 7 0; #X connect 9 0 8 0; ! #X connect 10 0 7 0; ! #X connect 11 0 7 1; ! #X connect 12 0 7 1; ! #X connect 13 0 7 1; ! #X connect 14 0 7 1;
Index: mtx_reverse-help.pd =================================================================== RCS file: /cvsroot/pure-data/externals/iem/iemmatrix/doc/mtx_reverse-help.pd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mtx_reverse-help.pd 29 Mar 2006 12:39:04 -0000 1.1 --- mtx_reverse-help.pd 29 Mar 2006 14:21:28 -0000 1.2 *************** *** 4,8 **** #X obj 595 43 matrix; #X text 465 42 see also help for; - #X text 90 15 [mtx_transpose]; #X obj 42 139 t a a; #X obj 84 140 mtx_print org; --- 4,7 ---- *************** *** 26,39 **** ; #X obj 491 310 mtx_reverse row; ! #X connect 5 0 7 0; ! #X connect 5 1 6 0; ! #X connect 7 0 11 0; ! #X connect 8 0 5 0; ! #X connect 9 0 8 0; ! #X connect 12 0 16 0; ! #X connect 13 0 16 0; ! #X connect 14 0 16 0; ! #X connect 15 0 16 0; ! #X connect 16 0 7 0; ! #X connect 18 0 16 0; ! #X connect 19 0 16 0; --- 25,39 ---- ; #X obj 491 310 mtx_reverse row; ! #X text 90 15 [mtx_reverse]; ! #X connect 4 0 6 0; ! #X connect 4 1 5 0; ! #X connect 6 0 10 0; ! #X connect 7 0 4 0; ! #X connect 8 0 7 0; ! #X connect 11 0 15 0; ! #X connect 12 0 15 0; ! #X connect 13 0 15 0; ! #X connect 14 0 15 0; ! #X connect 15 0 6 0; ! #X connect 17 0 15 0; ! #X connect 18 0 15 0;
Index: mtx_sum-help.pd =================================================================== RCS file: /cvsroot/pure-data/externals/iem/iemmatrix/doc/mtx_sum-help.pd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mtx_sum-help.pd 28 Mar 2006 13:11:25 -0000 1.1 --- mtx_sum-help.pd 29 Mar 2006 14:21:28 -0000 1.2 *************** *** 1,19 **** #N canvas 128 118 680 254 10; ! #X text 263 126 updated for; ! #X obj 351 126 iemmatrix 0.2; ! #X obj 400 152 matrix; ! #X text 270 151 see also help for; #X obj 48 100 mtx 3 3; #X obj 48 131 t a a; #X msg 48 80 0 1 -2 -3 -4 5 -6 7 8; #X obj 48 164 mtx_sum; - #X obj 48 192 print sum; #X obj 91 132 mtx_print; #X text 136 10 sum columns of matrix; #X text 45 42 compute the column-wise sum of a matrix (result is a list of sums); #X connect 4 0 5 0; #X connect 5 0 7 0; ! #X connect 5 1 9 0; #X connect 6 0 4 0; ! #X connect 7 0 8 0; --- 1,25 ---- #N canvas 128 118 680 254 10; ! #X text 459 169 updated for; ! #X obj 547 169 iemmatrix 0.2; ! #X obj 596 195 matrix; ! #X text 466 194 see also help for; #X obj 48 100 mtx 3 3; #X obj 48 131 t a a; #X msg 48 80 0 1 -2 -3 -4 5 -6 7 8; #X obj 48 164 mtx_sum; #X obj 91 132 mtx_print; #X text 136 10 sum columns of matrix; #X text 45 42 compute the column-wise sum of a matrix (result is a list of sums); + #X obj 262 151 mtx_sum; + #X msg 262 129 1 1 2; + #X floatatom 262 178 5 0 0 0 - - -; + #X obj 48 186 print sum; + #X text 262 107 can also be used for summing up lists; #X connect 4 0 5 0; #X connect 5 0 7 0; ! #X connect 5 1 8 0; #X connect 6 0 4 0; ! #X connect 7 0 14 0; ! #X connect 11 0 13 0; ! #X connect 12 0 11 0;
Index: mtx_mean-help.pd =================================================================== RCS file: /cvsroot/pure-data/externals/iem/iemmatrix/doc/mtx_mean-help.pd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mtx_mean-help.pd 28 Mar 2006 13:11:25 -0000 1.1 --- mtx_mean-help.pd 29 Mar 2006 14:21:28 -0000 1.2 *************** *** 8,18 **** #X obj 57 106 mtx_rand; #X msg 57 82 4 5; - #X text 55 259 get the mean value of each column; #X obj 57 127 t a a; #X obj 87 148 mtx_print org; #X text 56 11 mean values of a matrix; #X connect 4 0 5 0; ! #X connect 6 0 9 0; #X connect 7 0 6 0; ! #X connect 9 0 4 0; ! #X connect 9 1 10 0; --- 8,18 ---- #X obj 57 106 mtx_rand; #X msg 57 82 4 5; #X obj 57 127 t a a; #X obj 87 148 mtx_print org; #X text 56 11 mean values of a matrix; + #X text 55 259 get the list(!) mean value of each column; #X connect 4 0 5 0; ! #X connect 6 0 8 0; #X connect 7 0 6 0; ! #X connect 8 0 4 0; ! #X connect 8 1 9 0;
Index: mtx_inverse-help.pd =================================================================== RCS file: /cvsroot/pure-data/externals/iem/iemmatrix/doc/mtx_inverse-help.pd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mtx_inverse-help.pd 28 Mar 2006 13:11:25 -0000 1.1 --- mtx_inverse-help.pd 29 Mar 2006 14:21:28 -0000 1.2 *************** *** 32,35 **** --- 32,36 ---- #X obj 181 358 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; + #X text 199 359 instability detected!; #X connect 16 0 21 0; #X connect 16 1 28 0;
--- NEW FILE: mtx_repmat-help.pd --- #N canvas -18 184 715 302 10; #X text 458 17 updated for; #X obj 546 17 iemmatrix 0.2; #X obj 595 43 matrix; #X text 465 42 see also help for; #X obj 42 139 t a a; #X obj 84 140 mtx_print org; #X msg 42 94 bang; #X text 90 15 [mtx_repmat]; #X text 108 35 repeat a matrix into a meta-matrix; #X obj 42 257 mtx_print repeated; #X obj 42 229 mtx_repmat 2 2; #X obj 42 116 mtx_egg 3 4; #X msg 209 127 1 2; #X obj 209 199 t b l; #X msg 225 151 3 1; #X text 246 126 repeat incoming matrix 1*vertically and 2*horizontally ; #X text 259 151 repeat incoming matrix 3*vertically and 1*horizontally ; #X msg 261 172 2 2; #X text 294 174 repeat incoming matrix 2*vertically and 2*horizontally ; #X text 39 77 repeat a matrix; #X connect 4 0 10 0; #X connect 4 1 5 0; #X connect 6 0 11 0; #X connect 10 0 9 0; #X connect 11 0 4 0; #X connect 12 0 13 0; #X connect 13 0 11 0; #X connect 13 1 10 1; #X connect 14 0 13 0; #X connect 17 0 13 0;
--- NEW FILE: mtx_prod-help.pd --- #N canvas 128 118 680 254 10; #X text 459 169 updated for; #X obj 547 169 iemmatrix 0.2; #X obj 596 195 matrix; #X text 466 194 see also help for; #X obj 48 100 mtx 3 3; #X obj 48 131 t a a; #X obj 91 132 mtx_print; #X msg 262 129 1 1 2; #X floatatom 262 178 5 0 0 0 - - -; #X obj 48 186 print sum; #X text 136 10 Product of columns of matrix; #X text 45 42 compute the column-wise product of a matrix (result is a list of products); #X obj 48 164 mtx_prod; #X obj 262 151 mtx_prod; #X text 262 107 can also be used for multiplying up lists; #X msg 48 80 0 1 -2 -3 -4 5 -6 7 -8; #X connect 4 0 5 0; #X connect 5 0 12 0; #X connect 5 1 6 0; #X connect 7 0 13 0; #X connect 12 0 9 0; #X connect 13 0 8 0; #X connect 15 0 4 0;