# HG changeset patch # User Brian Gough # Date 1231824427 18000 # Node ID 836618fee9d6a052e015d633cb5ea0f89571b5b3 # Parent 2f5a2c58c15e86ae2bc5d027b3c062626d83d0b2 [docs] add hyphen diff -r 2f5a2c58c15e -r 836618fee9d6 scripts/general/nthroot.m --- a/scripts/general/nthroot.m Tue Jan 13 00:27:03 2009 -0500 +++ b/scripts/general/nthroot.m Tue Jan 13 00:27:07 2009 -0500 @@ -22,7 +22,7 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {} nthroot (@var{x}, @var{n}) ## -## Compute the nth root of @var{x}, returning real results for real +## Compute the n-th root of @var{x}, returning real results for real ## components of @var{x}. For example ## ## @example diff -r 2f5a2c58c15e -r 836618fee9d6 scripts/geometry/rectint.m --- a/scripts/geometry/rectint.m Tue Jan 13 00:27:03 2009 -0500 +++ b/scripts/geometry/rectint.m Tue Jan 13 00:27:07 2009 -0500 @@ -25,8 +25,8 @@ ## dimensions. ## ## If @var{a} or @var{b} are matrices, then the output, @var{area}, is a -## matrix where the ith row corresponds to the ith row of a and the jth -## column corresponds to the jth row of b. +## matrix where the i-th row corresponds to the i-th row of a and the j-th +## column corresponds to the j-th row of b. ## ## @seealso{polyarea} ## @end deftypefn diff -r 2f5a2c58c15e -r 836618fee9d6 scripts/linear-algebra/housh.m --- a/scripts/linear-algebra/housh.m Tue Jan 13 00:27:03 2009 -0500 +++ b/scripts/linear-algebra/housh.m Tue Jan 13 00:27:07 2009 -0500 @@ -20,7 +20,7 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {[@var{housv}, @var{beta}, @var{zer}] =} housh (@var{x}, @var{j}, @var{z}) ## Compute Householder reflection vector @var{housv} to reflect @var{x} -## to be the jth column of identity, i.e., +## to be the j-th column of identity, i.e., ## ## @example ## @group diff -r 2f5a2c58c15e -r 836618fee9d6 scripts/plot/ndgrid.m --- a/scripts/plot/ndgrid.m Tue Jan 13 00:27:03 2009 -0500 +++ b/scripts/plot/ndgrid.m Tue Jan 13 00:27:07 2009 -0500 @@ -20,9 +20,9 @@ ## @deftypefn {Function File} {[@var{y1}, @var{y2}, @dots{}, @var{y}n] =} ndgrid (@var{x1}, @var{x2}, @dots{}, @var{x}n) ## @deftypefnx {Function File} {[@var{y1}, @var{y2}, @dots{}, @var{y}n] =} ndgrid (@var{x}) ## Given n vectors @var{x1}, @dots{} @var{x}n, @code{ndgrid} returns -## n arrays of dimension n. The elements of the ith output argument +## n arrays of dimension n. The elements of the i-th output argument ## contains the elements of the vector @var{x}i repeated over all -## dimensions different from the ith dimension. Calling ndgrid with +## dimensions different from the i-th dimension. Calling ndgrid with ## only one input argument @var{x} is equivalent of calling ndgrid with ## all n input arguments equal to @var{x}: ## diff -r 2f5a2c58c15e -r 836618fee9d6 scripts/polynomial/mkpp.m --- a/scripts/polynomial/mkpp.m Tue Jan 13 00:27:03 2009 -0500 +++ b/scripts/polynomial/mkpp.m Tue Jan 13 00:27:07 2009 -0500 @@ -21,7 +21,7 @@ ## @deftypefnx {Function File} {@var{pp} =} mkpp (@var{x}, @var{p}, @var{d}) ## ## Construct a piece-wise polynomial structure from sample points -## @var{x} and coefficients @var{p}. The ith row of @var{p}, +## @var{x} and coefficients @var{p}. The i-th row of @var{p}, ## @code{@var{p} (@var{i},:)}, contains the coefficients for the polynomial ## over the @var{i}-th interval, ordered from highest to ## lowest. There must be one row for each interval in @var{x}, so diff -r 2f5a2c58c15e -r 836618fee9d6 scripts/polynomial/residue.m --- a/scripts/polynomial/residue.m Tue Jan 13 00:27:03 2009 -0500 +++ b/scripts/polynomial/residue.m Tue Jan 13 00:27:07 2009 -0500 @@ -44,7 +44,7 @@ ## where @math{M} is the number of poles (the length of the @var{r}, ## @var{p}, and @var{e}), the @var{k} vector is a polynomial of order @math{N-1} ## representing the direct contribution, and the @var{e} vector specifies -## the multiplicity of the mth residue's pole. +## the multiplicity of the m-th residue's pole. ## ## For example, ##