Status: Valid
Owner: ----
Labels: Type-Defect Priority-Medium Solvers WrongResult
New issue 3236 by [email protected]: Wrong resule in classify_ode when
using a Symbol instead of a Function
http://code.google.com/p/sympy/issues/detail?id=3236
This is related to issue 440 and issue 1612.
In [42]: y = Function('y')
In [43]: classify_ode(y(x).diff(x, x) + 3*y(x).diff(x) + 2*y(x) -
exp(-x)*0, y(x))
Out[43]: (nth_linear_constant_coeff_homogeneous,)
In [44]: y = Symbol('y')
In [45]: classify_ode(y(x).diff(x, x) + 3*y(x).diff(x) + 2*y(x) -
exp(-x)*0, y(x))
Out[45]: (nth_linear_constant_coeff_variation_of_parameters,
nth_linear_constant_coeff_variation_of_parameters_Integral)
The first result is correct. It's the same if you remove the "*0".
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" 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-issues?hl=en.