Click or drag to resize

SpecialFunctionsHypotenuse(Complex32, Complex32) Method

Numerically stable hypotenuse of a right angle triangle, i.e.
C#
(a,b) -> sqrt(a^2 + b^2)

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static Complex32 Hypotenuse(
	Complex32 a,
	Complex32 b
)

Parameters

a  Complex32
The length of side a of the triangle.
b  Complex32
The length of side b of the triangle.

Return Value

Complex32
Returns
C#
sqrt(a<sup>2</sup> + b<sup>2</sup>)
without underflow/overflow.
See Also