# HG changeset patch # User jwe # Date 1169486993 0 # Node ID 7fad1fad19e103a49f69e57264dc09895ddbf319 # Parent 7b04118f04df3aa654014a616599aef17e5f942f [project @ 2007-01-22 17:28:17 by jwe] diff --git a/scripts/ChangeLog b/scripts/ChangeLog --- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,7 @@ +2007-01-22 David Bateman + + * polynomial/spline.m: Make DG a column instead of a row vector. + 2007-01-18 Søren Hauberg * image/ind2rgb.m: Better input checking. Return 3-d array if diff --git a/scripts/audio/wavwrite.m b/scripts/audio/wavwrite.m --- a/scripts/audio/wavwrite.m +++ b/scripts/audio/wavwrite.m @@ -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 diff --git a/scripts/control/util/strappend.m b/scripts/control/util/strappend.m --- a/scripts/control/util/strappend.m +++ b/scripts/control/util/strappend.m @@ -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 diff --git a/scripts/general/interp2.m b/scripts/general/interp2.m --- a/scripts/general/interp2.m +++ b/scripts/general/interp2.m @@ -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. ## diff --git a/scripts/miscellaneous/bunzip2.m b/scripts/miscellaneous/bunzip2.m --- a/scripts/miscellaneous/bunzip2.m +++ b/scripts/miscellaneous/bunzip2.m @@ -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} diff --git a/scripts/miscellaneous/compare_versions.m b/scripts/miscellaneous/compare_versions.m --- a/scripts/miscellaneous/compare_versions.m +++ b/scripts/miscellaneous/compare_versions.m @@ -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 diff --git a/scripts/miscellaneous/gunzip.m b/scripts/miscellaneous/gunzip.m --- a/scripts/miscellaneous/gunzip.m +++ b/scripts/miscellaneous/gunzip.m @@ -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 diff --git a/scripts/miscellaneous/list_primes.m b/scripts/miscellaneous/list_primes.m --- a/scripts/miscellaneous/list_primes.m +++ b/scripts/miscellaneous/list_primes.m @@ -25,7 +25,7 @@ ## The algorithm used is from page 218 of the ## @iftex ## @tex -## \TeXbook. +## {\TeX}book. ## @end tex ## @end iftex ## @ifinfo diff --git a/scripts/miscellaneous/untar.m b/scripts/miscellaneous/untar.m --- a/scripts/miscellaneous/untar.m +++ b/scripts/miscellaneous/untar.m @@ -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} diff --git a/scripts/miscellaneous/unzip.m b/scripts/miscellaneous/unzip.m --- a/scripts/miscellaneous/unzip.m +++ b/scripts/miscellaneous/unzip.m @@ -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} diff --git a/scripts/optimization/glpk.m b/scripts/optimization/glpk.m --- a/scripts/optimization/glpk.m +++ b/scripts/optimization/glpk.m @@ -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 diff --git a/scripts/polynomial/mkpp.m b/scripts/polynomial/mkpp.m --- a/scripts/polynomial/mkpp.m +++ b/scripts/polynomial/mkpp.m @@ -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 diff --git a/scripts/polynomial/spline.m b/scripts/polynomial/spline.m --- a/scripts/polynomial/spline.m +++ b/scripts/polynomial/spline.m @@ -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(:)]], diff --git a/scripts/set/intersect.m b/scripts/set/intersect.m --- a/scripts/set/intersect.m +++ b/scripts/set/intersect.m @@ -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 diff --git a/scripts/set/setdiff.m b/scripts/set/setdiff.m --- a/scripts/set/setdiff.m +++ b/scripts/set/setdiff.m @@ -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. diff --git a/scripts/specfun/factor.m b/scripts/specfun/factor.m --- a/scripts/specfun/factor.m +++ b/scripts/specfun/factor.m @@ -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 diff --git a/scripts/special-matrix/hadamard.m b/scripts/special-matrix/hadamard.m --- a/scripts/special-matrix/hadamard.m +++ b/scripts/special-matrix/hadamard.m @@ -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 diff --git a/src/DLD-FUNCTIONS/dispatch.cc b/src/DLD-FUNCTIONS/dispatch.cc --- a/src/DLD-FUNCTIONS/dispatch.cc +++ b/src/DLD-FUNCTIONS/dispatch.cc @@ -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\ diff --git a/src/ov.cc b/src/ov.cc --- a/src/ov.cc +++ b/src/ov.cc @@ -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\