Functions | |
template<typename T1 > | |
const Op< T1, op_trans > | trans (const Base< typename T1::elem_type, T1 > &X) |
template<typename eT > | |
const Op< Row< eT >, op_trans > | trans (const Row< eT > &X) |
template<typename eT > | |
const Op< Col< eT >, op_trans > | trans (const Col< eT > &X) |
template<typename T1 > | |
const T1 & | trans (const Op< T1, op_trans > &X) |
two consecutive transpose operations cancel each other | |
template<typename T1 > | |
const Op< T1, op_diagmat > | trans (const Op< T1, op_diagmat > &X) |
transpose of a diagonal matrix gives you the original matrix back | |
template<typename T1 > | |
const Op< T1, op_htrans > | trans (const Op< T1, op_conj > &X) |
the transpose of the conjugate of a complex matrix is equivalent to the hermitian transpose |
const Op<T1, op_trans> trans | ( | const Base< typename T1::elem_type, T1 > & | X | ) | [inline] |
Definition at line 23 of file fn_trans.hpp.
References Base< elem_type, derived >::get_ref().
Referenced by gemm_mixed_cache< do_trans_A, do_trans_B, use_alpha, use_beta >::apply(), gemm_emul_cache< do_trans_A, do_trans_B, use_alpha, use_beta >::apply(), auxlib::solve_od(), and auxlib::solve_ud().
00024 { 00025 arma_extra_debug_sigprint(); 00026 00027 return Op<T1, op_trans>(X.get_ref()); 00028 }
Definition at line 35 of file fn_trans.hpp.
00036 { 00037 arma_extra_debug_sigprint(); 00038 00039 return Op<Row<eT>, op_trans>(X); 00040 }
Definition at line 47 of file fn_trans.hpp.
00048 { 00049 arma_extra_debug_sigprint(); 00050 00051 return Op<Col<eT>, op_trans>(X); 00052 }
two consecutive transpose operations cancel each other
Definition at line 60 of file fn_trans.hpp.
References Op< T1, op_type >::m.
00061 { 00062 arma_extra_debug_sigprint(); 00063 arma_extra_debug_print("trans(): removing op_trans"); 00064 00065 return X.m; 00066 }
const Op<T1, op_diagmat> trans | ( | const Op< T1, op_diagmat > & | X | ) | [inline] |
transpose of a diagonal matrix gives you the original matrix back
Definition at line 74 of file fn_trans.hpp.
00075 { 00076 arma_extra_debug_sigprint(); 00077 arma_extra_debug_print("trans(): not applying op_trans to diagonal matrix"); 00078 00079 return X; 00080 }
the transpose of the conjugate of a complex matrix is equivalent to the hermitian transpose
Definition at line 88 of file fn_trans.hpp.
References Op< T1, op_type >::m.
00089 { 00090 arma_extra_debug_sigprint(); 00091 00092 arma_type_check< is_complex<typename T1::elem_type>::value == false >::apply(); 00093 00094 return Op<T1, op_htrans>(X.m); 00095 }