Mercurial > hg > octave-nkf
diff scripts/general/gradient.m @ 9165:8c71a86c4bf4
Update section 17.5 (Utility Functions) of arith.txi
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Fri, 01 May 2009 10:06:16 -0700 |
parents | c1fff751b5a8 |
children | 95c3e38098bf |
line wrap: on
line diff
--- a/scripts/general/gradient.m +++ b/scripts/general/gradient.m @@ -25,8 +25,8 @@ ## @deftypefnx {Function File} {[@dots{}] =} gradient (@var{f}, @var{x0}, @var{s}) ## @deftypefnx {Function File} {[@dots{}] =} gradient (@var{f}, @var{x0}, @var{x}, @var{y}, @dots{}) ## -## Calculate the gradient of sampled data or of a function. If @var{m} -## is a vector, calculate the one dimensional gradient of @var{m}. If +## Calculate the gradient of sampled data or a function. If @var{m} +## is a vector, calculate the one-dimensional gradient of @var{m}. If ## @var{m} is a matrix the gradient is calculated for each dimension. ## ## @code{[@var{dx}, @var{dy}] = gradient (@var{m})} calculates the one