Mercurial > octave
diff scripts/optimization/fminunc.m @ 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 | ffad2baa90f7 |
children | bac0d6f07a3e |
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}.