aboutsummaryrefslogtreecommitdiff
path: root/generics/commutator.pd
diff options
context:
space:
mode:
Diffstat (limited to 'generics/commutator.pd')
-rw-r--r--generics/commutator.pd60
1 files changed, 30 insertions, 30 deletions
diff --git a/generics/commutator.pd b/generics/commutator.pd
index 35559b0..1cc5785 100644
--- a/generics/commutator.pd
+++ b/generics/commutator.pd
@@ -1,41 +1,41 @@
#N canvas 394 81 620 407 10;
-#X obj 18 84 \$1;
#X obj 18 210 -;
-#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 18 38 t a b a;
-#X text 218 15 commutativity rule for operator \$1 is: a \$1 b = b
-\$1 a;
-#X text 218 32 which is also a \$1 b - b \$1 a = 0;
-#X text 218 48 the commutator is a \$1 b - b \$1 a;
-#X obj 18 229 outlet ab-ba;
-#X text 189 112 when \$1 = + this is also known as a "group commutator"
-;
-#X text 189 132 when \$1 = * this is also known as a "ring commutator"
-;
#X text 190 153 however \, this thing i call commutator is more general
;
#X text 189 172 see commutative-test.pd;
-#X obj 106 229 outlet ab+ba;
#X obj 18 141 t a a;
-#X obj 106 210 +;
-#X text 106 247 anticommutator;
+#X obj 127 210 +;
+#X text 127 247 anticommutator;
#X text 19 247 commutator;
-#X connect 0 0 18 0;
-#X connect 1 0 12 0;
-#X connect 2 0 1 1;
-#X connect 2 0 19 0;
-#X connect 3 0 2 0;
-#X connect 4 0 8 0;
-#X connect 5 0 3 1;
-#X connect 5 0 0 1;
-#X connect 8 0 0 0;
-#X connect 8 1 3 0;
-#X connect 8 2 2 1;
-#X connect 18 0 1 0;
-#X connect 18 1 19 1;
-#X connect 19 0 17 0;
+#X obj 18 19 \$1.inlet a;
+#X text 218 15 Say operator \$2 is *. Then the commutativity rule is:
+;
+#X text 218 32 a*b=b*a which is also a*b-b*a = 0;
+#X text 218 48 the commutator is a*b - b*a;
+#X text 189 112 when \$2=+ this is also known as a "group commutator"
+;
+#X text 189 132 when \$2=* this is also known as a "ring commutator"
+;
+#X obj 18 229 \$1.outlet ab-ba;
+#X obj 127 229 \$1.outlet ab+ba;
+#X obj 93 19 \$1.inlet b;
+#X obj 68 115 \$2;
+#X obj 18 84 \$2;
+#X connect 0 0 17 0;
+#X connect 1 0 20 0;
+#X connect 4 0 21 0;
+#X connect 4 1 1 0;
+#X connect 4 2 20 1;
+#X connect 7 0 0 0;
+#X connect 7 1 8 1;
+#X connect 8 0 18 0;
+#X connect 11 0 4 0;
+#X connect 19 0 1 1;
+#X connect 19 0 21 1;
+#X connect 20 0 0 1;
+#X connect 20 0 8 0;
+#X connect 21 0 7 0;