Mercurial > jwe > octave
changeset 22092:d3cef63f79ac
* fminunc.m: Fix incorrect reference to fminunc as fminsearch (bug #48479)
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Mon, 11 Jul 2016 15:08:15 -0700 |
parents | 0f6fc2ec3b1a |
children | 6457ff946024 |
files | scripts/optimization/fminunc.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/optimization/fminunc.m Mon Jul 11 17:05:33 2016 -0400 +++ b/scripts/optimization/fminunc.m Mon Jul 11 15:08:15 2016 -0700 @@ -84,7 +84,7 @@ ## Application Notes: If the objective function is a single nonlinear equation ## of one variable then using @code{fminbnd} is usually a better choice. ## -## The algorithm used by @code{fminsearch} is a gradient search which depends +## The algorithm used by @code{fminunc} is a gradient search which depends ## on the objective function being differentiable. If the function has ## discontinuities it may be better to use a derivative-free algorithm such as ## @code{fminsearch}.