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

Just just at xs4all.nl
Sat Feb 26 11:36:43 EST 2005


In article <mailman.3092.1109434899.22381.python-list at python.org>,
 Nick Coghlan <ncoghlan at iinet.net.au> wrote:

> Just wrote:
> > While googling for a non-linear equation solver, I found 
> > Math::Polynomial::Solve in CPAN. It seems a great little module, except 
> > it's not Python... I'm especially looking for its poly_root() 
> > functionality (which solves arbitrary polynomials). Does anyone know of 
> > a Python module/package that implements that?
> > 
> > Just
> 
> Does SciPy do what you want? Specifically Scientific.Functions.FindRoot [1] & 
> Scientific.Functions.Polynomial [2]
> 
> Regards,
> Nick.
> 
> [1]
> http://starship.python.net/~hinsen/ScientificPython/ScientificPythonManual/Sci
> entific_9.html
> [2]
> http://starship.python.net/~hinsen/ScientificPython/ScientificPythonManual/Sci
> entific_13.html

(Hm, I had the impression that scipy != Konrad Hinsen's Scientific 
module.)

I had played with [1], but it "only" calculates one root, and I need all 
roots (specifically, for a quintic equation). [2] doesn't seem to be a 
solver?

Just



More information about the Python-list mailing list