Ticket #28201: patch-mathutils
File patch-mathutils, 325 bytes (added by kthenriksson@…, 14 years ago) |
---|
Line | |
---|---|
1 | --- lib/JAMA/tnt_math_utils.h~ 2006-05-10 13:58:50.000000000 -0400 |
2 | +++ lib/JAMA/tnt_math_utils.h 2011-01-29 22:34:16.000000000 -0500 |
3 | @@ -19,6 +19,7 @@ |
4 | |
5 | namespace TNT |
6 | { |
7 | +template <class Real> Real abs(const Real &a); |
8 | /** |
9 | @returns hypotenuse of real (non-complex) scalars a and b by |
10 | avoiding underflow/overflow |