Bas wrote:
> Are there any differences between this module and the one already
> present in numpy?
> 
> http://www.scipy.org/doc/numpy_api_docs/numpy.lib.polynomial.html
> 
> Cheers,
> Bas
> 

Yes, there are quite a few.  This module uses a multi-precision library
(clnum) to make the calculations more precise.  This makes the root
finder significantly more precise.  There is an example in the user
manual that shows the difference in performance between Numeric
(essentially the same code as in numpy) and the ratfun root finder on an
ill-conditioned polynomial.

If you choose to use exact coefficients (integers and rationals) then
all calculations except for root finding are exact.

Unlike the numpy implementation, arithmetic (+-*/**) uses the standard
Python operators instead of requiring you to call functions.

Ray
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to