Click or drag to resize

FunctionsHypotenuse(Double) Method

Numerically stable hypotenuse of a right angle triangle.

Namespace: Austra.Library.Stats
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.8.0+77a1ed58155f905ef6d88f42ae024582c7e1b4c3
Syntax
C#
public static double Hypotenuse(
	double a
)

Parameters

a  Double
The length of side a of the triangle.

Return Value

Double
Returns sqrt(1 + a^2) without underflow/overflow.
See Also