[Changeset] Add the hypot function

David Bateman adb014 at gmail.com
Sun Mar 23 16:31:11 CDT 2008


Matlab maps the libm (or in their case the fdlib implementation of libm)
hypot function into matlab, that calculates sqrt(x.^2+y.^2) but in a way
that avoids overflows for large numbers. This patch adds the hypot
function to matlab and fixes a small issue with the atan2 function when
it is called with sparse matrices.

D.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch7793
Url: https://www.cae.wisc.edu/pipermail/octave-maintainers/attachments/20080323/b6702c6c/attachment.ksh 


More information about the Octave-maintainers mailing list