FunctionsHypotenuse(Double, Double) Method |
Numerically stable hypotenuse of a right angle triangle.
Namespace: Austra.Library.StatsAssembly: Austra.Library (in Austra.Library.dll) Version: 2.8.0+e1037fa8802b3ff162e26559d763b73334940b70
Syntaxpublic static double Hypotenuse(
double a,
double b
)
Parameters
- a Double
- The length of side a of the triangle.
- b Double
- The length of side b of the triangle.
Return Value
DoubleReturns sqrt(a^2 + b^2) without underflow/overflow.
See Also