Fn_trans

Functions

template<typename T1 >
arma_inline const Op< T1,
op_trans
trans (const Base< typename T1::elem_type, T1 > &X)
template<typename T1 >
arma_inline const T1 & trans (const Op< T1, op_trans > &X)
 two consecutive transpose operations cancel each other
template<typename T1 >
arma_inline const Op< T1,
op_diagmat
trans (const Op< T1, op_diagmat > &X)
 transpose of a diagonal matrix (which is square) does nothing

Function Documentation

template<typename T1 >
arma_inline const Op<T1, op_trans> trans ( const Base< typename T1::elem_type, T1 > &  X  )  [inline]
template<typename T1 >
arma_inline const T1& trans ( const Op< T1, op_trans > &  X  )  [inline]

two consecutive transpose operations cancel each other

Definition at line 37 of file fn_trans.hpp.

References Op< T1, op_type >::m.

00038   {
00039   arma_extra_debug_sigprint();
00040   arma_extra_debug_print("trans(): removing op_trans");
00041   
00042   return X.m;
00043   }

template<typename T1 >
arma_inline const Op<T1, op_diagmat> trans ( const Op< T1, op_diagmat > &  X  )  [inline]

transpose of a diagonal matrix (which is square) does nothing

Definition at line 51 of file fn_trans.hpp.

00052   {
00053   arma_extra_debug_sigprint();
00054   arma_extra_debug_print("trans(): not applying op_trans to diagonal matrix");
00055   
00056   return X;
00057   }