Cross reference between postpad and resize

Francesco Potorti` Potorti at isti.cnr.it
Mon Oct 13 11:34:40 CDT 2008


Resize does the same as postpad, apart from the fact that it can do it
for any number of dimensions and that it works destructively.  So make a
cross reference between these two.

# HG changeset patch
# User Francesco Potortì <pot at gnu.org>
# Date 1223915560 -7200
# Node ID d1215198a9c66c8a2e69357c57dd3303dc3755ba
# Parent  93719333471e3bbca9212f42d045a2fce0e35472
Cross reference between postpad and resize

diff -r 93719333471e -r d1215198a9c6 scripts/ChangeLog
--- a/scripts/ChangeLog	Mon Oct 13 18:16:09 2008 +0200
+++ b/scripts/ChangeLog	Mon Oct 13 18:32:40 2008 +0200
@@ -1,4 +1,6 @@ 2008-10-13  Francesco Potortì  <pot at gnu.
 2008-10-13  Francesco Potortì  <pot at gnu.org>
+
+	* general/postpad.m: Use @seealso.  Added a reference to resize.
 
 	* plot/__errplot__.m: Wrong if switch compared strings using ==.
 	Subsituted with a switch statement.
diff -r 93719333471e -r d1215198a9c6 scripts/general/postpad.m
--- a/scripts/general/postpad.m	Mon Oct 13 18:16:09 2008 +0200
+++ b/scripts/general/postpad.m	Mon Oct 13 18:32:40 2008 +0200
@@ -19,7 +19,7 @@
 
 ## -*- texinfo -*-
 ## @deftypefn {Function File} {} postpad (@var{x}, @var{l}, @var{c})
-## See prepad.
+## @seealso{prepad, resize}
 ## @end deftypefn
 
 ## Author: Tony Richardson <arichard at stark.cc.oh.us>
diff -r 93719333471e -r d1215198a9c6 src/ChangeLog
--- a/src/ChangeLog	Mon Oct 13 18:16:09 2008 +0200
+++ b/src/ChangeLog	Mon Oct 13 18:32:40 2008 +0200
@@ -1,3 +1,7 @@ 2008-10-10  John W. Eaton  <jwe at octave.o
+2008-10-13  Francesco Potortì  <pot at gnu.org>
+
+	* data.cc (resize): Added a cross reference to postpad.
+
 2008-10-10  John W. Eaton  <jwe at octave.org>
 
 	* graphics.h.in (base_properties::adopt): Place new child at front
diff -r 93719333471e -r d1215198a9c6 src/data.cc
--- a/src/data.cc	Mon Oct 13 18:16:09 2008 +0200
+++ b/src/data.cc	Mon Oct 13 18:32:40 2008 +0200
@@ -4356,7 +4356,7 @@ dimensions of the result are given by th
 dimensions of the result are given by the elements of @var{m}.\n\
 If both @var{m} and @var{n} are scalars, then the dimensions of\n\
 the result are @var{m}-by- at var{n}.\n\
- at seealso{reshape}\n\
+ at seealso{reshape, postpad}\n\
 @end deftypefn")
 {
   octave_value retval;

-- 
Francesco Potortì (ricercatore)        Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR          Fax:   +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa         Email: Potorti at isti.cnr.it
(entrance 20, 1st floor, room C71)     Web:   http://fly.isti.cnr.it/


More information about the Bug-octave mailing list