Mercurial > hg > octave-lyh
changeset 8648:ff61b53eb294
optimization: use PKG_ADD: comments instead of PKG_ADD file
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 30 Jan 2009 15:42:51 -0500 |
parents | 06f5dd901f30 |
children | e50b44b75891 |
files | scripts/ChangeLog scripts/optimization/PKG_ADD scripts/optimization/fsolve.m scripts/optimization/fzero.m scripts/optimization/lsqnonneg.m |
diffstat | 5 files changed, 12 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,9 @@ +2009-01-30 John W. Eaton <jwe@octave.org> + + * optimization/PKG_ADD: Delete. + * optimization/fsolve.m, optimization/fzero.m, + optimization/lsqnonneg.m: Use PKG_ADD: comment to call __all_opts__. + 2009-01-30 Jaroslav Hajek <highegg@gmail.com> * optimization/__all_opts__.m: New source.
deleted file mode 100644 --- a/scripts/optimization/PKG_ADD +++ /dev/null @@ -1,2 +0,0 @@ -__all_opts__ ("fzero", "fsolve", "lsqnonneg"); -
--- a/scripts/optimization/fsolve.m +++ b/scripts/optimization/fsolve.m @@ -72,6 +72,8 @@ ## @seealso{fzero, optimset} ## @end deftypefn +## PKG_ADD: __all_opts__ ("fsolve"); + function [x, fvec, info, output, fjac] = fsolve (fcn, x0, options = struct ()) ## Get default options if requested.
--- a/scripts/optimization/fzero.m +++ b/scripts/optimization/fzero.m @@ -59,6 +59,8 @@ ## the need for external functions and error handling. The algorithm has ## also been slightly modified. +## PKG_ADD: __all_opts__ ("fzero"); + function [x, fval, info, output] = fzero (fun, x0, options = struct ()) ## Get default options if requested.