changeset 33330:a2a202991cc7 stable

doc: link text and formatting adjustments to cset 87a54302d126 * nonlin.txi: Change link appearance from Anonymous Functions to Anonymous Function. Change spacing for result tags.
author Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
date Thu, 04 Apr 2024 22:49:38 -0400
parents 87a54302d126
children d7f1aae5be0f d624140ffd1b
files doc/interpreter/nonlin.txi
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/nonlin.txi	Thu Apr 04 18:16:20 2024 -0700
+++ b/doc/interpreter/nonlin.txi	Thu Apr 04 22:49:38 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