aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorN.N. <matju@users.sourceforge.net>2005-12-30 19:18:31 +0000
committerN.N. <matju@users.sourceforge.net>2005-12-30 19:18:31 +0000
commit3ef50c3d7cfe993bd251fa424ba7a5db4b013ae9 (patch)
tree647084a9f3b8707590285b5eb794d0545f10c492
parent64de1f0381a3add0f285e6fe037035fd0049bf13 (diff)
.
svn path=/trunk/abstractions/pureunity/; revision=4314
-rw-r--r--generics/commutative-test.pd26
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;