Hi everyone, 

I want to do some polynomial fitting. Basically, the program should impose 
conditions on a polynomial function and its derivative, on a symbolic 
interval. The result is a linear algebraic system for the polynomial 
coefficients a0, a1, ... an. The key problem that I'm facing is how to 
obtain the sorted list of polynomial terms that is required as a row of the 
linear system matrix (type Matrix) for the solve_linear_system function. 

I have posted this question already on Stack Overflow 
<http://stackoverflow.com/questions/26160213/how-to-convert-a-sympy-polynomial-into-a-list>
 
but it seems that this mailing list is more active - I didn't get any 
feedback there. I have found the way to prevent commutation of variables 
<http://stackoverflow.com/a/16245991/735756>, but the problem is that I 
need the commutation to work to solve the linear system I get in the end. 

What is the best way to approach this problem? 

Thanks, 
Tomislav 

-- 
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/c552cc8d-07ef-4c55-8e6c-f29103ffc147%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to