Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

8
  • 1
    $\begingroup$ This is really nice! I am doing the following and it seems to be assuming that things associate and commute. Can we stop that? $\endgroup$ Commented Mar 12, 2021 at 1:13
  • 1
    $\begingroup$ @BillyRubina What is $\theta$? You can edit you question and add the new code about $\theta$ $\endgroup$ Commented Mar 12, 2021 at 2:22
  • 1
    $\begingroup$ It is a function but I'd like to leave it unevaluated in the form $\theta(x)$. The trouble is that Mathematica changes the order, I don't know why. $\endgroup$ Commented Mar 12, 2021 at 2:29
  • 1
    $\begingroup$ @ SetAttributes[CircleDot, {Orderless, Flat, OneIdentity}]; CircleDot[{x_, y_}, {a_, b_}] := {x*θ[y]*a, y*b} {g1, h1}⊙{g2, h2}⊙{g3, h3} ? $\endgroup$ Commented Mar 12, 2021 at 2:46
  • 1
    $\begingroup$ @BillyRubina SetAttributes[CircleDot, {Flat, OneIdentity}]; CircleDot[{x_, y_}, {a_, b_}] := {x ** \[Theta][y] ** a, y ** b}; {g1, h1}\[CircleDot]{g2, h2}\[CircleDot]{g3, h3} $\endgroup$ Commented Mar 12, 2021 at 3:44