Stan Math Library
5.0.0
Automatic Differentiation
|
#include <stan/math/fwd/meta.hpp>
#include <stan/math/fwd/core.hpp>
#include <stan/math/prim/fun/hypot.hpp>
#include <cmath>
Go to the source code of this file.
Namespaces | |
namespace | stan |
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation. | |
namespace | stan::math |
Matrices and templated mathematical functions. | |
Functions | |
template<typename T > | |
fvar< T > | stan::math::hypot (const fvar< T > &x1, const fvar< T > &x2) |
Return the length of the hypotenuse of a right triangle with opposite and adjacent side lengths given by the specified arguments (C++11). | |
template<typename T > | |
fvar< T > | stan::math::hypot (const fvar< T > &x1, double x2) |
Return the length of the hypotenuse of a right triangle with opposite and adjacent side lengths given by the specified arguments (C++11). | |
template<typename T > | |
fvar< T > | stan::math::hypot (double x1, const fvar< T > &x2) |
Return the length of the hypotenuse of a right triangle with opposite and adjacent side lengths given by the specified arguments (C++11). | |