changeset 13789:4de1e8778d48

Fix typo in @var macro in cset 8bb7bdbe9c69. * max.cc (min, max): Change @vary{y} to @var{y}. Add additional calling form of function to demonstrate use of empty ([]) argument.
author Rik <octave@nomad.inbox5.com>
date Wed, 02 Nov 2011 09:20:35 -0700
parents 9ab64f063c96
children fa94d6a93d45
files src/DLD-FUNCTIONS/max.cc
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/max.cc	Wed Nov 02 00:26:27 2011 -0400
+++ b/src/DLD-FUNCTIONS/max.cc	Wed Nov 02 09:20:35 2011 -0700
@@ -309,11 +309,12 @@
   "-*- texinfo -*-\n\
 @deftypefn  {Loadable Function} {} min (@var{x})\n\
 @deftypefnx {Loadable Function} {} min (@var{x}, @var{y})\n\
+@deftypefnx {Loadable Function} {} min (@var{x}, [], @var{dim})\n\
 @deftypefnx {Loadable Function} {} min (@var{x}, @var{y}, @var{dim})\n\
 @deftypefnx {Loadable Function} {[@var{w}, @var{iw}] =} min (@var{x})\n\
 For a vector argument, return the minimum value.  For a matrix\n\
 argument, return the minimum value from each column, as a row\n\
-vector, or over the dimension @var{dim} if defined, in which case @vary{y} \n\
+vector, or over the dimension @var{dim} if defined, in which case @var{y} \n\
 should be set to the empty matrix (it's ignored otherwise).  For two matrices\n\
 (or a matrix and scalar), return the pair-wise minimum.\n\
 Thus,\n\
@@ -387,11 +388,12 @@
   "-*- texinfo -*-\n\
 @deftypefn  {Loadable Function} {} max (@var{x})\n\
 @deftypefnx {Loadable Function} {} max (@var{x}, @var{y})\n\
+@deftypefnx {Loadable Function} {} max (@var{x}, [], @var{dim})\n\
 @deftypefnx {Loadable Function} {} max (@var{x}, @var{y}, @var{dim})\n\
 @deftypefnx {Loadable Function} {[@var{w}, @var{iw}] =} max (@var{x})\n\
 For a vector argument, return the maximum value.  For a matrix\n\
 argument, return the maximum value from each column, as a row\n\
-vector, or over the dimension @var{dim} if defined, in which case @vary{y} \n\
+vector, or over the dimension @var{dim} if defined, in which case @var{y} \n\
 should be set to the empty matrix (it's ignored otherwise).  For two matrices\n\
 (or a matrix and scalar), return the pair-wise maximum.\n\
 Thus,\n\