![]() |
Stan Math Library
2.11.0
reverse mode automatic differentiation
|
#include <stan/math/prim/mat/fun/Eigen.hpp>
Go to the source code of this file.
Namespaces | |
stan | |
stan::math | |
Matrices and templated mathematical functions. | |
Functions | |
template<typename T > | |
Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic > | stan::math::diag_matrix (const Eigen::Matrix< T, Eigen::Dynamic, 1 > &v) |
Return a square diagonal matrix with the specified vector of coefficients as the diagonal values. More... | |