# HG changeset patch # User Rik # Date 1657604793 25200 # Node ID 9e9f5f1e8ec223913df714321a7bf552373ca316 # Parent 7c5cb8f8a21e043c1dfd8e032e62b47bcfb74057 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. diff -r 7c5cb8f8a21e -r 9e9f5f1e8ec2 libinterp/corefcn/data.cc --- 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}