changeset 6939:46d1ad37d943

[project @ 2007-10-01 16:12:20 by jwe]
author jwe
date Mon, 01 Oct 2007 16:12:20 +0000
parents 688ef9440022
children cf41866340d3
files doc/interpreter/arith.txi doc/interpreter/basics.txi doc/interpreter/container.txi doc/interpreter/dynamic.txi doc/interpreter/expr.txi doc/interpreter/interp.txi doc/interpreter/io.txi doc/interpreter/linalg.txi doc/interpreter/optim.txi doc/interpreter/quad.txi doc/interpreter/sparse.txi doc/interpreter/stats.txi doc/interpreter/stmt.txi doc/interpreter/system.txi
diffstat 14 files changed, 35 insertions(+), 35 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/arith.txi
+++ b/doc/interpreter/arith.txi
@@ -110,7 +110,7 @@
 @section Trigonometry
 
 Octave provides the following trigonometric functions.  Angles are
-specified in radians.  To convert from degrees to radians multipy by
+specified in radians.  To convert from degrees to radians multiply by
 @iftex
 @tex
 $\pi/180$
--- a/doc/interpreter/basics.txi
+++ b/doc/interpreter/basics.txi
@@ -682,7 +682,7 @@
 @node Diary and Echo Commands
 @subsection Diary and Echo Commands
 @cindex diary of commands and output
-@cindex command and ouput logs
+@cindex command and output logs
 @cindex logging commands and output
 @cindex echoing executing commands
 @cindex command echoing
@@ -849,7 +849,7 @@
 characters that are recognized after @samp{#!}.  Also, the various
 shells/systems parse differently the arguments appearing in a @samp{#!} 
 line.  The majority of them group together all the arguments in a string
-and pass it to the interepreter as a single argument.  In this case, the
+and pass it to the interpreter as a single argument.  In this case, the
 following script:
 
 @example
--- a/doc/interpreter/container.txi
+++ b/doc/interpreter/container.txi
@@ -6,7 +6,7 @@
 @chapter Data Containers
 @cindex containers
 
-Octave includes support for two different mechanaisms to contain
+Octave includes support for two different mechanisms to contain
 arbitrary data types in the same variable. Structures, which are C-like,
 and are indexed with named fields, and cell arrays, where each element
 of the array can have a different data type and or shape.
@@ -262,7 +262,7 @@
 @end group
 @end example
 
-Furthermore, the structure array can return a comma seperated list
+Furthermore, the structure array can return a comma separated list
 (@pxref{Comma Separated Lists}), if indexed by one of itself field
 names. For example
 
@@ -401,14 +401,14 @@
 @node Processing Data in Structures
 @subsection Processing Data in Structures
 
-The simpliest way to process data in a structure is within a @code{for}
+The simplest way to process data in a structure is within a @code{for}
 loop or othe means of iterating over the fields. A similar effect can be
 achieved with the @code{structfun} function, where a user defined
-function is applied to eacg field of the structure.
+function is applied to each field of the structure.
 
 @DOCSTRING(structfun)
 
-Alternatively, to process the data in a strcuture, the structure might
+Alternatively, to process the data in a structure, the structure might
 be converted to another type of container before being treated.
 
 @DOCSTRING(struct2cell)
@@ -537,7 +537,7 @@
 @end example
 
 @noindent
-As can be seen, the @code{size} function also work for cell arrays. As
+As can be seen, the @code{size} function also works for cell arrays. As
 do the other functions describing the size of an object, such as
 @code{length}, @code{numel}, @code{rows}, and @code{columns}.
 
@@ -633,7 +633,7 @@
 
 One further advantage of using cell arrays to store multiple strings, is
 that most functions for string manipulations included with Octave
-supports this representation. As an example, it is possible to compare
+support this representation. As an example, it is possible to compare
 one string with many others using the @code{strcmp} function. If one of
 the arguments to this function is a string and the other is a cell array
 of strings, each element of the cell array will be compared the string
@@ -780,7 +780,7 @@
 @end group
 @end example
 
-Structures arrays can equally be used to create comma separated
+Structure arrays can equally be used to create comma separated
 lists. This is done by addresses one of the fields of a structure
 array. For example
 
--- a/doc/interpreter/dynamic.txi
+++ b/doc/interpreter/dynamic.txi
@@ -38,7 +38,7 @@
 
 @itemize @bullet
 @item
-Can I get the same functionality using the Octave scripting language only.
+Can I get the same functionality using the Octave scripting language only?
 @item
 Is it thoroughly optimized Octave code?  Vectorization of Octave code,
 doesn't just make it concise, it generally significantly improves its
@@ -1296,7 +1296,7 @@
 
 The basic functions to access the data contained in an array is
 @code{mxGetPr}.  As the mex interface assumes that the real and imaginary
-parts of a complex array are stored seperately, there is an equivalent
+parts of a complex array are stored separately, there is an equivalent
 function @code{mxGetPi} that get the imaginary part.  Both of these
 functions are for use only with double precision matrices.  There also
 exists the generic function @code{mxGetData} and @code{mxGetImagData}
@@ -1508,7 +1508,7 @@
 The Octave format for sparse matrices is identical to the mex format in
 that it is a compressed colument sparse format.  Also in both, sparse
 matrices are required to be two dimensional.  The only difference is that
-the real and imaginary parts of the matrix are stored seperately.
+the real and imaginary parts of the matrix are stored separately.
 
 The mex-file interface, as well as using @code{mxGetM}, @code{mxGetN},
 @code{mxSetM}, @code{mxSetN}, @code{mxGetPr}, @code{mxGetPi},
--- a/doc/interpreter/expr.txi
+++ b/doc/interpreter/expr.txi
@@ -113,7 +113,7 @@
 desired result.  @xref{Special Utility Matrices}.
 
 It is also possible to create a matrix with different values. The
-following example create a 10 dimensional row vector @math{a} containing
+following example creates a 10 dimensional row vector @math{a} containing
 the values
 @iftex
 @tex
@@ -314,7 +314,7 @@
 @subsection Recursion
 @cindex factorial function
 
-With some restrictions@footnote{Some of Octave's function are
+With some restrictions@footnote{Some of Octave's functions are
 implemented in terms of functions that cannot be called recursively.
 For example, the ODE solver @code{lsode} is ultimately implemented in a
 Fortran subroutine that cannot be called recursively, so @code{lsode}
--- a/doc/interpreter/interp.txi
+++ b/doc/interpreter/interp.txi
@@ -75,7 +75,7 @@
 @DOCSTRING(interpft)
 
 There are two significant limitations on Fourier interpolation. Firstly,
-the function signal is assumed to be periodic, and so no periodic
+the function signal is assumed to be periodic, and so non periodic
 signals will be poorly represented at the edges. Secondly, both the
 signal and its interpolation are required to be sampled at equispaced
 points. An example of the use of @code{interpft} is
@@ -122,7 +122,7 @@
 @node Multi-dimensional Interpolation
 @section Multi-dimensional Interpolation
 
-There are three multi-dimensional interpolation function in Octave, with
+There are three multi-dimensional interpolation functions in Octave, with
 similar capabilities.  Methods using Delaunay tessellation are described
 in @ref{Interpolation on Scattered Data}.
 
@@ -133,10 +133,10 @@
 @DOCSTRING(interpn)
 
 A significant difference between @code{interpn} and the other two
-multidimensional interpolation function is the fashion in which the
+multidimensional interpolation functions is the fashion in which the
 dimensions are treated. For @code{interp2} and @code{interp3}, the 'y'
 axis is considered to be the columns of the matrix, whereas the 'x'
-axis corresponds to the rows the the array. As Octave indexes arrays in
+axis corresponds to the rows of the array. As Octave indexes arrays in
 column major order, the first dimension of any array is the columns, and
 so @code{interpn} effectively reverses the 'x' and 'y' dimensions. 
 Consider the example
--- a/doc/interpreter/io.txi
+++ b/doc/interpreter/io.txi
@@ -930,8 +930,8 @@
 
 Octave can read and write binary data using the functions @code{fread}
 and @code{fwrite}, which are patterned after the standard C functions
-with the same names.  The are able to automatically swap the byte order
-of integer data and convert among ths supported floating point formats
+with the same names.  They are able to automatically swap the byte order
+of integer data and convert among the supported floating point formats
 as the data are read.
 
 @DOCSTRING(fread)
--- a/doc/interpreter/linalg.txi
+++ b/doc/interpreter/linalg.txi
@@ -32,7 +32,7 @@
 
 @enumerate 1
 @item If the matrix is upper or lower triangular sparse a forward or
-backward substition using the @sc{Lapack} xTRTRS function, and goto 4.
+backward substitution using the @sc{Lapack} xTRTRS function, and goto 4.
 
 @c Permuted triangular matrices currently disabled in the code
 @c
--- a/doc/interpreter/optim.txi
+++ b/doc/interpreter/optim.txi
@@ -104,7 +104,7 @@
 @section Linear Least Squares
 
 Octave also supports linear least squares minimization.  That is,
-Octave can find the parameter @math{b} such the the model
+Octave can find the parameter @math{b} such that the model
 @iftex
 @tex
 $y = xb$
--- a/doc/interpreter/quad.txi
+++ b/doc/interpreter/quad.txi
@@ -37,12 +37,12 @@
 Numerical integration using an adaptive Lobatto rule.
 
 @item trapz
-Numerical integration using the trapezodial method.
+Numerical integration using the trapezoidal method.
 @end table
 
 @noindent
 Besides these functions Octave also allows you to perform cumulative
-numerical integration using the trapezodial method through the
+numerical integration using the trapezoidal method through the
 @code{cumtrapz} function.
 
 @DOCSTRING(quad)
--- a/doc/interpreter/sparse.txi
+++ b/doc/interpreter/sparse.txi
@@ -787,9 +787,9 @@
 to 1 (i.e. @code{spparms ("bandden", 1)}).
 
 The QR solver factorizes the problem with a Dulmage-Mendhelsohn, to
-seperate the problem into blocks that can be treated as over-determined,
+separate the problem into blocks that can be treated as over-determined,
 multiple well determined blocks, and a final over-determined block. For
-matrices with blocks of strongly connectted nodes this is a big win as
+matrices with blocks of strongly connected nodes this is a big win as
 LU decomposition can be used for many blocks. It also significantly
 improves the chance of finding a solution to over-determined problems
 rather than just returning a vector of @dfn{NaN}'s.
@@ -800,8 +800,8 @@
 narrow banded, triangular or diagonal matrices, the cost of
 calculating the condition number is significant, and can in fact
 exceed the cost of factoring the matrix. Therefore the condition
-number is not calculated in these case, and Octave relies on simplier
-techniques to detect sinular matrices or the underlying LAPACK code in
+number is not calculated in these cases, and Octave relies on simpler
+techniques to detect singular matrices or the underlying LAPACK code in
 the case of banded matrices.
 
 The user can force the type of the matrix with the @code{matrix_type}
--- a/doc/interpreter/stats.txi
+++ b/doc/interpreter/stats.txi
@@ -24,8 +24,8 @@
 While this is the default data arrangement, most functions support
 different arrangements.
 
-It should be noted that the statistics functions doesn't handle data
-containing NaN, NA, or Inf.  Such values needs to be handled explicitly.
+It should be noted that the statistics functions don't handle data
+containing NaN, NA, or Inf.  Such values need to be handled explicitly.
 
 @menu
 * Descriptive Statistics::
@@ -162,7 +162,7 @@
 
 The tests return a p-value that describes the outcome of the test.
 Assuming that the test hypothesis is true, the p-value is the probability
-of obtaining a worse result then the observed one.  So large p-values
+of obtaining a worse result than the observed one.  So large p-values
 corresponds to a successful test.  Usually a test hypothesis is accepted
 if the p-value exceeds @math{0.05}.
 
--- a/doc/interpreter/stmt.txi
+++ b/doc/interpreter/stmt.txi
@@ -565,7 +565,7 @@
 @end example
 
 @noindent
-In the above case, the mulitdimensional matrix @var{c} is reshaped to a
+In the above case, the multidimensional matrix @var{c} is reshaped to a
 two dimensional matrix as @code{reshape (c, rows(c),
 prod(size(c)(2:end)))} and then the same behavior as a loop over a two
 dimensional matrix is produced.
--- a/doc/interpreter/system.txi
+++ b/doc/interpreter/system.txi
@@ -94,7 +94,7 @@
 
 Most of the remaining functions described in this section are not
 patterned after the standard C library.  Some are available for
-compatiblity with @sc{Matlab} and others are provided because they are
+compatibility with @sc{Matlab} and others are provided because they are
 useful.
 
 @DOCSTRING(clock)