From 07c21847aee32a51d9cecf8846f825f408cde16f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 29 Mar 2006 14:21:28 +0000 Subject: updated and new help-patches svn path=/trunk/externals/iem/iemmatrix/; revision=4808 --- doc/mtx_concat-help.pd | 83 +++++++++++++++++++++++++++++++++++++++++++++++++ doc/mtx_element-help.pd | 14 ++++----- doc/mtx_inverse-help.pd | 1 + doc/mtx_mean-help.pd | 8 ++--- doc/mtx_prod-help.pd | 25 +++++++++++++++ doc/mtx_repmat-help.pd | 34 ++++++++++++++++++++ doc/mtx_reverse-help.pd | 26 ++++++++-------- doc/mtx_sum-help.pd | 20 +++++++----- 8 files changed, 180 insertions(+), 31 deletions(-) create mode 100644 doc/mtx_concat-help.pd create mode 100644 doc/mtx_prod-help.pd create mode 100644 doc/mtx_repmat-help.pd (limited to 'doc') diff --git a/doc/mtx_concat-help.pd b/doc/mtx_concat-help.pd new file mode 100644 index 0000000..6ba4512 --- /dev/null +++ b/doc/mtx_concat-help.pd @@ -0,0 +1,83 @@ +#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; diff --git a/doc/mtx_element-help.pd b/doc/mtx_element-help.pd index ecff760..eca0a63 100644 --- a/doc/mtx_element-help.pd +++ b/doc/mtx_element-help.pd @@ -5,7 +5,6 @@ #X text 283 53 see also help for; #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; #X obj 64 260 mtx_ones 5 3; @@ -23,11 +22,12 @@ #X obj 89 32 mtx_element; #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 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; +#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; diff --git a/doc/mtx_inverse-help.pd b/doc/mtx_inverse-help.pd index 5edc4a0..a209a9a 100644 --- a/doc/mtx_inverse-help.pd +++ b/doc/mtx_inverse-help.pd @@ -31,6 +31,7 @@ pseudo-inverse will be calculated.; #X obj 153 269 mtx_rand 3 4; #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; #X connect 17 0 22 0; diff --git a/doc/mtx_mean-help.pd b/doc/mtx_mean-help.pd index cb9706d..1611b95 100644 --- a/doc/mtx_mean-help.pd +++ b/doc/mtx_mean-help.pd @@ -7,12 +7,12 @@ #X obj 57 231 print mean_row; #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 text 55 259 get the list(!) mean value of each column; #X connect 4 0 5 0; -#X connect 6 0 9 0; +#X connect 6 0 8 0; #X connect 7 0 6 0; -#X connect 9 0 4 0; -#X connect 9 1 10 0; +#X connect 8 0 4 0; +#X connect 8 1 9 0; diff --git a/doc/mtx_prod-help.pd b/doc/mtx_prod-help.pd new file mode 100644 index 0000000..c37aa78 --- /dev/null +++ b/doc/mtx_prod-help.pd @@ -0,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 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; diff --git a/doc/mtx_repmat-help.pd b/doc/mtx_repmat-help.pd new file mode 100644 index 0000000..0cd8772 --- /dev/null +++ b/doc/mtx_repmat-help.pd @@ -0,0 +1,34 @@ +#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; diff --git a/doc/mtx_reverse-help.pd b/doc/mtx_reverse-help.pd index 018c5ea..5290ab9 100644 --- a/doc/mtx_reverse-help.pd +++ b/doc/mtx_reverse-help.pd @@ -3,7 +3,6 @@ #X obj 546 17 iemmatrix 0.2; #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; #X obj 42 229 mtx_reverse; @@ -25,15 +24,16 @@ #X text 82 310 You can also set the mode via the argument to the object: ; #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; +#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; diff --git a/doc/mtx_sum-help.pd b/doc/mtx_sum-help.pd index daea2d9..e122080 100644 --- a/doc/mtx_sum-help.pd +++ b/doc/mtx_sum-help.pd @@ -1,19 +1,25 @@ #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 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 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 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 9 0; +#X connect 5 1 8 0; #X connect 6 0 4 0; -#X connect 7 0 8 0; +#X connect 7 0 14 0; +#X connect 11 0 13 0; +#X connect 12 0 11 0; -- cgit v1.2.1