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: 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: References: Date: Wed, 2 Jan 2013 00:56:45 +0100 Subject: Re: numpy has got newtonsmethod? From: Vlastimil Brom 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 2013/1/2 Usama Khan : > 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