Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.math
Class Mathutil

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.math.Mathutil

public class Mathutil
extends Object


Constructor Summary
Mathutil()
           
 
Method Summary
static double hypotenuse(double a, double b)
          Computes the squareroot of the sum of the squared arguments without under or overflow.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mathutil

public Mathutil()
Method Detail

hypotenuse

public static double hypotenuse(double a,
                                double b)
Computes the squareroot of the sum of the squared arguments without under or overflow.

Parameters:
a - first cathetus
b - second cathetus
Returns:
sqrt(a<sup>2</sup> + b<sup>2</sup>)

Release 0.1 (2008-07-10_1838)