[SciPy-User] Vectorized newton function
Thu Apr 15 09:35:37 CDT 2010
On Wed, Apr 14, 2010 at 9:26 PM, Robert Kern <firstname.lastname@example.org> wrote:
> On Wed, Apr 14, 2010 at 19:33, Charles R Harris
> <email@example.com> wrote:
> > On Wed, Apr 14, 2010 at 6:15 PM, Gökhan Sever <firstname.lastname@example.org>
> >> Thanks Anne for suggesting "fsolve" and rest of the useful information.
> >> Below is how my function is read:
> >> def myfunc(myarray):
> >> term1 = compute1_array1
> >> term2 = compute3_array2
> >> term3 = compute3_array3
> >> return term1+term2+term3
> >> result_arr = fsolve(myfunc, myarray)
> >> IDL handles univariate and multivariate cases using one fun newton
> >> function. I get almost equivalent results using fsolve to IDL's newton.
> > The fsolve function is essentially multidimensional newton, IIRC.
> Yes, but it's an N**2 waste when the equations aren't coupled.
Could you give an example what you mean here?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-User