Stan Math Library
4.9.0
Automatic Differentiation
|
#include <stan/math/rev/meta.hpp>
#include <stan/math/rev/core.hpp>
#include <stan/math/rev/fun/atan2.hpp>
#include <stan/math/rev/fun/cos.hpp>
#include <stan/math/rev/fun/hypot.hpp>
#include <stan/math/rev/fun/sin.hpp>
#include <stan/math/prim/fun/sqrt.hpp>
#include <cmath>
#include <complex>
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 | |
var | stan::math::sqrt (const var &a) |
Return the square root of the specified variable (cmath). | |
template<typename T , require_var_matrix_t< T > * = nullptr> | |
auto | stan::math::sqrt (const T &a) |
Return elementwise square root of vector. | |
std::complex< var > | stan::math::sqrt (const std::complex< var > &z) |
Return the square root of the complex argument. | |