fn_htrans.hpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 template<typename T>
00021 inline
00022 const Op<Mat< std::complex<T> >, op_htrans>
00023 htrans(const Mat< std::complex<T> >& X)
00024 {
00025 arma_extra_debug_sigprint();
00026
00027 return Op<Mat< std::complex<T> >, op_htrans>(X);
00028 }
00029
00030
00031
00032 template<typename T>
00033 inline
00034 const Op<Row< std::complex<T> >, op_htrans>
00035 htrans(const Row< std::complex<T> >& X)
00036 {
00037 arma_extra_debug_sigprint();
00038
00039 return Op<Row< std::complex<T> >, op_htrans>(X);
00040 }
00041
00042
00043
00044 template<typename T>
00045 inline
00046 const Op<Col< std::complex<T> >, op_htrans>
00047 htrans(const Col< std::complex<T> >& X)
00048 {
00049 arma_extra_debug_sigprint();
00050
00051 return Op<Col< std::complex<T> >, op_htrans>(X);
00052 }
00053
00054
00055
00056 template<typename T, typename T1>
00057 inline
00058 const Op<T1, op_htrans>
00059 htrans(const Base<std::complex<T>,T1>& X)
00060 {
00061 arma_extra_debug_sigprint();
00062
00063 return Op<T1, op_htrans>(X.get_ref());
00064 }
00065
00066
00067
00068
00069 template<typename T1>
00070 inline
00071 const T1&
00072 htrans(const Op<T1, op_htrans>& X)
00073 {
00074 arma_extra_debug_sigprint();
00075 arma_extra_debug_print("htrans(): removing op_htrans");
00076
00077 return X.m;
00078 }
00079
00080
00081