//! More...
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 |
//!
arma_inline const Op<T1, op_trans> trans | ( | const Base< typename T1::elem_type, T1 > & | X | ) |
Definition at line 24 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(), as_scalar_redirect< 3 >::apply(), op_cor::direct_cor(), glue_cor::direct_cor(), op_cov::direct_cov(), glue_cov::direct_cov(), op_pinv::direct_pinv(), auxlib::solve_od(), auxlib::solve_ud(), and running_stat_vec_aux::update_stats().
{ arma_extra_debug_sigprint(); return Op<T1, op_trans>(X.get_ref()); }
two consecutive transpose operations cancel each other
Definition at line 37 of file fn_trans.hpp.
References Op< T1, op_type >::m.
{ arma_extra_debug_sigprint(); arma_extra_debug_print("trans(): removing op_trans"); return X.m; }
arma_inline const Op<T1, op_diagmat> trans | ( | const Op< T1, op_diagmat > & | X | ) |
transpose of a diagonal matrix (which is square) does nothing
Definition at line 51 of file fn_trans.hpp.
{ arma_extra_debug_sigprint(); arma_extra_debug_print("trans(): not applying op_trans to diagonal matrix"); return X; }