aboutsummaryrefslogtreecommitdiff
path: root/doc/mtx_bitleft-help.pd
blob: 7371eed32e732cd072503c3f0b992adb21cc74c4 (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
#N canvas 224 247 450 300 10;
#X text 255 30 updated for;
#X obj 343 30 iemmatrix 0.2;
#X obj 392 56 matrix;
#X text 262 55 see also help for;
#X obj 123 167 mtx_diag 1 2 3 4 5;
#X obj 46 167 mtx_ones 5;
#X obj 46 144 t b b;
#X obj 46 218 mtx_print;
#X msg 46 125 bang;
#X text 130 198 ==;
#X obj 263 167 mtx_eye 4;
#X msg 263 140 bang;
#X obj 263 219 mtx_print;
#X floatatom 332 124 4 0 0 0 - - -;
#X obj 332 142 t b f;
#X text 359 193 ==;
#X obj 17 23 mtx_bitleft;
#X obj 111 23 mtx_<<;
#X obj 392 77 <<;
#X obj 46 196 mtx_bitleft;
#X obj 155 196 mtx_<<;
#X obj 263 192 mtx_bitleft 0;
#X obj 380 192 mtx_<< 0;
#X text 8 42 matrix logic: bitwise leftshift;
#X text 38 247 shift left matrix;
#X text 38 260 (amount for each element;
#X text 39 275 specified in right matrix);
#X text 257 251 shift matrix as given by scalar;
#X connect 4 0 19 1;
#X connect 5 0 19 0;
#X connect 6 0 5 0;
#X connect 6 1 4 0;
#X connect 8 0 6 0;
#X connect 10 0 21 0;
#X connect 11 0 10 0;
#X connect 13 0 14 0;
#X connect 14 0 10 0;
#X connect 14 1 21 1;
#X connect 19 0 7 0;
#X connect 21 0 12 0;