>>>>> constant_renumber(constantsimp(eq.subs(reps(eq)),x,1),'C',1,1000)
>> C1 + 2*C2*(C3*x + 3) + C4*exp(x)/(C5 + x)
The arg I used should have been a `2` after the `x,` since that is the
endnumber; odesimp considers only constants in the given range to be
absorbing. Since 2 of C2 is greater than 1 it is not considered to be
an absorber.
>>> constantsimp(2+C1+x*(C2+2),x,1)
C1 + x*(C2 + 2)
--
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.