Stan Math Library
4.9.0
Automatic Differentiation
|
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 1
and x2
, the result is sqrt(x1 * x1 + x2 * x2)
.
T | inner type of the fvar |
x1 | First argument. |
x2 | Second argument. |