Go to the source code of this file.
Functions | |
template<typename T1 > | |
arma_inline const Op< T1, op_diagmat > | diagmat (const Base< typename T1::elem_type, T1 > &X) |
interpret a matrix or a vector as a diagonal matrix (i.e. off-diagonal entries are zero) |