changeset 31146:9e9f5f1e8ec2

doc: Update plus() function to use inputs A, B. * data.cc (Fplus): Use @var{A}, @var{B} in docstring for consistency with other operator functions.
author Rik <rik@octave.org>
date Mon, 11 Jul 2022 22:46:33 -0700
parents 7c5cb8f8a21e
children 52b8b0c1baf9
files libinterp/corefcn/data.cc
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/data.cc	Mon Jul 11 22:38:57 2022 -0700
+++ b/libinterp/corefcn/data.cc	Mon Jul 11 22:46:33 2022 -0700
@@ -6470,15 +6470,15 @@
 
 DEFUN (plus, args, ,
        doc: /* -*- texinfo -*-
-@deftypefn  {} {@var{z} =} plus (@var{x}, @var{y})
-@deftypefnx {} {@var{z} =} plus (@var{x1}, @var{x2}, @dots{})
-This function and @w{@tcode{@var{x} + @var{y}}} are equivalent.
+@deftypefn  {} {@var{C} =} plus (@var{A}, @var{B})
+@deftypefnx {} {@var{C} =} plus (@var{A1}, @var{A2}, @dots{})
+This function and @w{@tcode{@var{A} + @var{B}}} are equivalent.
 
 If more arguments are given, the summation is applied
 cumulatively from left to right:
 
 @example
-(@dots{}((@var{x1} + @var{x2}) + @var{x3}) + @dots{})
+(@dots{}((@var{A1} + @var{A2}) + @var{A3}) + @dots{})
 @end example
 
 @seealso{minus, uplus}