Stan Math Library
4.9.0
Automatic Differentiation
|
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 | |
void | stan::math::zero_adjoints () noexcept |
End of recursion for set_zero_adjoints. | |
template<typename T , require_st_arithmetic< T > * = nullptr> | |
void | stan::math::zero_adjoints (T &x) noexcept |
Do nothing for non-autodiff arguments. | |
void | stan::math::zero_adjoints (var &x) |
Zero the adjoint of the vari in the first argument. | |
template<typename EigMat , require_eigen_vt< is_autodiff, EigMat > * = nullptr> | |
void | stan::math::zero_adjoints (EigMat &x) |
Zero the adjoints of the varis of every var in an Eigen::Matrix container. | |
template<typename StdVec , require_std_vector_st< is_autodiff, StdVec > * = nullptr> | |
void | stan::math::zero_adjoints (StdVec &x) |
Zero the adjoints of every element in a vector. | |