The problem is in match, it stores the coefficient of non homogeneous euler 
eq even after transformation into linear one.
for ex. the equation I used
eq = Eq(x**2*Derivative(f(x), x, x) - 2*x*Derivative(f(x), x) + 2*f(x), 
log(x**2))

after transformation it becomes
Derivative(f(x), x, x) - 3*Derivative(f(x), x) + 2*f(x), log(x**2)

when I printed match inside 
"def ode_nth_linear_constant_coeff_undetermined_coefficients(eq, func, 
order, match):"

it returns 
"{0: 2, 1: -2*x, 2: x**2, 'trialset': set([1, x]), -1: -log(x**2)}"

that is match for 1st eq but in
"ode_nth_linear_constant_coeff_undetermined_coefficients(eq, func, order, 
match):" 
I need to pass different match according to transformed eq 

-- 
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/22c8e03c-3b2b-4024-9b21-e36fac0717b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to