Is there a function that will convert sqrt(x+1)+x+3 into y^2+y+2 with y=sqrt(x+1)? Subs is smart enough to make (x**4+x**2+2).subs(x**2, y) into y**2+y+2.
But it doesn't work with initial example. Even sqrt(x+1)+x+1 is not converted into y^2+y -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/ce0bd5f0-d11a-4961-8b53-d9f544c5cafe%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
