Functions

Fn_htrans

//! More...

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

Detailed Description

//!


Function Documentation

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

Definition at line 25 of file fn_htrans.hpp.

Referenced by op_pinv::direct_pinv().

  {
  arma_extra_debug_sigprint();
  
  return Op<T1, op_htrans>(X.get_ref());
  }

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

Definition at line 37 of file fn_htrans.hpp.

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

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

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

two consecutive hermitian transpose operations cancel each other

Definition at line 51 of file fn_htrans.hpp.

References Op< T1, op_type >::m.

  {
  arma_extra_debug_sigprint();
  arma_extra_debug_print("htrans(): removing op_htrans");
  
  return X.m;
  }