changeset 6248:7fad1fad19e1

[project @ 2007-01-22 17:28:17 by jwe]
author jwe
date Mon, 22 Jan 2007 17:29:53 +0000
parents 7b04118f04df
children c507206c45bc
files scripts/ChangeLog scripts/audio/wavwrite.m scripts/control/util/strappend.m scripts/general/interp2.m scripts/miscellaneous/bunzip2.m scripts/miscellaneous/compare_versions.m scripts/miscellaneous/gunzip.m scripts/miscellaneous/list_primes.m scripts/miscellaneous/untar.m scripts/miscellaneous/unzip.m scripts/optimization/glpk.m scripts/polynomial/mkpp.m scripts/polynomial/spline.m scripts/set/intersect.m scripts/set/setdiff.m scripts/specfun/factor.m scripts/special-matrix/hadamard.m src/DLD-FUNCTIONS/dispatch.cc src/ov.cc
diffstat 19 files changed, 25 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Fri Jan 19 03:21:16 2007 +0000
+++ b/scripts/ChangeLog	Mon Jan 22 17:29:53 2007 +0000
@@ -1,3 +1,7 @@
+2007-01-22  David Bateman  <dbateman@free.fr>
+
+	* polynomial/spline.m: Make DG a column instead of a row vector.
+
 2007-01-18  Søren Hauberg  <hauberg@gmail.com>
 
 	* image/ind2rgb.m: Better input checking.  Return 3-d array if
--- a/scripts/audio/wavwrite.m	Fri Jan 19 03:21:16 2007 +0000
+++ b/scripts/audio/wavwrite.m	Mon Jan 22 17:29:53 2007 +0000
@@ -18,15 +18,15 @@
 ## 02110-1301, USA.
 
 ## -*- texinfo -*-
-## @deftypefn {Function File} {} wavwrite(@var{filename}, @var{y})
+## @deftypefn {Function File} {} wavwrite (@var{filename}, @var{y})
 ## Write @var{y} to the canonical RIFF/WAVE sound file @var{filename}. A sample 
 ## rate of 8000 Hz and 16-bit samples are assumed. Each column of the data 
 ## represents a separate channel.
 ##
-## @deftypefnx {Function File} {} wavwrite(@var{filename}, @var{y}, @var{fs})
+## @deftypefnx {Function File} {} wavwrite (@var{filename}, @var{y}, @var{fs})
 ## Set the sample rate to @var{fs} Hz.
 ##
-## @deftypefnx {Function File} {} wavwrite(@var{filename}, @var{y}, @var{fs}, @var{bits})
+## @deftypefnx {Function File} {} wavwrite (@var{filename}, @var{y}, @var{fs}, @var{bits})
 ## Set the sample rate to @var{fs} Hz and resolution to @var{bits} bits.
 ## @seealso{wavread}
 ## @end deftypefn
--- a/scripts/control/util/strappend.m	Fri Jan 19 03:21:16 2007 +0000
+++ b/scripts/control/util/strappend.m	Mon Jan 22 17:29:53 2007 +0000
@@ -18,7 +18,7 @@
 ## 02110-1301 USA.
 
 ## -*- texinfo -*-
-## @deftypefn {Function File} strappend (@var{strlist}, @var{suffix})
+## @deftypefn {Function File} {} strappend (@var{strlist}, @var{suffix})
 ## Append string @var{suffix} to each string in the list @var{strlist}.
 ## @end deftypefn
 
--- a/scripts/general/interp2.m	Fri Jan 19 03:21:16 2007 +0000
+++ b/scripts/general/interp2.m	Mon Jan 22 17:29:53 2007 +0000
@@ -26,7 +26,7 @@
 ##
 ## Two-dimensional interpolation. @var{x}, @var{y} and @var{z} describe a
 ## surface function. If @var{x} and @var{y} are vectors their length
-## must correspondent to the size of @var{z}. @var{x} and @var{Yy must be
+## must correspondent to the size of @var{z}. @var{x} and @var{Yy} must be
 ## monotonic. If they are matrices they  must have the @code{meshgrid} 
 ## format. 
 ##
--- a/scripts/miscellaneous/bunzip2.m	Fri Jan 19 03:21:16 2007 +0000
+++ b/scripts/miscellaneous/bunzip2.m	Mon Jan 22 17:29:53 2007 +0000
@@ -18,7 +18,7 @@
 ## 02110-1301, USA.
 
 ## -*- texinfo -*-
-## @deftypefn {Function File} bunzip2 (@var{bzfile}, @var{dir})
+## @deftypefn {Function File} {} bunzip2 (@var{bzfile}, @var{dir})
 ## Unpack the bzip2 archive @var{bzfile} to the directory @var{dir}. If
 ## @var{dir} is not specified, it defaults to the current directory.
 ## @seealso{unpack, bzip2, tar, untar, gzip, gunzip, zip, unzip}
--- a/scripts/miscellaneous/compare_versions.m	Fri Jan 19 03:21:16 2007 +0000
+++ b/scripts/miscellaneous/compare_versions.m	Mon Jan 22 17:29:53 2007 +0000
@@ -15,7 +15,7 @@
 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
 ## -*- texinfo -*-
-## @deftypefn {Command} compare_versions(@var{v1}, @var{v2}, @var{operator})
+## @deftypefn {Function File} {} compare_versions (@var{v1}, @var{v2}, @var{operator})
 ## Compares to version strings using the given @var{operator}.
 ##
 ## This function assumes that versions @var{v1} and @var{v2} are
--- a/scripts/miscellaneous/gunzip.m	Fri Jan 19 03:21:16 2007 +0000
+++ b/scripts/miscellaneous/gunzip.m	Mon Jan 22 17:29:53 2007 +0000
@@ -18,7 +18,7 @@
 ## 02110-1301, USA.
 
 ## -*- texinfo -*-
-## @deftypefn {Function File} gunzip (@var{gzfile}, @var{dir})
+## @deftypefn {Function File} {} gunzip (@var{gzfile}, @var{dir})
 ## Unpack the gzip archive @var{gzfile} to the directory @var{dir}. If
 ## @var{dir} is not specified, it defaults to the current directory. If
 ## the @var{gzfile} is a directory, all files in the directory will be
--- a/scripts/miscellaneous/list_primes.m	Fri Jan 19 03:21:16 2007 +0000
+++ b/scripts/miscellaneous/list_primes.m	Mon Jan 22 17:29:53 2007 +0000
@@ -25,7 +25,7 @@
 ## The algorithm used is from page 218 of the
 ## @iftex
 ## @tex
-##  \TeXbook.
+##  {\TeX}book.
 ## @end tex
 ## @end iftex
 ## @ifinfo
--- a/scripts/miscellaneous/untar.m	Fri Jan 19 03:21:16 2007 +0000
+++ b/scripts/miscellaneous/untar.m	Mon Jan 22 17:29:53 2007 +0000
@@ -18,7 +18,7 @@
 ## 02110-1301, USA.
 
 ## -*- texinfo -*-
-## @deftypefn {Function File} untar (@var{tarfile}, @var{dir})
+## @deftypefn {Function File} {} untar (@var{tarfile}, @var{dir})
 ## Unpack the TAR archive @var{tarfile} to the directory @var{dir}.
 ## If @var{dir} is not specified, it defaults to the current directory.
 ## @seealso{unpack, bzip2, bunzip2, tar, gzip, gunzip, zip, unzip}
--- a/scripts/miscellaneous/unzip.m	Fri Jan 19 03:21:16 2007 +0000
+++ b/scripts/miscellaneous/unzip.m	Mon Jan 22 17:29:53 2007 +0000
@@ -18,7 +18,7 @@
 ## 02110-1301, USA.
 
 ## -*- texinfo -*-
-## @deftypefn {Function File} unzip (@var{zipfile}, @var{dir})
+## @deftypefn {Function File} {} unzip (@var{zipfile}, @var{dir})
 ## Unpack the ZIP archive @var{zipfile} to the directory @var{dir}.
 ## If @var{dir} is not specified, it defaults to the current directory.
 ## @seealso{unpack, bzip2, bunzip2, tar, untar, gzip, gunzip, zip}
--- a/scripts/optimization/glpk.m	Fri Jan 19 03:21:16 2007 +0000
+++ b/scripts/optimization/glpk.m	Mon Jan 22 17:29:53 2007 +0000
@@ -229,7 +229,7 @@
 ## costs of non-basic variables (in the case of dual simplex) are allowed
 ## to slightly violate their bounds, but not more than
 ## @code{relax*tolbnd} or @code{relax*toldj (thus, @code{relax} is a
-## percentage of @code{tolbnd} or @code{toldj}).
+## percentage of @code{tolbnd} or @code{toldj}}.
 ## 
 ## @item tolbnd (@code{LPX_K_TOLBND}, default: 10e-7)
 ## Relative tolerance used to check if the current basic solution is primal
--- a/scripts/polynomial/mkpp.m	Fri Jan 19 03:21:16 2007 +0000
+++ b/scripts/polynomial/mkpp.m	Mon Jan 22 17:29:53 2007 +0000
@@ -35,7 +35,7 @@
 ##
 ## @var{d} specifies the shape of the matrix @var{p} for all except the
 ## last dimension. If @var{d} is not specified it will be computed as
-## @code{round (rows (@var{p}) / (length (@var{x}) - 1)) instead.
+## @code{round (rows (@var{p}) / (length (@var{x}) - 1))} instead.
 ##
 ## @seealso{unmkpp, ppval, spline}
 ## @end deftypefn
--- a/scripts/polynomial/spline.m	Fri Jan 19 03:21:16 2007 +0000
+++ b/scripts/polynomial/spline.m	Mon Jan 22 17:29:53 2007 +0000
@@ -174,7 +174,7 @@
 
     elseif (n == 4)
 
-      dg = [h(1) + 2 * h(2), 2 * h(2) + h(3)];
+      dg = [h(1) + 2 * h(2); 2 * h(2) + h(3)];
       ldg = h(2) - h(3);
       udg = h(2) - h(1);
       c(2:n-1,:) = spdiags ([[ldg(:);0], dg, [0; udg(:)]],
--- a/scripts/set/intersect.m	Fri Jan 19 03:21:16 2007 +0000
+++ b/scripts/set/intersect.m	Mon Jan 22 17:29:53 2007 +0000
@@ -18,8 +18,8 @@
 ## 02110-1301, USA.
 
 ## -*- texinfo -*-
-## @deftypefn {Function File} {} intersect(@var{a}, @var{b})
-## @deftypefnx {Function File} {[@var{c}, @var{ia}, @var{ib}] = } intersect (@var{a}, @var{b})
+## @deftypefn {Function File} {} intersect (@var{a}, @var{b})
+## @deftypefnx {Function File} {[@var{c}, @var{ia}, @var{ib}] =} intersect (@var{a}, @var{b})
 ##
 ## Return the elements in both @var{a} and @var{b}, sorted in ascending
 ## order. If @var{a} and @var{b} are both column vectors return a column
--- a/scripts/set/setdiff.m	Fri Jan 19 03:21:16 2007 +0000
+++ b/scripts/set/setdiff.m	Mon Jan 22 17:29:53 2007 +0000
@@ -19,7 +19,7 @@
 
 ## -*- texinfo -*-
 ## @deftypefn {Function File} {} setdiff (@var{a}, @var{b})
-## @deftypefnx {Function File} {} setdiff(@var{a}, @var{b}, "rows")
+## @deftypefnx {Function File} {} setdiff (@var{a}, @var{b}, "rows")
 ## Return the elements in @var{a} that are not in @var{b}, sorted in
 ## ascending order.  If @var{a} and @var{b} are both column vectors
 ## return a column vector, otherwise return a row vector.
--- a/scripts/specfun/factor.m	Fri Jan 19 03:21:16 2007 +0000
+++ b/scripts/specfun/factor.m	Mon Jan 22 17:29:53 2007 +0000
@@ -26,7 +26,7 @@
 ##
 ## With two output arguments, returns the uniques primes @var{p} and
 ## their mulyiplicities. That is @code{prod (@var{p} .^ @var{n}) ==
-## @var{q}).
+## @var{q}}.
 ## 
 ## @end deftypefn
 
--- a/scripts/special-matrix/hadamard.m	Fri Jan 19 03:21:16 2007 +0000
+++ b/scripts/special-matrix/hadamard.m	Mon Jan 22 17:29:53 2007 +0000
@@ -35,7 +35,7 @@
 ## @code{kron (@var{Hm}, @var{Hn})} is a Hadamard matrix of size 
 ## @var{m}-by-@var{n}.
 ## @item
-## @code{Hn * Hn' == @var{n) * eye (@var{n})}.
+## @code{Hn * Hn' == @var{n} * eye (@var{n})}.
 ## @item
 ## The rows of @var{Hn} are orthogonal.
 ## @item
--- a/src/DLD-FUNCTIONS/dispatch.cc	Fri Jan 19 03:21:16 2007 +0000
+++ b/src/DLD-FUNCTIONS/dispatch.cc	Mon Jan 22 17:29:53 2007 +0000
@@ -433,7 +433,7 @@
 is called when @var{f} is called with the first argument of the named\n\
 @var{type}. If the type is @var{any} then call @var{r} if no other type\n\
 matches.  The original function @var{f} is accessible using\n\
-@code{builtin (@var{f}, @dots{}).\n\
+@code{builtin (@var{f}, @dots{})}.\n\
 \n\
 If @var{r} is omitted, clear dispatch function associated with @var{type}.\n\
 \n\
--- a/src/ov.cc	Fri Jan 19 03:21:16 2007 +0000
+++ b/src/ov.cc	Mon Jan 22 17:29:53 2007 +0000
@@ -1991,7 +1991,7 @@
 \n\
 The subscript @var{idx} is expected to be a structure array with\n\
 fields @samp{type} and @samp{subs}.  Valid values for @samp{type}\n\
-are @samp{\"()\"}, @samp{\"@{@}\", and @samp{\".\"}.\n\
+are @samp{\"()\"}, @samp{\"@{@}\"}, and @samp{\".\"}.\n\
 The @samp{subs} field may be either @samp{\":\"} or a cell array\n\
 of index values.\n\
 @seealso{subsref, substruct}\n\