Hello,

currently I have this behaviour:


In <69>: (d**3).subs(d**2,k)
Out<69>: k**(3/2)


Is it somehow possible to get

In <69>: (d**3).subs(d**2,k)
Out<69>: d*k

instead.

I also would need:

In <69>: (d**4).subs(d**2,k)
Out<69>: d**2*k


BTW: d is declared as not commutative


Maybe subs is the wrong way to achieve this, but at the moment I dont
see any other.

Regards,
Bastian.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
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