numpy has got newtonsmethod?

Vlastimil Brom vlastimil.brom at gmail.com
Wed Jan 2 00:56:45 CET 2013


2013/1/2 Usama Khan <usamazohad at gmail.com>:
> my question is can we import newtonsmethod from nympy or sciPy?
> --
> http://mail.python.org/mailman/listinfo/python-list

Hi,
After successfully installing SciPy
http://www.scipy.org/Download
you should be able to import the respective modules and use this
functionality such as
http://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.newton.html

you may also consider

mpmath
http://code.google.com/p/mpmath/
http://mpmath.googlecode.com/svn/trunk/doc/build/calculus/optimization.html

SymPy
http://sympy.org

or maybe some OpenOpt software
http://openopt.org

or other related libraries/frameworks available in python.

I am not at all competent to decide about the suitability for your
originally posted problem, but I guess, you may be able to find it out
based on your requirements and the features supported by these
libraries.

hth,
  vbr



More information about the Python-list mailing list