> What is the class? Another option would be to make the super-class > simpler. My opinion is that .args should hold all relevant information and > other fields should compute their values from .args by properties. >
I am working on subclassing *TensorHead* from the tensor module in the * GammaMatrixHead* object. Both are already merged into master. * GammaMatrixHead* currently cannot be reconstructed from its args, as they are the args of *TensorHead*, but *TensorHead* args cannot be reduced, as they are required to the tensor expressions. In the meantime, * GammaMatrixHead* has fixed properties to store in *TensorHead* (for example, the type of its indices), so I avoided putting them into its *__new__( )* constructor. I was thinking of overloading the *func( )* method in *GammaMatrixHead*, could work? -- 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. For more options, visit https://groups.google.com/groups/opt_out.
