aboutsummaryrefslogtreecommitdiff
path: root/generics/commutative-test.pd
blob: ad36c9cde39b2b55fbc6578d0c75729211d76c10 (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
#N canvas 380 66 452 322 10;
#X obj 40 15 inlet bang;
#X obj 40 79 unpack 0 0;
#X obj 33 160 /;
#X msg 40 34 1 3;
#X text 216 9 This test verifies that 1+3=3+1;
#X obj 33 179 t a a;
#X obj 33 246 outlet;
#X text 217 44 with tolerance 0;
#X obj 33 198 <= 0;
#X text 218 23 and 1*3=3*1 and...;
#X obj 33 103 commutator \$2;
#X obj 33 122 \$1norm;
#X obj 119 122 \$1norm;
#X obj 97 165 loadbang;
#X obj 97 184 3times symbol commutative \$1 \$2;
#X obj 97 203 unpack s s s;
#X obj 33 227 pack 0 0 -1 s s s;
#X obj 33 141 * 2;
#X connect 0 0 3 0;
#X connect 1 0 10 0;
#X connect 1 1 10 1;
#X connect 2 0 5 0;
#X connect 3 0 1 0;
#X connect 5 0 8 0;
#X connect 5 1 16 1;
#X connect 8 0 16 0;
#X connect 10 0 11 0;
#X connect 10 1 12 0;
#X connect 11 0 17 0;
#X connect 12 0 2 1;
#X connect 13 0 14 0;
#X connect 14 0 15 0;
#X connect 15 0 16 3;
#X connect 15 1 16 4;
#X connect 15 2 16 5;
#X connect 16 0 6 0;
#X connect 17 0 2 0;