aboutsummaryrefslogtreecommitdiff
path: root/generics/commutative-test.pd
blob: 58359aa92ffd897244a533313c288c3652b475b1 (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
#N canvas 394 81 620 407 10;
#X obj 18 84 \$1;
#X obj 52 158 -;
#X obj 68 115 \$1;
#X obj 68 96 f;
#X obj 18 19 inlet a;
#X obj 84 32 inlet b;
#X text 75 134 ba;
#X text 33 103 ab;
#X obj 49 376 outlet uh...;
#X text 170 21 commutativity rule for operator \$1 is ab=ba;
#X text 170 38 that's like ab-ba=0;
#X obj 18 38 t a b a;
#X text 10 158 note: - is float-only;
#X text 170 54 absolute error is ab-ba;
#X text 172 71 what is relative error supposed to be relative to?;
#X text 172 88 (we don't know what the real result is);
#X connect 0 0 1 0;
#X connect 2 0 1 1;
#X connect 3 0 2 0;
#X connect 4 0 11 0;
#X connect 5 0 3 1;
#X connect 5 0 0 1;
#X connect 11 0 0 0;
#X connect 11 1 3 0;
#X connect 11 2 2 1;