changeset 33331:d7f1aae5be0f

maint: Merge stable to default.
author Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
date Thu, 04 Apr 2024 22:50:56 -0400
parents 5bc48a35b792 (current diff) a2a202991cc7 (diff)
children af9c0617f9f9 66a5438cc405
files
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/nonlin.txi	Thu Apr 04 18:23:26 2024 -0700
+++ b/doc/interpreter/nonlin.txi	Thu Apr 04 22:50:56 2024 -0400
@@ -197,15 +197,15 @@
 the function, @code{F}, being minimized. E.g., @w{@code{F = F(x, C)}}.
 Octave's minimizer functions are designed to only pass one optimization
 variable to @code{F}, but parameter passing can be accomplished by defining
-an @ref{Anonymous Functions} that contains the necessary parameter(s).  See
-the example below:
+an @ref{Anonymous Functions,,Anonymous Function} that contains the necessary
+parameter(s).  See the example below:
 
 @example
 @group
 A = 2; B = 3;
 f = @@(x) sin (A*x + B);
 fminbnd (f, 0, 2)
-@result{} 0.8562
+   @result{}   0.8562
 @end group
 @end example
 
@@ -217,10 +217,10 @@
 @group
 B = 4;
 fminbnd (f, 0, 2)
-@result{} 0.8562
+   @result{}   0.8562
 f = @@(x) sin (A*x + B);
 fminbnd (f, 0, 2)
-@result{} 0.3562
+   @result{}   0.3562
 @end group
 @end example