Mercurial > hg > octave-lyh
diff src/data.cc @ 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 | 9cb0c21e97f7 |
children | 1231b1762a9a |
line wrap: on
line diff
--- a/src/data.cc +++ b/src/data.cc @@ -737,10 +737,10 @@ DEFUN (hypot, args, , "-*- texinfo -*-\n\ @deftypefn {Built-in Function} {} hypot (@var{x}, @var{y})\n\ -Compute the element-by-element square root of the squares of @var{x} and\n\ -@var{y}. This is equivalent to @code{sqrt (@var{x}.^ 2 + @var{y}\n\ -.^ 2)}, but calculated in a manner that avoids overflows for large\n\ -values of @var{x} or @var{y}.\n\ +Compute the element-by-element square root of the sum of the squares of\n\ +@var{x} and @var{y}. This is equivalent to\n\ +@code{sqrt (@var{x}.^2 + @var{y}.^2)}, but calculated in a manner that\n\ +avoids overflows for large values of @var{x} or @var{y}.\n\ @end deftypefn") { octave_value retval;