Alex Rivera | Logout

Solving polynomial equations

Asked 2012-05-04T23:11:45.470
14

Up to now I have always Mathematica for solving analytical equations. Now however I need to solve a few hundred equations of this type (characteristic polynomials)

a_20*x^20+a_19*x^19+...+a_1*x+a_0=0 (constant floats a_0,...a_20)

at once which yields awfully long calculation times in Mathematica.

Is there like a ready to use command in numpy or any other package to solve an equation of this type? (up to now I have used Python only for simulations so I don't know much about analytical tools and I couldn't find anything useful in the numpy tutorials).

Edit
Report

1 Answer

4

You may want to look at SAGE which is a complete python distribution designed for mathematical processing. Beyond that, I have used Sympy for somewhat similar matters, as Marcin highlighted.

answered 2012-05-04T23:36:27.470

Your Answer