[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fsolve features

From: John W. Eaton
Subject: fsolve features
Date: Wed, 14 Jul 1999 15:13:57 -0500 (CDT)

On  5-Jul-1999, Rolf Fabian <address@hidden> wrote a number of
complaints about Octave's fsolve function including

  * fsolve is not able to compute complex-valued solutions.

  * fsolve discards the imaginary part of complex-valued initial guesses.

  * fsolve discards the imaginary part of complex-valued function

Note that warnings about discarding the imaginary part of a complex
value are given by default, but may be suppressed depending on the
setting of the built-in variable ok_to_lose_imaginary_part.

The problem is that fsolve is not intended to handle complex-valued
functions or find complex-valued solutions.  It is based on Minpack's
hybrd function, which is only good finding real-valued solutions for
real-valued functions.

If you have a better solution, please consider providing it as an
alternative (submit it to octave-sources, for starters).  If it is
really better, then perhaps it can become the default method for



Octave is freely available under the terms of the GNU GPL.  To ensure
that development continues, see
Instructions for unsubscribing:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]