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


Groups > comp.lang.python > #35934

Re: numpy has got newtonsmethod?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <vlastimil.brom@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.030
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'python.': 0.02; 'scipy': 0.05; 'libraries.': 0.09; 'url:googlecode': 0.09; 'competent': 0.16; 'url:svn': 0.16; 'respective': 0.20; 'import': 0.21; 'posted': 0.22; 'originally': 0.23; 'header:In-Reply-To:1': 0.25; 'supported': 0.26; 'question': 0.27; 'installing': 0.27; 'message- id:@mail.gmail.com': 0.27; 'decide': 0.28; 'url:mailman': 0.29; 'url:code': 0.29; 'url:download': 0.29; 'maybe': 0.29; 'related': 0.30; 'url:python': 0.32; 'url:listinfo': 0.32; 'to:addr:python- list': 0.33; 'hi,': 0.33; 'requirements': 0.33; 'received:google.com': 0.34; 'problem,': 0.35; 'subject:?': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'url:org': 0.36; 'modules': 0.36; 'should': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'skip:l 20': 0.38; 'some': 0.38; 'url:docs': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'url:mail': 0.40; 'your': 0.60; 'url:p': 0.63; 'skip:n 10': 0.63; 'subject:skip:n 10': 0.84; 'suitability': 0.84; 'url:reference': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=PDRD0v/u9kBx+Oyyg4dhCDGVniLmWhnVvDPCICN4Www=; b=AWNSGcnZJu2of2/IXF9NIXxw2/WoGWobTXVcwjW9QZPvooYcfT7qjROcQU77J8UGco lUe87DFoPwNABK9Hw97GriYX6MMSFw4+sImVCWf8Ce3BZkq9isJhDC2barlNycXM5Jcs w9tkVZ23d7paja2MWYMUj7OwNQXFb+jJWNrJkBNhiomXL+jF713rhG6dZzGVTImiPdLN 4brzCy88KwaV4tf4jvvE2qQ6Iw3xxvai77bNAy8gAjE//TPsPxl2d7VkU5y6XqJYL/ol vrzJFexSbir2Uuv3K32kd1OS4o456VyyuC5n5YzYpx6fY7+2u7xtldQ9jREnOgsgWr7L Oiew==
MIME-Version 1.0
In-Reply-To <a1c300dc-b593-499f-b619-8931173f552a@googlegroups.com>
References <a1c300dc-b593-499f-b619-8931173f552a@googlegroups.com>
Date Wed, 2 Jan 2013 00:56:45 +0100
Subject Re: numpy has got newtonsmethod?
From Vlastimil Brom <vlastimil.brom@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1538.1357084614.29569.python-list@python.org> (permalink)
Lines 33
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1357084614 news.xs4all.nl 6965 [2001:888:2000:d::a6]:50470
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:35934

Show key headers only | 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