Hello, I'd like to know if there is a way to define a variable in Sage as non- commuting. I am trying to multiply a few matrices together and take the trace, *but* the matrix entries are non-commuting elements. So, I need Sage to leave a term like a*x*a as-is and not change it to x*a^2.
This is part of a physics calculation where the "non-commuting entries" I am referring to are (Dirac) gamma matrices. For my purposes, it is is far better to leave these as simply "non-commuting variables" in the matrix and not multiply them out. (The physics will be obscured by doing so.) Thank you for any ideas! -Elizabeth -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
