changeset 19072:9e3c35d934ab

doc: Periodic spell check of documentation. * aspell-octave.en.pws: Add new words to custom Octave dictionary. * plot.txi: Correct typo "informations" to "information". * data.cc (Fdiag): Use superdiagonal and subdiagonal instead of hyphenated versions. * tril.cc (Ftril): Use superdiagonal and subdiagonal instead of hyphenated versions. * vech.m: Use superdiagonal instead of supradiagonal. * surfnorm.m: Correct typo "returne" to "returned". * periodogram.m: Use "one-sided" rather than "onesided", "two-sided" rather than "twosided".
author Rik <rik@octave.org>
date Thu, 21 Aug 2014 09:51:18 -0700
parents d900f863335c
children f45b60897316
files doc/interpreter/doccheck/aspell-octave.en.pws doc/interpreter/plot.txi libinterp/corefcn/data.cc libinterp/corefcn/tril.cc scripts/linear-algebra/vech.m scripts/plot/draw/surfnorm.m scripts/signal/periodogram.m
diffstat 7 files changed, 15 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/doccheck/aspell-octave.en.pws	Thu Aug 21 09:46:25 2014 -0700
+++ b/doc/interpreter/doccheck/aspell-octave.en.pws	Thu Aug 21 09:51:18 2014 -0700
@@ -184,6 +184,7 @@
 CRLF
 csymamd
 ctranspose
+Ctrl
 CTRL
 CTS
 cummax
@@ -746,6 +747,7 @@
 Orthogonalize
 oslash
 otimes
+outerposition
 OutputFcn
 outputfcn
 overridable
@@ -980,6 +982,7 @@
 struct
 structs
 subarrays
+subdiagonals
 subdirectories
 subdirectory
 subexpressions
@@ -1011,8 +1014,10 @@
 SuiteSparse
 sumsq
 SunOS
+superdiagonal
+superdiagonals
 superiorto
-supradiagonal
+superscripting
 supset
 supseteq
 SV
--- a/doc/interpreter/plot.txi	Thu Aug 21 09:46:25 2014 -0700
+++ b/doc/interpreter/plot.txi	Thu Aug 21 09:51:18 2014 -0700
@@ -1560,7 +1560,7 @@
 --- Values: @qcode{"on"}, @qcode{"off"}
 
 @item selectiontype
-Holds informations about the last mouse button press within the figure.
+Holds information about the last mouse button press within the figure.
 May be one of
 @table @asis
 @item @qcode{"normal"}
--- a/libinterp/corefcn/data.cc	Thu Aug 21 09:46:25 2014 -0700
+++ b/libinterp/corefcn/data.cc	Thu Aug 21 09:51:18 2014 -0700
@@ -1333,8 +1333,8 @@
 @deftypefnx {Built-in Function} {@var{v} =} diag (@var{M}, @var{k})\n\
 Return a diagonal matrix with vector @var{v} on diagonal @var{k}.  The\n\
 second argument is optional.  If it is positive, the vector is placed on\n\
-the @var{k}-th super-diagonal.  If it is negative, it is placed on the\n\
-@var{-k}-th sub-diagonal.  The default value of @var{k} is 0, and the\n\
+the @var{k}-th superdiagonal.  If it is negative, it is placed on the\n\
+@var{-k}-th subdiagonal.  The default value of @var{k} is 0, and the\n\
 vector is placed on the main diagonal.  For example:\n\
 \n\
 @example\n\
--- a/libinterp/corefcn/tril.cc	Thu Aug 21 09:46:25 2014 -0700
+++ b/libinterp/corefcn/tril.cc	Thu Aug 21 09:51:18 2014 -0700
@@ -367,7 +367,7 @@
 diagonal; above for positive @var{k} and below for negative @var{k}.\n\
 \n\
 The absolute value of @var{k} must not be greater than the number of\n\
-sub-diagonals or super-diagonals.\n\
+subdiagonals or superdiagonals.\n\
 \n\
 For example:\n\
 \n\
--- a/scripts/linear-algebra/vech.m	Thu Aug 21 09:46:25 2014 -0700
+++ b/scripts/linear-algebra/vech.m	Thu Aug 21 09:51:18 2014 -0700
@@ -19,7 +19,7 @@
 
 ## -*- texinfo -*-
 ## @deftypefn {Function File} {} vech (@var{x})
-## Return the vector obtained by eliminating all supradiagonal elements of
+## Return the vector obtained by eliminating all superdiagonal elements of
 ## the square matrix @var{x} and stacking the result one column above the
 ## other.  This has uses in matrix calculus where the underlying matrix
 ## is symmetric and it would be pointless to keep values above the main
--- a/scripts/plot/draw/surfnorm.m	Thu Aug 21 09:46:25 2014 -0700
+++ b/scripts/plot/draw/surfnorm.m	Thu Aug 21 09:51:18 2014 -0700
@@ -40,7 +40,7 @@
 ## rather than the current axes returned by @code{gca}.
 ##
 ## If output arguments are requested then the components of the normal
-## vectors are returne in @var{nx}, @var{ny}, and @var{nz} and no plot is
+## vectors are returned in @var{nx}, @var{ny}, and @var{nz} and no plot is
 ## made.
 ##
 ## An example of the use of @code{surfnorm} is
--- a/scripts/signal/periodogram.m	Thu Aug 21 09:46:25 2014 -0700
+++ b/scripts/signal/periodogram.m	Thu Aug 21 09:51:18 2014 -0700
@@ -60,14 +60,14 @@
 ## @end table
 ##
 ## The optional second output @var{w} are the normalized angular frequencies.
-## For a onesided calculation @var{w} is in the range [0, pi] if @var{nfft}
-## is even and [0, pi) if @var{nfft} is odd.  Similarly, for a twosided
+## For a one-sided calculation @var{w} is in the range [0, pi] if @var{nfft}
+## is even and [0, pi) if @var{nfft} is odd.  Similarly, for a two-sided
 ## calculation @var{w} is in the range [0, 2*pi] or [0, 2*pi) depending on
 ## @var{nfft}.
 ##
 ## If a sampling frequency is specified, @var{Fs}, then the output frequencies
 ## @var{f} will be in the range [0, @var{Fs}/2] or [0, @var{Fs}/2) for
-## onesided calculations.  For twosided calculations the range will be
+## one-sided calculations.  For two-sided calculations the range will be
 ## [0, @var{Fs}).
 ## 
 ## When called with no outputs the periodogram is immediately plotted in the