Functions
Fn_diagvec

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

Function Documentation

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

Definition at line 22 of file fn_diagvec.hpp.



armadillo_matrix
Author(s): Conrad Sanderson - NICTA (www.nicta.com.au), (Wrapper by Sjoerd van den Dries)
autogenerated on Tue Jan 7 2014 11:42:07