any Python equivalent of Math::Polynomial::Solve?

John M. Gamble jgamble at ripco.com
Sat Feb 26 13:55:33 EST 2005


In article <just-420C1F.16423926022005 at news1.news.xs4all.nl>,
Just  <just at xs4all.nl> wrote:
>While googling for a non-linear equation solver, I found 
>Math::Polynomial::Solve in CPAN. It seems a great little module, except 

Thank you.

>it's not Python... 

Sorry about that.

>                   I'm especially looking for its poly_root() 
>functionality (which solves arbitrary polynomials). Does anyone know of 
>a Python module/package that implements that?

Are you looking for that particular algorithm, or for any
source that will find the roots of the polynomial?  The
original source for the algorithm used in the module is
from Hiroshi Murakami's Fortran source, and it shouldn't
be too difficult to repeat the translation process to python.

-- 
	-john

February 28 1997: Last day libraries could order catalogue cards
from the Library of Congress.



More information about the Python-list mailing list