octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #61310] Please document fsolve "info" output -


From: Arun Giridhar
Subject: [Octave-bug-tracker] [bug #61310] Please document fsolve "info" output -2
Date: Fri, 8 Oct 2021 19:07:21 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0

Follow-up Comment #1, bug #61310 (project octave):

Searching for "info = " with grep on fsolve.m indicates the other values of
info are indeed documented, so info = -2 may have been simply overlooked in
the docs. The part with info = -2 pertains to the Jacobian becoming small and
the search stalling; the Jacobian norm can be computed with or without QR
decomposition.

A doc patch is here. Please review and edit as needed:


diff -r a2936935c7c8 scripts/optimization/fsolve.m
--- a/scripts/optimization/fsolve.m     Thu Oct 07 17:08:44 2021 -0400
+++ b/scripts/optimization/fsolve.m     Fri Oct 08 19:04:47 2021 -0400
@@ -107,6 +107,10 @@
 ## @item -1
 ## Stopped by @code{OutputFcn}.
 ##
+## @item -2
+## The Jacobian became excessively small and the search stalled.
+## @end table
+
 ## @item -3
 ## The trust region radius became excessively small.
 ## @end table



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61310>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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