Mercurial > hg > octave-avbm
changeset 8763:5ce12bca4c51
update comments in fsolve
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Mon, 16 Feb 2009 16:08:41 +0100 |
parents | 2476ce55d4b5 |
children | 48d213be5e0e |
files | scripts/ChangeLog scripts/optimization/fsolve.m |
diffstat | 2 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -2,6 +2,7 @@ * linear-algebra/expm.m: Fix invalid unscaling. * help/which.m: Do not add "function" here. + * optimization/fsolve.m: Update comments. 2009-02-16 John W. Eaton <jwe@octave.org>
--- a/scripts/optimization/fsolve.m +++ b/scripts/optimization/fsolve.m @@ -156,11 +156,9 @@ m = length (fvec); n = length (x); - ## For square and overdetermined systems, we update a (pivoted) QR + ## For square and overdetermined systems, we update a QR ## factorization of the jacobian to avoid solving a full system in each ## step. In this case, we pass a triangular matrix to __dogleg__. - ## Pivoted QR is used for slightly better robustness and invariance - ## w.r.t. permutations of variables. useqr = updating && m >= n && n > 10; if (useqr)