Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Return the length of the hypotenuse of a right triangle with opposite and adjacent side lengths given by the specified arguments (C++11).
In symbols, if the arguments are x
and y
, the result is sqrt(x * x + y * y)
.
x | First argument. |
y | Second argument. |