Mercurial > hg > octave-nkf
diff scripts/general/gradient.m @ 9141:c1fff751b5a8
Update section 17.1 (Utility Functions) of arith.txi
Split section into "Exponents and Logarithms" and "Utility Functions"
Use Tex in many more of the doc strings for pretty printing in pdf format.
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Mon, 20 Apr 2009 17:16:09 -0700 |
parents | 1bf0ce0930be |
children | 8c71a86c4bf4 |
line wrap: on
line diff
--- a/scripts/general/gradient.m +++ b/scripts/general/gradient.m @@ -25,7 +25,7 @@ ## @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} +## 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 ## @var{m} is a matrix the gradient is calculated for each dimension. ## @@ -56,6 +56,7 @@ ## sampled data, the spacing values between the points from which the ## gradient is estimated can be set via the @var{s} or @var{dx}, ## @var{dy}, @dots{} arguments. By default a spacing of 1 is used. +## @seealso{diff, del2} ## @end deftypefn ## Author: Kai Habel <kai.habel@gmx.de>