Hi there! I noticed the function sympy.physics.matrices.mgamma returns Dirac bases for gamma matrices. What if someone wants to operate in other bases?
On wikipedia there's a list of bases: http://en.wikipedia.org/wiki/Dirac_matrix#Other_representations It would be nice to implement all other bases (they're often used in textbooks), what strategy would best fit? What about a global variable _DEFAULT_GAMMA_MATRIX_BASIS, equipped with a set_gamma_matrix_basis( ) and a context manager? Using the new assumptions engine? (By the way, I don't really understand how to include an assumption to handle such kind of things) Or simply put a flag on the mgamma function? Like mgamma(1, basis="weyl") -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
