Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #35934

Re: numpy has got newtonsmethod?

References <a1c300dc-b593-499f-b619-8931173f552a@googlegroups.com>
Date 2013-01-02 00:56 +0100
Subject Re: numpy has got newtonsmethod?
From Vlastimil Brom <vlastimil.brom@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1538.1357084614.29569.python-list@python.org> (permalink)

Show all headers | View raw


2013/1/2 Usama Khan <usamazohad@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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

numpy has got newtonsmethod? Usama Khan <usamazohad@gmail.com> - 2013-01-01 15:01 -0800
  Re: numpy has got newtonsmethod? Chris Angelico <rosuav@gmail.com> - 2013-01-02 10:10 +1100
    Re: numpy has got newtonsmethod? Usama Khan <usamazohad@gmail.com> - 2013-01-01 16:34 -0800
      Re: numpy has got newtonsmethod? alex23 <wuwei23@gmail.com> - 2013-01-01 16:46 -0800
        Re: numpy has got newtonsmethod? Usama Khan <usamazohad@gmail.com> - 2013-01-01 17:00 -0800
      Re: numpy has got newtonsmethod? Chris Angelico <rosuav@gmail.com> - 2013-01-02 15:10 +1100
    Re: numpy has got newtonsmethod? Usama Khan <usamazohad@gmail.com> - 2013-01-01 16:34 -0800
  Re: numpy has got newtonsmethod? Vlastimil Brom <vlastimil.brom@gmail.com> - 2013-01-02 00:56 +0100
    Re: numpy has got newtonsmethod? Usama Khan <usamazohad@gmail.com> - 2013-01-01 16:28 -0800
      Re: numpy has got newtonsmethod? alex23 <wuwei23@gmail.com> - 2013-01-01 16:43 -0800
      Re: numpy has got newtonsmethod? Vlastimil Brom <vlastimil.brom@gmail.com> - 2013-01-02 02:09 +0100
    Re: numpy has got newtonsmethod? Usama Khan <usamazohad@gmail.com> - 2013-01-01 16:28 -0800
      Re: numpy has got newtonsmethod? Usama Khan <usamazohad@gmail.com> - 2013-01-01 16:42 -0800
        Re: numpy has got newtonsmethod? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-02 02:04 +0000
      Re: numpy has got newtonsmethod? Usama Khan <usamazohad@gmail.com> - 2013-01-01 16:42 -0800

csiph-web