1 --- lib/JAMA/tnt_math_utils.h.orig 2006-06-17 01:46:22.000000000 +0300
2 +++ lib/JAMA/tnt_math_utils.h 2006-06-17 01:47:02.000000000 +0300
7 + @returns the absolute value of a real (no-complex) scalar.
10 +Real abs(const Real &a)
12 + return (a > 0 ? a : -a);
15 @returns hypotenuse of real (non-complex) scalars a and b by
16 avoiding underflow/overflow
17 using (a * sqrt( 1 + (b/a) * (b/a))), rather than
22 Real hypot(const Real &a, const Real &b)
29 - @returns the absolute value of a real (no-complex) scalar.
31 -template <class Real>
32 -Real abs(const Real &a)
34 - return (a > 0 ? a : -a);