|
ToolsHypotenuse Method (Single, Single)
|
Hypotenuse calculus without overflow/underflow
Namespace:
Accord.Math
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static float Hypotenuse(
float a,
float b
)
Public Shared Function Hypotenuse (
a As Single,
b As Single
) As Single
Request Example
View SourceParameters
- a
- Type: SystemSingle
first value - b
- Type: SystemSingle
second value
Return Value
Type:
SingleThe hypotenuse Sqrt(a^2 + b^2)
See Also