# HG changeset patch # User Rik # Date 1372016993 25200 # Node ID a4969508008ef7639f463f76c4b98717c870d4f5 # Parent 71fc195d3e84a62df424468754d75e023f922a72 doc: Periodic spellcheck of the documentation. * doc/interpreter/doccheck/aspell-octave.en.pws: Update Octave-specific Aspell dictionary. * doc/interpreter/contrib.txi, doc/interpreter/errors.txi, doc/interpreter/expr.txi, doc/interpreter/io.txi, doc/interpreter/preface.txi, doc/interpreter/sparse.txi, doc/interpreter/stmt.txi, doc/interpreter/strings.txi, libinterp/corefcn/qz.cc, libinterp/dldfcn/ccolamd.cc, libinterp/dldfcn/fftw.cc, libinterp/interpfcn/graphics.cc, scripts/general/structfun.m, scripts/image/ind2rgb.m, scripts/image/rgb2ind.m, scripts/io/importdata.m, scripts/linear-algebra/duplication_matrix.m, scripts/linear-algebra/housh.m, scripts/miscellaneous/mkoctfile.m, scripts/plot/comet3.m, scripts/plot/gco.m, scripts/plot/legend.m, scripts/plot/print.m, scripts/signal/fftshift.m, scripts/signal/periodogram.m, scripts/sparse/pcg.m, scripts/statistics/tests/f_test_regression.m, scripts/statistics/tests/t_test_regression.m, scripts/strings/strjoin.m, scripts/strings/strsplit.m: Correct spellings or add @nospell macro. diff --git a/doc/interpreter/contrib.txi b/doc/interpreter/contrib.txi --- a/doc/interpreter/contrib.txi +++ b/doc/interpreter/contrib.txi @@ -90,8 +90,8 @@ You may want to get familiar with Mercurial queues to manage your changesets. For working with queues you have to activate the extension -mq with the following entry in Mercurials config file @file{.hgrc} (or -@file{Mercurial.ini} on Windows): +@nospell{mq} with the following entry in Mercurial's configuration file +@file{.hgrc} (or @file{Mercurial.ini} on Windows): @example @group @@ -149,7 +149,7 @@ @end group @end example -For the colour extension, default colour and formatting +For the color extension, default color and formatting of @code{hg status} can be modified by @example @@ -182,11 +182,10 @@ @end example Enabling the described extensions should immediately lead to a difference -when using the command line version of hg. Of these options, the only one -that enables a new command is graphlog. It is recommanded that you use the -command @code{hg glog} instead of @code{hg log} for a better feel -what commits are being based on. - +when using the command line version of @nospell{hg}. Of these options, the +only one that enables a new command is @nospell{graphlog}. It is recommanded +that you use the command @code{hg glog} instead of @code{hg log} for a better +feel what commits are being based on. @node General Guidelines @section General Guidelines diff --git a/doc/interpreter/doccheck/aspell-octave.en.pws b/doc/interpreter/doccheck/aspell-octave.en.pws --- a/doc/interpreter/doccheck/aspell-octave.en.pws +++ b/doc/interpreter/doccheck/aspell-octave.en.pws @@ -20,6 +20,7 @@ anova Anymap API +appdata approximant arg ARMA @@ -49,6 +50,7 @@ Backends backends bartlett +BaseValue Bateman BDF bdf @@ -82,6 +84,7 @@ boxxyerrorbars bracketx brackety +braindead breakpoint Brenan broadcastable @@ -97,11 +100,10 @@ CallbackObject callee's camd +CancelString cauchy caxis ccolamd -CCR -CCS cd cdata CDF @@ -116,6 +118,7 @@ changesets Chaves chdir +Chebyshev chisq chisquare chol @@ -129,6 +132,7 @@ classpath classpaths Clenshaw +CLI clim cloglog clubsuit @@ -176,6 +180,7 @@ cumprod cumsum cURL +CurrentObject Cuthill cxsparse Cygwin @@ -192,7 +197,6 @@ davis ddd dddd -dddddddddd deallocate deallocated deconv @@ -206,18 +210,18 @@ demi Demmel DeskJet -Deskjet det diag diamondsuit dir disp +DisplayName +DisplayNames displayrange dMatrix dmperm -DMS -Dn Dobkin +docstrings dOmega dotall dotexceptnewline @@ -260,6 +264,7 @@ equispaced erf erfc +erfi errno Errorbar errorbar @@ -290,7 +295,7 @@ fftpack FFTs fftw -FG +Fiedler fieldname fieldnames filename @@ -309,6 +314,7 @@ forall foregroundcolor formfeed +Forsythe Fortran fpdf fprintf @@ -337,7 +343,6 @@ geoinv geopdf geornd -GEP geq gesdd gesvd @@ -394,6 +399,7 @@ Hessenberg heteroscedascity hggroup +hggroups hh HH Higham @@ -417,13 +423,12 @@ Hyndman Hypergeometric hypergeometric +IEC IEEE ifelse -iff ifft ifftn ignorecase -IIP ij Im imag @@ -433,6 +438,7 @@ indices infty init +InitialValue inline Inline inpolygon @@ -446,6 +452,7 @@ Interpolants interquartile inv +involutory ipermute ishandle ishghandle @@ -458,17 +465,19 @@ iter ith iy +iz Jacobian Jacobians javaaddpath javamem -ji JIT jpeg JPEG jpg jvm JVM's +Kac +Kahan keybindings keypress Kolmogorov @@ -487,6 +496,7 @@ laplace Larimore LaserJet +Lauchli lceil ldiv ldivide @@ -496,6 +506,7 @@ leftarrow Leftrightarrow leftrightarrow +Lehmer Lehoucq leq Levinson @@ -515,6 +526,8 @@ linespoints linkprop listdlg +ListSize +ListString literalspacing Liu LLVM @@ -532,6 +545,7 @@ Lookup lookups Los +Lotkin Lovato lpx lr @@ -594,7 +608,6 @@ mmmm mmmyy mmmyyyy -modelled Moler Montanet mpoles @@ -614,6 +627,8 @@ myclass myfun nabla +namespace +NAMESPACE NaN NaNs nargin @@ -638,11 +653,13 @@ nnls nnz nocompute +nodither nolabel noncommercially nonconformant nonsmooth nonzeros +NOP noperm normcdf normest @@ -655,13 +672,13 @@ notin nthargout NTSC -nul +ntsc Numpy -Nx nzmax oct octaverc ODEPACK +OKString OLS onCleanup online @@ -680,6 +697,7 @@ papersize paperunits parseparams +Parter pbm PBM PBMplus @@ -693,6 +711,7 @@ pcx pdf PDF +pentadiagonal periodogram perp Petzold's @@ -719,6 +738,7 @@ postorder PostScript Pothen +powerset pre preconditioner premultiplied @@ -729,6 +749,8 @@ priori Profiler profiler +prolate +PromptString propto proven ps @@ -736,11 +758,10 @@ pseudonorm pseudorandom Pseudospectra +pseudospectrum ptrace punct -PWS Pxx -Qci Qhull qhull QP @@ -773,10 +794,10 @@ Readline readline recursing +Redheffer reentrant regex regressor -reimported Reindent relicensing ren @@ -793,6 +814,7 @@ RET returnonerror rfloor +rgb RGB Riccati Rightarrow @@ -806,13 +828,11 @@ Rossum rpath RPMs -rr runtime sa Saad Sandia SAS -sB Schafer schar Schur @@ -821,6 +841,7 @@ se sed seealso +SelectionMode semidefinite Sep Shampine @@ -886,6 +907,7 @@ strncmpi strread strread's +strsplit struct structs subarrays @@ -936,6 +958,7 @@ symamd symbfact symrcm +Szego tcdf Tcv terminal's @@ -944,6 +967,7 @@ Texinfo TextAlphaBits textfield +textread textscan th ths @@ -972,6 +996,7 @@ triplot trnd Tsang +Tukey tuples Tx txi @@ -988,7 +1013,6 @@ Ultrix umfpack uminus -un Unary unary uncomment @@ -1009,6 +1033,7 @@ univariate unnormalized unpadded +unpermuted unpivoted unregister unshare @@ -1038,11 +1063,12 @@ Villadsen voronoi Voronoi -Wa waitbar waitbars wallis warndlg +Wathen +WAV wblcdf wblinv wblpdf @@ -1066,7 +1092,6 @@ windowstyle WinRand WIPO -Wl wp wspace xb @@ -1085,6 +1110,7 @@ xPBTRF xPOTRF xPTSV +xtest xTRTRS xu xwd @@ -1104,7 +1130,6 @@ yyyymmdd yyyymmddTHHMMSS Zechner -zer Ziggurat zlib zlim diff --git a/doc/interpreter/errors.txi b/doc/interpreter/errors.txi --- a/doc/interpreter/errors.txi +++ b/doc/interpreter/errors.txi @@ -189,7 +189,7 @@ "Octave" is used for Octave's own errors. Any other string is available as a namespace for user's own errors. -The next example counts indexing errors. The errors are catched using the +The next example counts indexing errors. The errors are caught using the field identifier of the structure returned by the function @code{lasterror}. @example diff --git a/doc/interpreter/expr.txi b/doc/interpreter/expr.txi --- a/doc/interpreter/expr.txi +++ b/doc/interpreter/expr.txi @@ -768,7 +768,7 @@ For complex numbers, the following ordering is defined: @var{z1} < @var{z2} -iff +if and only if @example @group diff --git a/doc/interpreter/io.txi b/doc/interpreter/io.txi --- a/doc/interpreter/io.txi +++ b/doc/interpreter/io.txi @@ -22,7 +22,7 @@ Octave supports several ways of reading and writing data to or from the prompt or a file. The simplest functions for data Input and Output (I/O) are easy to use, but only provide limited control of how -data is processed. For more control, a set of functions modelled +data is processed. For more control, a set of functions modeled after the C standard library are also provided by Octave. @menu @@ -388,7 +388,7 @@ This section describes how to call @code{printf} and related functions. The following functions are available for formatted output. They are -modelled after the C language functions of the same name, but they +modeled after the C language functions of the same name, but they interpret the format template differently in order to improve the performance of printing vector and matrix values. diff --git a/doc/interpreter/preface.txi b/doc/interpreter/preface.txi --- a/doc/interpreter/preface.txi +++ b/doc/interpreter/preface.txi @@ -87,7 +87,7 @@ @itemize @bullet @item The United States Department of Energy, through grant number -DE-FG02-04ER25635. +@nospell{DE-FG02-04ER25635}. @item Ashok Krishnamurthy, David Hudak, Juan Carlos Chaves, and Stanley @@ -133,7 +133,7 @@ Noel Bell, Senior Engineer, Texaco Chemical Company, Austin Texas. @item -John A. Turner, Group Leader, Continuum Dynamics (CCS-2), Los Alamos +John A. Turner, Group Leader, Continuum Dynamics @nospell{(CCS-2)}, Los Alamos National Laboratory, for registering the @url{octave.org} domain name. @item diff --git a/doc/interpreter/sparse.txi b/doc/interpreter/sparse.txi --- a/doc/interpreter/sparse.txi +++ b/doc/interpreter/sparse.txi @@ -391,7 +391,7 @@ interconnections between nodes are represented as an adjacency matrix. That is, if the i-th node in a graph is connected to the j-th node. Then the ij-th node (and in the case of undirected graphs the -ji-th node) of the sparse adjacency matrix is non-zero. If each node +@nospell{ji-th} node) of the sparse adjacency matrix is non-zero. If each node is then associated with a set of coordinates, then the @dfn{gplot} command can be used to graphically display the interconnections between nodes. @@ -703,7 +703,7 @@ @float Figure,fig:simplechol @center @image{spchol,4in} -@caption{Structure of the un-permuted Cholesky@tie{}factorization of the above matrix.} +@caption{Structure of the unpermuted Cholesky@tie{}factorization of the above matrix.} @end float @float Figure,fig:simplecholperm diff --git a/doc/interpreter/stmt.txi b/doc/interpreter/stmt.txi --- a/doc/interpreter/stmt.txi +++ b/doc/interpreter/stmt.txi @@ -770,7 +770,7 @@ @cindex @code{unwind_protect_cleanup} @cindex @code{end_unwind_protect} -Octave supports a limited form of exception handling modelled after the +Octave supports a limited form of exception handling modeled after the unwind-protect form of Lisp. The general form of an @code{unwind_protect} block looks like this: diff --git a/doc/interpreter/strings.txi b/doc/interpreter/strings.txi --- a/doc/interpreter/strings.txi +++ b/doc/interpreter/strings.txi @@ -96,7 +96,7 @@ Represents a literal single-quote character, @samp{'}. @item \0 -Represents the ``nul'' character, control-@@, ASCII code 0. +Represents the null character, control-@@, ASCII code 0. @item \a Represents the ``alert'' character, control-g, ASCII code 7. @@ -158,8 +158,8 @@ @section Character Arrays The string representation used by Octave is an array of characters, so -internally the string "dddddddddd" is actually a row vector of length 10 -containing the value 100 in all places (100 is the ASCII code of "d"). This +internally the string @nospell{"dddddddddd"} is actually a row vector of length +10 containing the value 100 in all places (100 is the ASCII code of "d"). This lends itself to the obvious generalization to character matrices. Using a matrix of characters, it is possible to represent a collection of same-length strings in one variable. The convention used in Octave is that each row in a diff --git a/libinterp/corefcn/qz.cc b/libinterp/corefcn/qz.cc --- a/libinterp/corefcn/qz.cc +++ b/libinterp/corefcn/qz.cc @@ -342,7 +342,7 @@ \n\ @table @var\n\ @item opt\n\ -for ordering eigenvalues of the GEP pencil. The leading block\n\ +for ordering eigenvalues of the @nospell{GEP} pencil. The leading block\n\ of the revised pencil contains all eigenvalues that satisfy:\n\ \n\ @table @asis\n\ diff --git a/libinterp/dldfcn/ccolamd.cc b/libinterp/dldfcn/ccolamd.cc --- a/libinterp/dldfcn/ccolamd.cc +++ b/libinterp/dldfcn/ccolamd.cc @@ -135,10 +135,10 @@ \n\ The authors of the code itself are S. Larimore, T. Davis (Univ. of Florida)\n\ and S. Rajamanickam in collaboration with J. Bilbert and E. Ng. Supported\n\ -by the National Science Foundation (DMS-9504974, DMS-9803599, CCR-0203270),\n\ -and a grant from Sandia National Lab. See\n\ -@url{http://www.cise.ufl.edu/research/sparse} for ccolamd, csymamd, amd,\n\ -colamd, symamd, and other related orderings.\n\ +by the National Science Foundation\n\ +@nospell{(DMS-9504974, DMS-9803599, CCR-0203270)}, and a grant from Sandia\n\ +National Lab. See @url{http://www.cise.ufl.edu/research/sparse} for\n\ +ccolamd, csymamd, amd, colamd, symamd, and other related orderings.\n\ @seealso{colamd, csymamd}\n\ @end deftypefn") { @@ -390,10 +390,10 @@ \n\ The authors of the code itself are S. Larimore, T. Davis (Uni of Florida)\n\ and S. Rajamanickam in collaboration with J. Bilbert and E. Ng. Supported\n\ -by the National Science Foundation (DMS-9504974, DMS-9803599, CCR-0203270),\n\ -and a grant from Sandia National Lab. See\n\ -@url{http://www.cise.ufl.edu/research/sparse} for ccolamd, csymamd, amd,\n\ -colamd, symamd, and other related orderings.\n\ +by the National Science Foundation\n\ +@nospell{(DMS-9504974, DMS-9803599, CCR-0203270)}, and a grant from Sandia\n\ +National Lab. See @url{http://www.cise.ufl.edu/research/sparse} for\n\ +ccolamd, csymamd, amd, colamd, symamd, and other related orderings.\n\ @seealso{symamd, ccolamd}\n\ @end deftypefn") { diff --git a/libinterp/dldfcn/fftw.cc b/libinterp/dldfcn/fftw.cc --- a/libinterp/dldfcn/fftw.cc +++ b/libinterp/dldfcn/fftw.cc @@ -56,7 +56,7 @@ will save the existing wisdom used by Octave to the string @var{wisdom}.\n\ This string can then be saved to a file and restored using the @code{save}\n\ and @code{load} commands respectively. This existing wisdom can be\n\ -reimported as follows\n\ +re-imported as follows\n\ \n\ @example\n\ fftw (\"dwisdom\", @var{wisdom})\n\ diff --git a/libinterp/interpfcn/graphics.cc b/libinterp/interpfcn/graphics.cc --- a/libinterp/interpfcn/graphics.cc +++ b/libinterp/interpfcn/graphics.cc @@ -9925,7 +9925,7 @@ A string property. @var{arg} contains the default string value.\n\ \n\ @item any\n\ -An un-typed property. This kind of property can hold any octave\n\ +An @nospell{un-typed} property. This kind of property can hold any octave\n\ value. @var{args} contains the default value.\n\ \n\ @item radio\n\ diff --git a/scripts/general/structfun.m b/scripts/general/structfun.m --- a/scripts/general/structfun.m +++ b/scripts/general/structfun.m @@ -64,8 +64,8 @@ ## ## @noindent ## where there is an additional input argument to @var{errfunc} relative to -## @var{func}, given by @var{se}. This is a structure with the elements -## "identifier", "message" and "index", giving respectively the error +## @var{func}, given by @nospell{@var{se}}. This is a structure with the +## elements "identifier", "message" and "index", giving respectively the error ## identifier, the error message, and the index into the input arguments ## of the element that caused the error. For an example on how to use ## an error handler, @pxref{docXcellfun, @code{cellfun}}. diff --git a/scripts/image/ind2rgb.m b/scripts/image/ind2rgb.m --- a/scripts/image/ind2rgb.m +++ b/scripts/image/ind2rgb.m @@ -26,12 +26,13 @@ ## image, pixels in @var{x} outside the range are mapped to the last color in ## the map. ## -## The output may be a single RGB image (MxNx3 matrix where M and N are the -## original image @var{x} dimensions, one for each of the red, green and blue -## channels). Alternatively, the individual red, green, and blue color matrices -## of size MxN may be returned. +## The output may be a single RGB image (@nospell{MxNx3} matrix where M and N +## are the original image @var{x} dimensions, one for each of the red, green +## and blue channels). Alternatively, the individual red, green, and blue +## color matrices of size @nospell{MxN} may be returned. ## -## Multi-dimensional indexed images (of size MxNx1xK) are also supported. +## Multi-dimensional indexed images (of size @nospell{MxNx1xK}) are also +## supported. ## ## @seealso{rgb2ind, ind2gray, hsv2rgb, ntsc2rgb} ## @end deftypefn diff --git a/scripts/image/rgb2ind.m b/scripts/image/rgb2ind.m --- a/scripts/image/rgb2ind.m +++ b/scripts/image/rgb2ind.m @@ -36,7 +36,8 @@ ## Convert an image in red-green-blue (RGB) color space to an indexed image. ## ## The input image @var{rgb} must be an N-dimensional RGB image -## (MxNxO@dots{}x3 array) where M,N,O@dots{} are the image dimensions, and the +## (@nospell{MxNxO}@dots{}x3 array) where M,N,O@dots{} are the image +## dimensions, and the ## final dimension contains the values in the red, green and blue ## channels. Alternatively, the red, green and blue color channels can ## be input as separate arrays @var{R}, @var{G} and @var{B}. diff --git a/scripts/io/importdata.m b/scripts/io/importdata.m --- a/scripts/io/importdata.m +++ b/scripts/io/importdata.m @@ -43,9 +43,9 @@ ## Different file types are supported: ## ## @itemize -## @item Ascii table +## @item ASCII table ## -## Importing ascii table using the specified number of header rows and +## Importing ASCII table using the specified number of header rows and ## the specified delimiter. ## ## @item Image file @@ -54,7 +54,7 @@ ## ## @item Spreadsheet files (depending on external software) ## -## @item Wav file +## @item WAV file ## ## @end itemize ## diff --git a/scripts/linear-algebra/duplication_matrix.m b/scripts/linear-algebra/duplication_matrix.m --- a/scripts/linear-algebra/duplication_matrix.m +++ b/scripts/linear-algebra/duplication_matrix.m @@ -23,7 +23,7 @@ ## $D_n$ ## @end tex ## @ifnottex -## @math{Dn} +## @nospell{@math{Dn}} ## @end ifnottex ## which is the unique ## @tex @@ -37,7 +37,7 @@ ## $D_n * {\rm vech} (A) = {\rm vec} (A)$ ## @end tex ## @ifnottex -## @math{Dn vech (A) = vec (A)} +## @nospell{@math{Dn vech (A) = vec (A)}} ## @end ifnottex ## for all symmetric ## @tex diff --git a/scripts/linear-algebra/housh.m b/scripts/linear-algebra/housh.m --- a/scripts/linear-algebra/housh.m +++ b/scripts/linear-algebra/housh.m @@ -47,7 +47,7 @@ ## ## @table @var ## @item beta -## If beta = 0, then no reflection need be applied (zer set to 0) +## If beta = 0, then no reflection need be applied (@nospell{zer} set to 0) ## ## @item housv ## householder vector diff --git a/scripts/miscellaneous/mkoctfile.m b/scripts/miscellaneous/mkoctfile.m --- a/scripts/miscellaneous/mkoctfile.m +++ b/scripts/miscellaneous/mkoctfile.m @@ -53,13 +53,13 @@ ## @item -R DIR ## Add the run-time path to the link command. ## -## @item -Wl,@dots{} -## Pass flags though the linker like "-Wl,-rpath=@dots{}". +## @item @nospell{-Wl,@dots{}} +## Pass flags though the linker like @nospell{"-Wl,-rpath=@dots{}"}. ## The quotes are needed since commas are interpreted as command ## separators. ## ## @item -W@dots{} -## Pass flags though the compiler like "-Wa,OPTION". +## Pass flags though the compiler like @nospell{"-Wa,OPTION"}. ## ## @item -c ## Compile but do not link. diff --git a/scripts/plot/comet3.m b/scripts/plot/comet3.m --- a/scripts/plot/comet3.m +++ b/scripts/plot/comet3.m @@ -26,7 +26,7 @@ ## is specified then @var{x}, @var{y} default to the indices of @var{z}. ## ## The speed of the comet may be controlled by @var{p}, which represents the -## time each point is displayed before moving tothe next one. The default for +## time each point is displayed before moving to the next one. The default for ## @var{p} is 0.1 seconds. ## ## If @var{hax} is specified the animation is produced in that axis rather than diff --git a/scripts/plot/gco.m b/scripts/plot/gco.m --- a/scripts/plot/gco.m +++ b/scripts/plot/gco.m @@ -27,7 +27,7 @@ ## If the last mouse click didn't occur on any child object of the figure, ## the current object is the figure itself. ## -## If no mouse click occured in the target figure, this function returns an +## If no mouse click occurred in the target figure, this function returns an ## empty matrix. ## ## Note that the value returned by this function is not necessarily the same diff --git a/scripts/plot/legend.m b/scripts/plot/legend.m --- a/scripts/plot/legend.m +++ b/scripts/plot/legend.m @@ -125,7 +125,7 @@ ## The legend label text is either provided in the call to @code{legend} or ## is taken from the DisplayName property of graphics objects. If no ## labels or DisplayNames are available, then the label text is simply -## "data1", "data2", @dots{}, "dataN". +## "data1", "data2", @dots{}, @nospell{"dataN"}. ## @end deftypefn function [hlegend2, hobjects2, hplot2, text_strings2] = legend (varargin) diff --git a/scripts/plot/print.m b/scripts/plot/print.m --- a/scripts/plot/print.m +++ b/scripts/plot/print.m @@ -175,7 +175,7 @@ ## ## @table @code ## @item ljet2p -## HP LaserJet IIP +## HP LaserJet @nospell{IIP} ## ## @item ljet3 ## HP LaserJet III @@ -263,7 +263,7 @@ ## @end group ## @end example ## -## Example: Print to an HP Deskjet 550C. +## Example: Print to an HP DeskJet 550C. ## ## @example ## @group diff --git a/scripts/signal/fftshift.m b/scripts/signal/fftshift.m --- a/scripts/signal/fftshift.m +++ b/scripts/signal/fftshift.m @@ -24,7 +24,7 @@ ## center of the vector or matrix. ## ## If @var{x} is a vector of @math{N} elements corresponding to @math{N} -## time samples spaced by @math{dt}, then +## time samples spaced by @nospell{@math{dt}}, then ## @code{fftshift (fft (@var{x}))} corresponds to frequencies ## ## @example @@ -32,7 +32,7 @@ ## @end example ## ## @noindent -## where @nospell{@math{df}} = 1 / @math{dt}. +## where @nospell{@math{df} = 1 / @math{dt}}. ## ## If @var{x} is a matrix, the same holds for rows and columns. If ## @var{x} is an array, then the same holds along each dimension. diff --git a/scripts/signal/periodogram.m b/scripts/signal/periodogram.m --- a/scripts/signal/periodogram.m +++ b/scripts/signal/periodogram.m @@ -48,7 +48,7 @@ ## "@nospell{twosided}" computes spectrum from [0..nfft-1]. These strings ## can appear at any position in the list input arguments after window. ## -## @item Pxx: one-, or two-sided power spectrum. +## @item @nospell{Pxx}: one-, or two-sided power spectrum. ## ## @item w: angular frequency [0..2*pi) (two-sided) or [0..pi] one-sided. ## diff --git a/scripts/sparse/pcg.m b/scripts/sparse/pcg.m --- a/scripts/sparse/pcg.m +++ b/scripts/sparse/pcg.m @@ -206,9 +206,10 @@ ## SIAM, 1995. (the base PCG algorithm) ## ## @item -## Y. Saad, @cite{Iterative Methods for Sparse Linear Systems}, PWS 1996. -## (condition number estimate from PCG) Revised version of this book is -## available online at @url{http://www-users.cs.umn.edu/~saad/books.html} +## Y. Saad, @cite{Iterative Methods for Sparse Linear Systems}, +## @nospell{PWS} 1996. (condition number estimate from PCG) +## Revised version of this book is available online at +## @url{http://www-users.cs.umn.edu/~saad/books.html} ## @end enumerate ## ## @seealso{sparse, pcr} diff --git a/scripts/statistics/tests/f_test_regression.m b/scripts/statistics/tests/f_test_regression.m --- a/scripts/statistics/tests/f_test_regression.m +++ b/scripts/statistics/tests/f_test_regression.m @@ -18,8 +18,8 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {[@var{pval}, @var{f}, @var{df_num}, @var{df_den}] =} f_test_regression (@var{y}, @var{x}, @var{rr}, @var{r}) -## Perform an F test for the null hypothesis rr * b = r in a classical -## normal regression model y = X * b + e. +## Perform an F test for the null hypothesis @nospell{rr * b = r} in a +## classical normal regression model y = X * b + e. ## ## Under the null, the test statistic @var{f} follows an F distribution ## with @var{df_num} and @var{df_den} degrees of freedom. diff --git a/scripts/statistics/tests/t_test_regression.m b/scripts/statistics/tests/t_test_regression.m --- a/scripts/statistics/tests/t_test_regression.m +++ b/scripts/statistics/tests/t_test_regression.m @@ -18,20 +18,23 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {[@var{pval}, @var{t}, @var{df}] =} t_test_regression (@var{y}, @var{x}, @var{rr}, @var{r}, @var{alt}) -## Perform an t test for the null hypothesis @code{@var{rr} * @var{b} = -## @var{r}} in a classical normal regression model @code{@var{y} = -## @var{x} * @var{b} + @var{e}}. Under the null, the test statistic @var{t} -## follows a @var{t} distribution with @var{df} degrees of freedom. +## Perform a t test for the null hypothesis +## @nospell{@code{@var{rr} * @var{b} = @var{r}}} in a classical normal +## regression model @code{@var{y} = @var{x} * @var{b} + @var{e}}. Under the +## null, the test statistic @var{t} follows a @var{t} distribution with +## @var{df} degrees of freedom. ## ## If @var{r} is omitted, a value of 0 is assumed. ## ## With the optional argument string @var{alt}, the alternative of ## interest can be selected. If @var{alt} is @code{"!="} or ## @code{"<>"}, the null is tested against the two-sided alternative -## @code{@var{rr} * @var{b} != @var{r}}. If @var{alt} is @code{">"}, the -## one-sided alternative @code{@var{rr} * @var{b} > @var{r}} is used. -## Similarly for @var{"<"}, the one-sided alternative @code{@var{rr} * -## @var{b} < @var{r}} is used. The default is the two-sided case. +## @nospell{@code{@var{rr} * @var{b} != @var{r}}}. If @var{alt} is @code{">"}, +## the one-sided alternative +## @nospell{@code{@var{rr} * @var{b} > @var{r}}} is used. Similarly for +## @var{"<"}, the one-sided alternative +## @nospell{@code{@var{rr} * @var{b} < @var{r}}} is used. The default is the +## two-sided case. ## ## The p-value of the test is returned in @var{pval}. ## diff --git a/scripts/strings/strjoin.m b/scripts/strings/strjoin.m --- a/scripts/strings/strjoin.m +++ b/scripts/strings/strjoin.m @@ -24,13 +24,13 @@ ## string. ## ## If no @var{delimiter} is specified, the elements of @var{cstr} -## seperated by a space. +## separated by a space. ## ## If @var{delimiter} is specified as a string, the cell-string array is ## joined using the string. Escape sequences are supported. ## ## If @var{delimiter} is a cell-string array whose length is one less -## than @var{cstr}, then the elemennts of @var{cstr} are joined by +## than @var{cstr}, then the elements of @var{cstr} are joined by ## interleaving the cell-string elements of @var{delimiter}. Escape ## sequences are not supported. ## diff --git a/scripts/strings/strsplit.m b/scripts/strings/strsplit.m --- a/scripts/strings/strsplit.m +++ b/scripts/strings/strsplit.m @@ -22,7 +22,7 @@ ## @deftypefnx {Function File} {[@var{cstr}] =} strsplit (@dots{}, @var{name}, @var{value}) ## @deftypefnx {Function File} {[@var{cstr}, @var{matches}] =} strsplit (@dots{}) ## Split the string @var{s} using the delimiters specified by @var{del} -## and return a cell-string array of sub-strings. If a delmiter is not +## and return a cell-string array of sub-strings. If a delimiter is not ## specified the string, @var{s}, is split at whitespace. The delimiter, ## @var{del} may be a string, a scalar cell-string, or cell-string array. ## @var{del} must be a cell-string array. By default, consecutive