[SciPy-user] optimize.fsolve

Howey, David A d.howey at imperial.ac.uk
Thu Aug 18 09:36:51 EDT 2005


I still think the way that arrays are used in scipy/numeric can be a bit subtle. I wouldn't have cracked this unless I'd seen the example given in the tutorial, which uses

out = [some function]
out.append(the next component of the vector)

obvious with hindsight, but my earlier attempt to use
out[0] = ....
out[1] = ....

failed
Dave


-----Original Message-----
From: scipy-user-bounces at scipy.net on behalf of Ryan Krauss
Sent: Thu 18/08/2005 14:28
To: SciPy Users List
Subject: Re: [SciPy-user] optimize.fsolve
 
I guess I was wrong.

Howey, David A wrote:
> page 18 of the scipy tutorial sheds more light on this. I don't think the output has to be scalar.
> ... gradually getting there!
> Dave
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 2709 bytes
Desc: not available
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20050818/899a8bea/attachment.bin>


More information about the SciPy-User mailing list