Fn_htrans

Functions

template<typename T1 >
arma_inline const Op< T1,
op_htrans
htrans (const Base< std::complex< typename T1::pod_type >, T1 > &X)
template<typename T1 >
arma_inline const Op< T1,
op_trans
htrans (const Base< typename T1::pod_type, T1 > &X)
template<typename T1 >
arma_inline const T1 & htrans (const Op< T1, op_htrans > &X)
 two consecutive hermitian transpose operations cancel each other

Function Documentation

template<typename T1 >
arma_inline const Op<T1, op_htrans> htrans ( const Base< std::complex< typename T1::pod_type >, T1 > &  X  )  [inline]

Definition at line 25 of file fn_htrans.hpp.

Referenced by op_pinv::direct_pinv().

00026   {
00027   arma_extra_debug_sigprint();
00028   
00029   return Op<T1, op_htrans>(X.get_ref());
00030   }

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

Definition at line 37 of file fn_htrans.hpp.

References Base< elem_type, derived >::get_ref().

00038   {
00039   arma_extra_debug_sigprint();
00040   arma_extra_debug_print("htrans(): non-complex object given -- using regular transpose");
00041   
00042   return Op<T1, op_trans>(X.get_ref());
00043   }

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

two consecutive hermitian transpose operations cancel each other

Definition at line 51 of file fn_htrans.hpp.

References Op< T1, op_type >::m.

00052   {
00053   arma_extra_debug_sigprint();
00054   arma_extra_debug_print("htrans(): removing op_htrans");
00055   
00056   return X.m;
00057   }