![]() |
Stan Math Library
5.1.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 | |
| template<typename EigVec , require_eigen_vector_t< EigVec > * = nullptr> | |
| Eigen::Matrix< value_type_t< EigVec >, Eigen::Dynamic, Eigen::Dynamic > | stan::math::diag_matrix (const EigVec &v) |
| Return a square diagonal matrix with the specified vector of coefficients as the diagonal values. | |