![]() |
Stan Math Library
5.3.0
Automatic Differentiation
|
|
inline |
Diagonal of a kernel generator expression.
Return a column vector of the diagonal elements of the specified matrix.
Diagonal is represented as a column vector.
| T | type of argument |
| a | input argument |
The matrix is not required to be square.
| T | type of the matrix |
| m | Specified matrix. |
Definition at line 136 of file diagonal.hpp.