aboutsummaryrefslogtreecommitdiff
path: root/doc/mtx_size.pd
blob: 85d7747822fc0d9cdbf9d1830190a599294c5702 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#N canvas 161 60 833 285 10;
#X obj 386 214 mtx_print;
#X obj 386 106 mtx_ones;
#X msg 386 83 3 5;
#X obj 386 192 mtx_resize;
#X text 383 67 resize a matrix;
#X msg 441 91 3 2;
#X msg 447 109 2 0;
#X msg 448 144 0 0;
#X text 482 91 resize to [3 \, 2];
#X text 482 109 resize to 2 rows \, leave row-length unchanged;
#X text 481 143 don't resize;
#X msg 452 169 2;
#X text 484 171 resize to [2 \, 2];
#X text 458 192 creation: mtx_resize [<rows> [<cols>]];
#X msg 447 126 0 4;
#X text 482 124 resize to 4 columns \, leave column-length unchanged;
#X floatatom 81 178 4 0 0;
#X text 78 68 get the size of a matrix;
#X obj 81 140 mtx_size;
#X msg 115 91 3 2;
#X msg 81 91 7;
#X obj 81 115 mtx_ones;
#X floatatom 124 178 4 0 0;
#X text 122 194 columns;
#X text 82 195 rows;
#X obj 150 22 mtx_size;
#X obj 421 23 mtx_resize;
#X text 223 24 get/set the size of a matrix;
#X obj 306 252 matrix;
#X text 189 252 see also help for;
#X connect 1 0 3 0;
#X connect 2 0 1 0;
#X connect 3 0 0 0;
#X connect 5 0 3 1;
#X connect 6 0 3 1;
#X connect 7 0 3 1;
#X connect 11 0 3 1;
#X connect 14 0 3 1;
#X connect 18 0 16 0;
#X connect 18 1 22 0;
#X connect 19 0 21 0;
#X connect 20 0 21 0;
#X connect 21 0 18 0;