Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Return a square diagonal matrix with the specified vector of coefficients as the diagonal values.
EigVec | type of the vector (must be derived from Eigen::MatrixBase and have one compile time dimmension equal to 1) |
[in] | v | Specified vector. |
Definition at line 21 of file diag_matrix.hpp.