aboutsummaryrefslogtreecommitdiff
path: root/examples/mtx_transpose.pd
diff options
context:
space:
mode:
Diffstat (limited to 'examples/mtx_transpose.pd')
-rw-r--r--examples/mtx_transpose.pd51
1 files changed, 29 insertions, 22 deletions
diff --git a/examples/mtx_transpose.pd b/examples/mtx_transpose.pd
index dd042b2..afe5c7b 100644
--- a/examples/mtx_transpose.pd
+++ b/examples/mtx_transpose.pd
@@ -1,26 +1,28 @@
-#N canvas 204 56 718 799 10;
+#N canvas 199 -133 718 600 10;
#X obj 48 162 mtx_print;
#X obj 48 134 mtx_transpose;
#X obj 48 81 mtx_ones;
#X msg 48 59 3 5;
#X text 45 42 transpose a matrix;
-#X text 158 13 tranpose/shift matrices;
+#X text 188 7 tranpose/shift matrices;
#X obj 37 349 mtx_print;
#X msg 37 246 1 2 3 4 5;
#X text 33 229 shift rows of a matrix;
-#X floatatom 104 301 4 0 0;
+#X floatatom 104 301 4 0 0 0 - - -;
#X obj 37 321 mtx_scroll 1;
#X obj 37 268 mtx_diag;
-#X obj 32 524 mtx_print;
-#X msg 32 421 1 2 3 4 5;
-#X floatatom 99 476 4 0 0;
-#X obj 32 443 mtx_diag;
-#X text 28 404 shift columns of a matrix;
-#X obj 32 497 mtx_roll 1;
-#X text 135 477 shift amount (0=no-shift \; 1=1-column-right \; -2=2-columns-left \; ...);
-#X text 143 299 shift amount (0=no-shift \; 1=1-row-down \; -2=2-rows-up \; ...);
-#X text 30 594 pivot-transform a matrix;
-#X obj 34 669 mtx_pivot;
+#X obj 414 333 mtx_print;
+#X msg 414 230 1 2 3 4 5;
+#X floatatom 481 285 4 0 0 0 - - -;
+#X obj 414 252 mtx_diag;
+#X text 410 213 shift columns of a matrix;
+#X obj 414 306 mtx_roll 1;
+#X text 517 286 shift amount (0=no-shift \; 1=1-column-right \; -2=2-columns-left
+\; ...);
+#X text 143 299 shift amount (0=no-shift \; 1=1-row-down \; -2=2-rows-up
+\; ...);
+#X text 29 419 pivot-transform a matrix;
+#X obj 33 494 mtx_pivot;
#N canvas 352 114 190 367 rand-matrix 0;
#X obj 74 163 inlet;
#X obj 74 270 outlet;
@@ -31,16 +33,21 @@
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 4 0 1 0;
-#X restore 34 633 pd rand-matrix;
-#X msg 34 611 4 3;
-#X obj 83 690 mtx_print post;
-#X obj 58 710 mtx_print pre;
-#X obj 34 760 mtx_print pivot;
+#X restore 33 458 pd rand-matrix;
+#X msg 33 436 4 3;
+#X obj 82 515 mtx_print post;
+#X obj 57 535 mtx_print pre;
+#X obj 33 575 mtx_print pivot;
#X obj 485 95 matrix;
-#X text 375 95 see also help for;
-#X text 282 620 this will tranform the columns and rows \, so that the result will have all maximum values in the diagonale. the maximum of the matrix will be located at the upper-lft corner.;
-#X text 281 669 the first outlet is the pivot-transformed matrix.;
-#X text 280 695 the other outlets are the 1/0-matrices that have to be pre-multiplied (row-tranform) and post-multiplied (column-tranform) to the original matrix to get the pivot-tranformation. this is useful for de-pivoting.;
+#X text 435 77 see also help for;
+#X text 280 494 the first outlet is the pivot-transformed matrix.;
+#X text 279 520 the other outlets are the 1/0-matrices that have to
+be pre-multiplied (row-tranform) and post-multiplied (column-tranform)
+to the original matrix to get the pivot-tranformation. this is useful
+for de-pivoting.;
+#X text 281 445 this will tranform the columns and rows \, so that
+the result will have all maximum values in the diagonale. the maximum
+of the matrix will be located at the upper-left corner.;
#X connect 1 0 0 0;
#X connect 2 0 1 0;
#X connect 3 0 2 0;