MatrixMathHypotenuse Method |
Calculates the hypotenuse length of a and b, i.e. the sqrt(a^2+b^2), avoiding overflow at large values.
Namespace: Altaxo.Calc.LinearAlgebraAssembly: 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
- First parameter.
- b Double
- Second parameter.
Return Value
DoubleThe square root of (a^2+b^2).
See Also