Chris@49: // Copyright (C) 2008-2012 NICTA (www.nicta.com.au) Chris@49: // Copyright (C) 2008-2012 Conrad Sanderson Chris@49: // Chris@49: // This Source Code Form is subject to the terms of the Mozilla Public Chris@49: // License, v. 2.0. If a copy of the MPL was not distributed with this Chris@49: // file, You can obtain one at http://mozilla.org/MPL/2.0/. Chris@49: Chris@49: Chris@49: //! \addtogroup mtGlue Chris@49: //! @{ Chris@49: Chris@49: Chris@49: Chris@49: template Chris@49: class mtGlue : public Base > Chris@49: { Chris@49: public: Chris@49: Chris@49: typedef out_eT elem_type; Chris@49: typedef typename get_pod_type::result pod_type; Chris@49: Chris@49: static const bool is_row = ( is_glue_mixed_elem::value && (T1::is_row || T2::is_row) ) || ( is_glue_mixed_times::value && T1::is_row ); Chris@49: static const bool is_col = ( is_glue_mixed_elem::value && (T1::is_col || T2::is_col) ) || ( is_glue_mixed_times::value && T2::is_col ); Chris@49: Chris@49: arma_inline mtGlue(const T1& in_A, const T2& in_B); Chris@49: arma_inline mtGlue(const T1& in_A, const T2& in_B, const uword in_aux_uword); Chris@49: arma_inline ~mtGlue(); Chris@49: Chris@49: arma_aligned const T1& A; //!< first operand Chris@49: arma_aligned const T2& B; //!< second operand Chris@49: arma_aligned uword aux_uword; //!< storage of auxiliary data, uword format Chris@49: }; Chris@49: Chris@49: Chris@49: Chris@49: //! @}