Esempio n. 1
0
 /**
  * Returns sqrt(a^2 + b^2) without under/overflow.
  *
  * @param a length of one side of rectangular triangle
  * @param b length of other side of rectangular triangle
  * @return lenght of third side
  */
 protected static double hypot(double a, double b) {
   return weka.core.matrix.Maths.hypot(a, b);
 }