Mercurial > hg > octave-lyh
diff scripts/optimization/fsolve.m @ 8763:5ce12bca4c51
update comments in fsolve
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Mon, 16 Feb 2009 16:08:41 +0100 |
parents | e5ffb52c9c61 |
children | 20589a8f1a33 |
line wrap: on
line diff
--- 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)