FunctionsHypotenuse(Double, Double) Method
Numerically stable hypotenuse of a right angle triangle.
Namespace: Austra.Library.StatsAssembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+44e7797405725ef3cf24b3ff0eba94ce6c649601
public static double Hypotenuse(
double a,
double b
)
- a Double
- The length of side a of the triangle.
- b Double
- The length of side b of the triangle.
DoubleReturns sqrt(a^2 + b^2) without underflow/overflow.