Functions

fn_diagvec.hpp File Reference

Go to the source code of this file.

Functions

template<typename T1 >
arma_inline const Op< T1,
op_diagvec
diagvec (const Base< typename T1::elem_type, T1 > &X, const s32 diag_id=0)
 extract a diagonal from a matrix