|
ToolsHypotenuse Method (Double, Double)
|
Hypotenuse calculus without overflow/underflow
Namespace:
Accord.Math
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static double Hypotenuse(
double a,
double b
)
Public Shared Function Hypotenuse (
a As Double,
b As Double
) As Double
Request Example
View SourceParameters
- a
- Type: SystemDouble
First value - b
- Type: SystemDouble
Second value
Return Value
Type:
DoubleThe hypotenuse Sqrt(a^2 + b^2)
See Also