SpecialFunctionsHypotenuse(Double, Double) Method |
Numerically stable hypotenuse of a right angle triangle, i.e.
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public 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<sup>2</sup> + b<sup>2</sup>)
without underflow/overflow.
See Also