Stefan,

You are right when you say that after some operations they can be equal. 
Irrespective of that,  I will have to evaluate and see if we need such a 
permute feature given that it's implementation gets tied into 
_hashable_content().

Thanks for taking the time and explaining your thoughts in detail.

-Guru



On Friday, June 22, 2012 4:11:40 PM UTC-5, Stefan Krastanov wrote:
>
> I do not think that reimplementing hashable_content is the best idea. 
> These objects are different even though after some operations they can 
> be shown to evaluate to the same thing. 
>
> Why do you need the permutations? Can't you just add some degeneracy 
> factor if you need the sum of the permutations? And do you think that 
> your permutation method makes sense for expressions like Tr(A**n*B)? 
>
> I know that I am searching for workaround and not answering your exact 
> question, however this may turn out to be a better alternative. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sympy/-/bG8uGupUPacJ.
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/sympy?hl=en.

Reply via email to