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