[SciPy-user] optimize.fsolve

Howey, David A d.howey at imperial.ac.uk
Thu Aug 18 06:14:47 CDT 2005

I'm having trouble getting fsolve to work. Does this work in a similar way to matlab's fsolve?
I thought I'd start with something really simple, just solving for where two lines cross (y = ax + b - twice). I implemented a function which takes a vector for x and y (ie. say x[0], x[1]) and 'solves' the two equations, returning F[0] and F[1].
I then call fsolve on this function... unfortunately it seems to just converge on whatever starting guess I give it, or go to massive numbers!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.scipy.net/pipermail/scipy-user/attachments/20050818/a208cb5f/attachment.htm

More information about the SciPy-user mailing list