diff options
-rw-r--r-- | generics/commutative-test.pd | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/generics/commutative-test.pd b/generics/commutative-test.pd new file mode 100644 index 0000000..58359aa --- /dev/null +++ b/generics/commutative-test.pd @@ -0,0 +1,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; |