Re: [sympy] Merge dsolve into solve?

2013-05-27 Thread Aaron Meurer
This has been discussed before. We want both the behaviors of solve and dsolve. i.e., we want both >>> solve(f(x).diff(x) - f(x), f(x)) [Derivative(f(x), x)] and >>> dsolve(f(x).diff(x) - f(x), f(x)) f(x) == C1*exp(x) I don't like the idea of using f instead of f(x) as a flag. What happens if

[sympy] Merge dsolve into solve?

2013-05-27 Thread F. B.
Hi, what about putting a dispatcher into solve to redirect to dsolve in case it detects the system contains a differential equation? I mean something like this: > >>> f = Function('f') >>> solve(f(x).diff(x) - f(x), f(x)) # solve as a non-differential equation [f(x)] >>> solve(f(x).diff(x) -