Mercurial > hg > octave-lyh
changeset 7007:6304d9ea0a30
[project @ 2007-10-11 16:26:36 by jwe]
line wrap: on
line diff
--- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,9 @@ +2007-10-11 Brian Gough <bjg@network-theory.co.uk> + + * interpreter/dynamic.txi, interpreter/geometry.txi, + interpreter/package.txi, interpreter/sparse.txi, + interpreter/system.txi: Spelling fixes. + 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> * interpreter/arith.txi, interpreter/basics.txi,
--- a/doc/interpreter/dynamic.txi +++ b/doc/interpreter/dynamic.txi @@ -1378,7 +1378,7 @@ @code{mxArrayToString} and @code{mxCreateCharMatrixFromStrings}. A string in a mex-file is considered to be a vector rather than a matrix. This is perhaps an arbitrary distinction as the data in the -mxArray for the matrix is consequetive in any case. +mxArray for the matrix is consecutive in any case. @node Cell Arrays with Mex-Files @subsection Cell Arrays with Mex-Files @@ -1416,7 +1416,7 @@ void mxSetCell (mxArray *ptr, int idx, mxArray *val); @end example -Finally, to create a cell array or matrix, the appropraiate functions are +Finally, to create a cell array or matrix, the appropriate functions are @example @group
--- a/doc/interpreter/geometry.txi +++ b/doc/interpreter/geometry.txi @@ -41,7 +41,7 @@ @code{delaunay3} returns a set of tetrahedra that satisfy the Delaunay circum-circle criteria. Similarly, @code{delaunayn} returns the N-dimensional simplex satisfying the Delaunay circum-circle criteria. -The N-dimensional extension of a triangulation is called a tesselation. +The N-dimensional extension of a triangulation is called a tessellation. @DOCSTRING(delaunay3) @@ -119,12 +119,12 @@ @subsection Identifying points in Triangulation It is often necessary to identify whether a particular point in the -N-dimensional space is within the Delaunay tesselation of a set of +N-dimensional space is within the Delaunay tessellation of a set of points in this N-dimensional space, and if so which N-Simplex contains -the point and which point in the tesselation is closest to the desired +the point and which point in the tessellation is closest to the desired point. The functions @code{tsearch} and @code{dsearch} perform this function in a triangulation, and @code{tsearchn} and @code{dsearchn} in -an N-dimensional tesselation. +an N-dimensional tessellation. To identify whether a particular point represented by a vector @var{p} falls within one of the simplices of an N-Simplex, we can write the @@ -358,7 +358,7 @@ The convex hull of a set of points is the minimum convex envelope containing all of the points. Octave has the functions @code{convhull} -and @code{convhulln} to calculate the convec hull of 2-dimensional and +and @code{convhulln} to calculate the convex hull of 2-dimensional and N-dimensional sets of points. @DOCSTRING(convhull)
--- a/doc/interpreter/package.txi +++ b/doc/interpreter/package.txi @@ -430,7 +430,7 @@ function1 function2 function3 function4 Category Name 2 - functio2 function5 + function2 function5 @end example @node PKG_ADD and PKG_DEL directives
--- a/doc/interpreter/sparse.txi +++ b/doc/interpreter/sparse.txi @@ -366,7 +366,7 @@ There are several graphical means of finding out information about sparse matrices. The first is the @dfn{spy} command, which displays the structure of the non-zero elements of the -matrix. @xref{fig:spmatrix}, for an exaple of the use of +matrix. @xref{fig:spmatrix}, for an example of the use of @dfn{spy}. More advanced graphical information can be obtained with the @dfn{treeplot}, @dfn{etreeplot} and @dfn{gplot} commands.
--- a/doc/interpreter/system.txi +++ b/doc/interpreter/system.txi @@ -416,7 +416,7 @@ the file they have is the same as the one that the original hash was produced with. -Octave supplies the @code{md5sum} function to perfrom MD5 hashes on +Octave supplies the @code{md5sum} function to perform MD5 hashes on strings and files. An example of the use of @code{md5sum} function might be
--- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,3 +1,7 @@ +2007-10-11 Brian Gough <bjg@network-theory.co.uk> + + * DASSL-opts.in, LSODE-opts.in: Spelling fixes. + 2007-10-10 Olli Saarela <Olli.Saarela@kcl.fi> * DASPK-opts.in, DASRT-opts.in, DASSL-opts.in: Spelling fixes.
--- a/liboctave/DASSL-opts.in +++ b/liboctave/DASSL-opts.in @@ -64,7 +64,7 @@ OPTION NAME = "compute consistent initial condition" DOC_ITEM -If nonzero, @code{dassl} will attempt to compute a consistent set of intial +If nonzero, @code{dassl} will attempt to compute a consistent set of initial conditions. This is generally not reliable, so it is best to provide a consistent set and leave this option set to zero. END_DOC_ITEM
--- a/liboctave/LSODE-opts.in +++ b/liboctave/LSODE-opts.in @@ -47,7 +47,7 @@ OPTION NAME = "integration method" DOC_ITEM -A string specifing the method of integration to use to solve the ODE +A string specifying the method of integration to use to solve the ODE system. Valid values are @table @asis
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,28 @@ +2007-10-11 Brian Gough <bjg@network-theory.co.uk> + + * control/csrefcard.lt, control/system/is_detectable.m, + control/system/sysgroup.m, geometry/voronoin.m, + miscellaneous/dir.m, sparse/pcg.m, sparse/treeplot.m, + statistics/base/mode.m, statistics/distributions/betarnd.m, + statistics/distributions/binornd.m, + statistics/distributions/cauchy_rnd.m, + statistics/distributions/chi2rnd.m, + statistics/distributions/discrete_rnd.m, + statistics/distributions/exprnd.m, + statistics/distributions/frnd.m, + statistics/distributions/gamrnd.m, + statistics/distributions/geornd.m, + statistics/distributions/laplace_rnd.m, + statistics/distributions/logistic_rnd.m, + statistics/distributions/lognrnd.m, + statistics/distributions/nbinrnd.m, + statistics/distributions/normrnd.m, + statistics/distributions/poissrnd.m, + statistics/distributions/stdnormal_rnd.m, + statistics/distributions/trnd.m, + statistics/distributions/unifrnd.m, + statistics/distributions/wblrnd.m: Spelling fixes. + 2007-10-10 Thomas Treichl <Thomas.Treichl@gmx.net> * time/tic.m: New optional output value.
--- a/scripts/control/csrefcard.lt +++ b/scripts/control/csrefcard.lt @@ -886,7 +886,7 @@ C { } @Rowb above { yes } A { tf2sys } - B { tranfer function to system conversion + B { transfer function to system conversion @DP { Helvetica Base -2p } @Font @CurveBox { *** no description *** } @@ -902,7 +902,7 @@ C { internal use (used by tf2sys) } @Rowb above { yes } A { tf2zp } - B { tranfer function to state-space conversion + B { transfer function to state-space conversion @DP { Helvetica Base -2p } @Font @CurveBox { *** no description *** }
--- a/scripts/control/system/is_detectable.m +++ b/scripts/control/system/is_detectable.m @@ -20,7 +20,7 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {@var{retval} =} is_detectable (@var{a}, @var{c}, @var{tol}, @var{dflg}) ## @deftypefnx {Function File} {@var{retval} =} is_detectable (@var{sys}, @var{tol}) -## Test for detactability (observability of unstable modes) of (@var{a}, @var{c}). +## Test for detectability (observability of unstable modes) of (@var{a}, @var{c}). ## ## Returns 1 if the system @var{a} or the pair (@var{a}, @var{c}) is ## detectable, 0 if not, and -1 if the system has unobservable modes at the
--- a/scripts/control/system/syscont.m +++ b/scripts/control/system/syscont.m @@ -36,7 +36,7 @@ ## connections from discrete states to continuous states, ## discrete states to continuous outputs, respectively. ## -## returns @var{csys} empty if no continuous/continous path exists +## If no continuous path exists, @var{csys} will be empty. ## @end table ## @end deftypefn
--- a/scripts/control/system/sysgroup.m +++ b/scripts/control/system/sysgroup.m @@ -158,7 +158,7 @@ inname = __sysconcat__(Ain,Bin); outname = __sysconcat__(Aout,Bout); - ## Sort states into continous first, then discrete + ## Sort states into continuous first, then discrete dstates = ones(1,(nA+nB)); if(An) dstates(1:(An)) = zeros(1,An);
--- a/scripts/geometry/voronoin.m +++ b/scripts/geometry/voronoin.m @@ -20,7 +20,7 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {[@var{C}, @var{F}] =} voronoin (@var{pts}) ## @deftypefnx {Function File} {[@var{C}, @var{F}] =} voronoin (@var{pts}, @var{options}) -## computes n- dimensinal voronoi facets. The input matrix @var{pts} +## computes n- dimensional voronoi facets. The input matrix @var{pts} ## of size [n, dim] contains n points of dimension dim. ## @var{C} contains the points of the voronoi facets. The list @var{F} ## contains for each facet the indices of the voronoi points.
--- a/scripts/miscellaneous/dir.m +++ b/scripts/miscellaneous/dir.m @@ -43,7 +43,7 @@ ## ## Note that for symbolic links, @code{dir} returns information about ## the file that a symbolic link points to instead of the link itself. -## However, if the link points to a nonexisent file, @code{dir} returns +## However, if the link points to a nonexistent file, @code{dir} returns ## information about the link. ## @seealso{ls, stat, lstat, readdir, glob, filesep} ## @end deftypefn
--- a/scripts/sparse/pcg.m +++ b/scripts/sparse/pcg.m @@ -107,7 +107,7 @@ ## @var{eigest} returns the estimate for the smallest @code{@var{eigest} ## (1)} and largest @code{@var{eigest} (2)} eigenvalues of the ## preconditioned matrix @code{@var{P} = @var{m} \ @var{a}}. In -## particular, if no preconditioning is used, the extimates for the +## particular, if no preconditioning is used, the estimates for the ## extreme eigenvalues of @var{a} are returned. @code{@var{eigest} (1)} ## is an overestimate and @code{@var{eigest} (2)} is an underestimate, ## so that @code{@var{eigest} (2) / @var{eigest} (1)} is a lower bound @@ -189,7 +189,7 @@ ## K = varargin@{1@}; ## y = x; ## y(1:K) = x(1:K)./[1:K]'; -## endfuntion +## endfunction ## ## [x, flag, relres, iter, resvec, eigest] = ... ## pcg (A, b, [], [], "applyM", [], [], 3)
--- a/scripts/sparse/treeplot.m +++ b/scripts/sparse/treeplot.m @@ -19,7 +19,7 @@ ## @deftypefn {Function File} {} treeplot (@var{Tree}) ## @deftypefnx {Function File} {} treeplot (@var{Tree}, @var{LineStyle}, @var{EdgeStyle}) ## Produces a graph of tree or forest. The first argument is vector of -## predecessors, optional parametres @var{LineStyle} and @var{EdgeStyle} +## predecessors, optional parameters @var{LineStyle} and @var{EdgeStyle} ## define the output style. The complexity of the algorithm is O(n) in ## terms of is time and memory requirements. ## @seealso{etreeplot, gplot}
--- a/scripts/statistics/base/mode.m +++ b/scripts/statistics/base/mode.m @@ -26,7 +26,7 @@ ## @var{dim} parameter. ## ## The variable @var{f} counts the frequency of each of the most frequently -## occuring ellements. The cell array @var{c} contains all of the elements +## occurring elements. The cell array @var{c} contains all of the elements ## with the maximum frequency . ## @end deftypefn
--- a/scripts/statistics/distributions/betarnd.m +++ b/scripts/statistics/distributions/betarnd.m @@ -62,7 +62,7 @@ elseif (isvector(r) && all (r > 0)) sz = r(:)'; else - error ("betarnd: r must be a postive integer or vector"); + error ("betarnd: r must be a positive integer or vector"); endif if (any (size (a) != 1)
--- a/scripts/statistics/distributions/binornd.m +++ b/scripts/statistics/distributions/binornd.m @@ -62,7 +62,7 @@ elseif (isvector(r) && all (r > 0)) sz = r(:)'; else - error ("binornd: r must be a postive integer or vector"); + error ("binornd: r must be a positive integer or vector"); endif if (any (size (n) != 1)
--- a/scripts/statistics/distributions/cauchy_rnd.m +++ b/scripts/statistics/distributions/cauchy_rnd.m @@ -61,7 +61,7 @@ elseif (isvector(r) && all (r > 0)) sz = r(:)'; else - error ("cauchy_rnd: r must be a postive integer or vector"); + error ("cauchy_rnd: r must be a positive integer or vector"); endif if (any (size (l) != 1)
--- a/scripts/statistics/distributions/chi2rnd.m +++ b/scripts/statistics/distributions/chi2rnd.m @@ -52,7 +52,7 @@ elseif (isvector(r) && all (r > 0)) sz = r(:)'; else - error ("chi2rnd: r must be a postive integer or vector"); + error ("chi2rnd: r must be a positive integer or vector"); endif if (any (size (n) != 1)
--- a/scripts/statistics/distributions/discrete_rnd.m +++ b/scripts/statistics/distributions/discrete_rnd.m @@ -59,7 +59,7 @@ elseif (isvector(r) && all (r > 0)) sz = r(:)'; else - error ("discrete_rnd: r must be a postive integer or vector"); + error ("discrete_rnd: r must be a positive integer or vector"); endif endif else
--- a/scripts/statistics/distributions/exprnd.m +++ b/scripts/statistics/distributions/exprnd.m @@ -53,7 +53,7 @@ elseif (isvector(r) && all (r > 0)) sz = r(:)'; else - error ("exprnd: r must be a postive integer or vector"); + error ("exprnd: r must be a positive integer or vector"); endif if (any (size (l) != 1) &&
--- a/scripts/statistics/distributions/frnd.m +++ b/scripts/statistics/distributions/frnd.m @@ -64,7 +64,7 @@ elseif (isvector(r) && all (r > 0)) sz = r(:)'; else - error ("frnd: r must be a postive integer or vector"); + error ("frnd: r must be a positive integer or vector"); endif if (any (size (m) != 1) &&
--- a/scripts/statistics/distributions/gamrnd.m +++ b/scripts/statistics/distributions/gamrnd.m @@ -63,7 +63,7 @@ elseif (isvector(r) && all (r > 0)) sz = r(:)'; else - error ("gamrnd: r must be a postive integer or vector"); + error ("gamrnd: r must be a positive integer or vector"); endif if (any (size (a) != 1)
--- a/scripts/statistics/distributions/geornd.m +++ b/scripts/statistics/distributions/geornd.m @@ -53,7 +53,7 @@ elseif (isvector(r) && all (r > 0)) sz = r(:)'; else - error ("geornd: r must be a postive integer or vector"); + error ("geornd: r must be a positive integer or vector"); endif if (any (size (p) != 1) && ((length (size (p)) != length (sz)) ||
--- a/scripts/statistics/distributions/laplace_rnd.m +++ b/scripts/statistics/distributions/laplace_rnd.m @@ -44,7 +44,7 @@ elseif (isvector(r) && all (r > 0)) sz = r(:)'; else - error ("laplace_rnd: r must be a postive integer or vector"); + error ("laplace_rnd: r must be a positive integer or vector"); endif else print_usage ();
--- a/scripts/statistics/distributions/logistic_rnd.m +++ b/scripts/statistics/distributions/logistic_rnd.m @@ -45,7 +45,7 @@ elseif (isvector(r) && all (r > 0)) sz = r(:)'; else - error ("logistic_rnd: r must be a postive integer or vector"); + error ("logistic_rnd: r must be a positive integer or vector"); endif else print_usage ();
--- a/scripts/statistics/distributions/lognrnd.m +++ b/scripts/statistics/distributions/lognrnd.m @@ -64,7 +64,7 @@ elseif (isvector(r) && all (r > 0)) sz = r(:)'; else - error ("lognrnd: r must be a postive integer or vector"); + error ("lognrnd: r must be a positive integer or vector"); endif if (any (size (mu) != 1) &&
--- a/scripts/statistics/distributions/nbinrnd.m +++ b/scripts/statistics/distributions/nbinrnd.m @@ -63,7 +63,7 @@ elseif (isvector(r) && all (r > 0)) sz = r(:)'; else - error ("nbinrnd: r must be a postive integer or vector"); + error ("nbinrnd: r must be a positive integer or vector"); endif if (any (size (n) != 1) &&
--- a/scripts/statistics/distributions/normrnd.m +++ b/scripts/statistics/distributions/normrnd.m @@ -62,7 +62,7 @@ elseif (isvector(r) && all (r > 0)) sz = r(:)'; else - error ("normrnd: r must be a postive integer or vector"); + error ("normrnd: r must be a positive integer or vector"); endif if (any (size (m) != 1)
--- a/scripts/statistics/distributions/poissrnd.m +++ b/scripts/statistics/distributions/poissrnd.m @@ -51,7 +51,7 @@ elseif (isvector(r) && all (r > 0)) sz = r(:)'; else - error ("poissrnd: r must be a postive integer or vector"); + error ("poissrnd: r must be a positive integer or vector"); endif if (any (size (l) != 1) &&
--- a/scripts/statistics/distributions/stdnormal_rnd.m +++ b/scripts/statistics/distributions/stdnormal_rnd.m @@ -47,7 +47,7 @@ elseif (isvector(r) && all (r > 0)) sz = r(:)'; else - error ("stdnormal_rnd: r must be a postive integer or vector"); + error ("stdnormal_rnd: r must be a positive integer or vector"); endif endif
--- a/scripts/statistics/distributions/trnd.m +++ b/scripts/statistics/distributions/trnd.m @@ -53,7 +53,7 @@ elseif (isvector(r) && all (r > 0)) sz = r(:)'; else - error ("trnd: r must be a postive integer or vector"); + error ("trnd: r must be a positive integer or vector"); endif if (any (size (n) != 1) &&
--- a/scripts/statistics/distributions/unifrnd.m +++ b/scripts/statistics/distributions/unifrnd.m @@ -61,7 +61,7 @@ elseif (isvector(r) && all (r > 0)) sz = r(:)'; else - error ("unifrnd: r must be a postive integer or vector"); + error ("unifrnd: r must be a positive integer or vector"); endif if (any (size (a) != 1)
--- a/scripts/statistics/distributions/wblrnd.m +++ b/scripts/statistics/distributions/wblrnd.m @@ -63,7 +63,7 @@ elseif (isvector(r) && all (r > 0)) sz = r(:)'; else - error ("wblrnd: r must be a postive integer or vector"); + error ("wblrnd: r must be a positive integer or vector"); endif if (any (size (scale) != 1) &&
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2007-10-11 Brian Gough <bjg@network-theory.co.uk> + + * DLD-FUNCTIONS/fftn.cc, DLD-FUNCTIONS/regexp.cc, dirfns.cc, + input.cc: Spelling fixes. + 2007-10-10 John W. Eaton <jwe@octave.org> * OPERATORS/op-sbm-sbm.cc (bool_matrix_to_double_matrix):
--- a/src/DLD-FUNCTIONS/fftn.cc +++ b/src/DLD-FUNCTIONS/fftn.cc @@ -139,7 +139,7 @@ DEFUN_DLD (ifftn, args, , "-*- texinfo -*-\n\ @deftypefn {Loadable Function} {} ifftn (@var{a}, @var{size})\n\ -Compute the invesre N dimensional FFT of @var{a} using subroutines from\n" +Compute the inverse N dimensional FFT of @var{a} using subroutines from\n" FFTSRC ". The optional vector argument @var{size} may be used specify the\n\ dimensions of the array to be used. If an element of @var{size} is\n\
--- a/src/DLD-FUNCTIONS/regexp.cc +++ b/src/DLD-FUNCTIONS/regexp.cc @@ -1394,7 +1394,7 @@ Replace matches of @var{pat} in @var{string} with @var{repstr}.\n\ \n\ \n\ -The replacement can contain @code{$i}, which subsubstitutes\n\ +The replacement can contain @code{$i}, which substitutes\n\ for the ith set of parentheses in the match string. E.g.,\n\ @example\n\ \n\
--- a/src/data.cc +++ b/src/data.cc @@ -2580,7 +2580,7 @@ @deftypefn {Built-in Function} {} squeeze (@var{x})\n\ Remove singleton dimensions from @var{x} and return the result.\n\ Note that for compatibility with @sc{Matlab}, all objects have\n\ -a minimum of two dimensions.\n\ +a minimum of two dimensions and row vectors are left unchanged.\n\ @end deftypefn") { octave_value retval;
--- a/src/dirfns.cc +++ b/src/dirfns.cc @@ -285,7 +285,7 @@ system-dependent error message, and @var{msgid} contains a unique\n\ message identifier.\n\ \n\ -If the optional second parameter is suplied with value @code{\"s\"},\n\ +If the optional second parameter is supplied with value @code{\"s\"},\n\ recursively remove all subdirectories as well.\n\ @seealso{mkdir, confirm_recursive_rmdir}\n\ @end deftypefn")
--- a/src/input.cc +++ b/src/input.cc @@ -1070,7 +1070,7 @@ DEFUN (read_readline_init_file, args, , "-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} read_readline_init_file (@var{file})\n\ -Read the readline library initialiazation file @var{file}. If\n\ +Read the readline library initialization file @var{file}. If\n\ @var{file} is omitted, read the default initialization file (normally\n\ @file{~/.inputrc}).\n\ \n\