Functions | |
template<typename T1 > | |
arma_inline const Op< T1, op_diagvec > | diagvec (const Base< typename T1::elem_type, T1 > &X, const sword diag_id=0) |
extract a diagonal from a matrix |
arma_inline const Op<T1, op_diagvec> diagvec | ( | const Base< typename T1::elem_type, T1 > & | X, |
const sword | diag_id = 0 |
||
) |
extract a diagonal from a matrix
Definition at line 22 of file fn_diagvec.hpp.