Mercurial > hg > octave-terminal
changeset 8545:faccdb98d953
postpad.m, prepad.m: doc fix
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 20 Jan 2009 11:09:22 -0500 |
parents | c0d71b4deeb7 |
children | 3d8a914c580e |
files | scripts/ChangeLog scripts/general/postpad.m scripts/general/prepad.m |
diffstat | 3 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,5 +1,7 @@ 2009-01-20 John W. Eaton <jwe@octave.org> + * general/postpad.m: Doc fix. + * general/prepad.m: Doc fix. * image/pink.m: Spelling fix. * image/hsv.m: Doc fix. From Francesco Potorti` <Potorti@isti.cnr.it>.
--- a/scripts/general/postpad.m +++ b/scripts/general/postpad.m @@ -19,6 +19,7 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {} postpad (@var{x}, @var{l}, @var{c}) +## @deftypefnx {Function File} {} postpad (@var{x}, @var{l}, @var{c}, @var{dim}) ## @seealso{prepad, resize} ## @end deftypefn
--- a/scripts/general/prepad.m +++ b/scripts/general/prepad.m @@ -19,10 +19,8 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {} prepad (@var{x}, @var{l}, @var{c}) -## @deftypefnx {Function File} {} postpad (@var{x}, @var{l}, @var{c}) -## @deftypefnx {Function File} {} postpad (@var{x}, @var{l}, @var{c}, @var{dim}) -## -## Prepends (appends) the scalar value @var{c} to the vector @var{x} +## @deftypefnx {Function File} {} prepad (@var{x}, @var{l}, @var{c}, @var{dim}) +## Prepend (append) the scalar value @var{c} to the vector @var{x} ## until it is of length @var{l}. If the third argument is not ## supplied, a value of 0 is used. ##