[SciPy-User] Vectorized newton function

Gökhan Sever gokhansever@gmail....
Wed Apr 14 17:37:03 CDT 2010


Hello,

How can I make scipy.optimize.newton function accepting a numpy.array as its
x0 parameter?

File:             /usr/lib/python2.6/site-packages/scipy/optimize/minpack.py
Definition:       newton(func, x0, fprime=None, args=(), tol=1.48e-08,
maxiter=50)

x0 : float
        An initial estimate of the zero that should be somewhere near the
        actual zero.

(Without using a for-loop)

Thanks.

-- 
Gökhan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20100414/7ad69feb/attachment.html 


More information about the SciPy-User mailing list