You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there are no brackets that simply allow grouping subexpressions. Axis composition () can be used to group expressions
"(a b)... -> a... b..." # (a b) are grouped and can be repeated jointly using an ellipsis
which expands to
"(a0 b0) (a1 b1) -> a0 a1 b0 b1
but this is not always desirable. For example, the following related expression can currently not be expressed with ellipsis notation:
"a0 b0 a1 b1 -> a0 a1 b0 b1"
With grouping brackets of some kind (for example using {}), this could be written as
"{a b}... -> a... b...
Good:
Allows writing some expressions more concisely.
Bad:
Adds another type of bracket in addition to axis composition () and operation axes [], which adds to the complexity of einx expressions. This makes the notation more difficult to read/ learn and less intuitive.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently, there are no brackets that simply allow grouping subexpressions. Axis composition
()
can be used to group expressionswhich expands to
but this is not always desirable. For example, the following related expression can currently not be expressed with ellipsis notation:
With grouping brackets of some kind (for example using
{}
), this could be written asGood:
Bad:
()
and operation axes[]
, which adds to the complexity of einx expressions. This makes the notation more difficult to read/ learn and less intuitive.Beta Was this translation helpful? Give feedback.
All reactions