-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Symbols gets sorted even for user types #206
Comments
Yes this is because there’s an issue which required us to define * on Symbolic rather thsn on Symbolic{Number} You can define the method on Symbolic{SU2} to construct a Term instead of a Mul which would avoid the sort. Should get closed with #155 |
Ok. So the rule indeed works on
However, if I try to automate the process by defining a method for
the rule matching fails with an error message:
Are there a better way? |
Okay now we throw the appropriate method errors and the usual operations are only defined on Symbolic numbers. |
I want to implement some noncommutative algebra rules for revising lengthy and thus error-prone calculations, as explained in the discourse. Currently, I am facing an issue that the symbols, even for user types, are being sorted automatically by their names. Which, for instance, prevents me from applying a rule:
The text was updated successfully, but these errors were encountered: