Mercurial > octave
changeset 21436:b0920076dd98
doc: Add missing ')' in some docstrings.
* cplxpair.m, edit.m, unidpdf.m, test.m:
Add missing ')' in some docstrings.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 11 Mar 2016 08:37:20 -0800 |
parents | 10c32f940636 |
children | 5292a483275e |
files | scripts/general/cplxpair.m scripts/miscellaneous/edit.m scripts/statistics/distributions/unidpdf.m scripts/testfun/test.m |
diffstat | 4 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/general/cplxpair.m Thu Mar 10 20:26:45 2016 -0800 +++ b/scripts/general/cplxpair.m Fri Mar 11 08:37:20 2016 -0800 @@ -30,7 +30,7 @@ ## ## @var{tol} is a weighting factor which determines the tolerance of matching. ## The default value is 100 and the resulting tolerance for a given complex -## pair is @code{100 * eps (abs (@var{z}(i))}. +## pair is @code{100 * eps (abs (@var{z}(i)))}. ## ## By default the complex pairs are sorted along the first non-singleton ## dimension of @var{z}. If @var{dim} is specified, then the complex pairs are @@ -43,7 +43,7 @@ ## @c Set example in small font to prevent overfull line ## ## @smallexample -## cplxpair (exp(2i*pi*[0:4]'/5)) == exp(2i*pi*[3; 2; 4; 1; 0]/5) +## cplxpair (exp (2i*pi*[0:4]'/5)) == exp (2i*pi*[3; 2; 4; 1; 0]/5) ## @end smallexample ## @end deftypefn
--- a/scripts/miscellaneous/edit.m Thu Mar 10 20:26:45 2016 -0800 +++ b/scripts/miscellaneous/edit.m Fri Mar 11 08:37:20 2016 -0800 @@ -66,8 +66,8 @@ ## If an output argument is requested and the first input argument is @code{get} ## then @code{edit} will return the value of the control field @var{field}. ## If the control field does not exist, edit will return a structure -## containing all fields and values. Thus, @code{edit ("get", "all"} returns a -## complete control structure. +## containing all fields and values. Thus, @code{edit ("get", "all")} returns +## a complete control structure. ## ## The following control fields are used: ##
--- a/scripts/statistics/distributions/unidpdf.m Thu Mar 10 20:26:45 2016 -0800 +++ b/scripts/statistics/distributions/unidpdf.m Fri Mar 11 08:37:20 2016 -0800 @@ -24,7 +24,7 @@ ## the integer values 1--@var{n} with equal probability. ## ## Warning: The underlying implementation uses the double class and will only -## be accurate for @var{n} < @code{flintmax} (@w{@math{2^{53}}}) on +## be accurate for @var{n} < @code{flintmax} (@w{@math{2^{53}}} on ## IEEE 754 compatible systems). ## @end deftypefn
--- a/scripts/testfun/test.m Thu Mar 10 20:26:45 2016 -0800 +++ b/scripts/testfun/test.m Fri Mar 11 08:37:20 2016 -0800 @@ -81,7 +81,7 @@ ## returns true if all of the tests were successful. If called with more ## than one output argument then the number of successful tests (@var{n}), ## the total number of tests in the file (@var{nmax}), the number of xtest -## failures (@var{nxfail}), and the number of skipped tests (@var{nskip} are +## failures (@var{nxfail}), and the number of skipped tests (@var{nskip}) are ## returned. ## ## Example