Op_meat.hpp

Go to the documentation of this file.
00001 // Copyright (C) 2010 NICTA and the authors listed below
00002 // http://nicta.com.au
00003 // 
00004 // Authors:
00005 // - Conrad Sanderson (conradsand at ieee dot org)
00006 // 
00007 // This file is part of the Armadillo C++ library.
00008 // It is provided without any warranty of fitness
00009 // for any purpose. You can redistribute this file
00010 // and/or modify it under the terms of the GNU
00011 // Lesser General Public License (LGPL) as published
00012 // by the Free Software Foundation, either version 3
00013 // of the License or (at your option) any later version.
00014 // (see http://www.opensource.org/licenses for more info)
00015 
00016 
00017 //! \addtogroup Op
00018 //! @{
00019 
00020 
00021 
00022 template<typename T1, typename op_type>
00023 inline
00024 Op<T1, op_type>::Op(const T1& in_m)
00025   : m(in_m)
00026   , aux(aux)
00027   , aux_u32_a(aux_u32_a)
00028   , aux_u32_b(aux_u32_b)
00029   {
00030   arma_extra_debug_sigprint();
00031   }
00032   
00033 
00034 
00035 template<typename T1, typename op_type>
00036 inline
00037 Op<T1, op_type>::Op(const T1& in_m, const typename T1::elem_type in_aux)
00038   : m(in_m)
00039   , aux(in_aux)
00040   , aux_u32_a(aux_u32_a)
00041   , aux_u32_b(aux_u32_b)
00042   {
00043   arma_extra_debug_sigprint();
00044   }
00045   
00046 
00047 
00048 template<typename T1, typename op_type>
00049 inline
00050 Op<T1, op_type>::Op(const T1& in_m, const u32 in_aux_u32_a, const u32 in_aux_u32_b)
00051   : m(in_m)
00052   , aux(aux)
00053   , aux_u32_a(in_aux_u32_a)
00054   , aux_u32_b(in_aux_u32_b)
00055   {
00056   arma_extra_debug_sigprint();
00057   }
00058 
00059 
00060 
00061 template<typename T1, typename op_type>
00062 inline
00063 Op<T1, op_type>::Op(const T1& in_m, const typename T1::elem_type in_aux, const u32 in_aux_u32_a, const u32 in_aux_u32_b)
00064   : m(in_m)
00065   , aux(in_aux)
00066   , aux_u32_a(in_aux_u32_a)
00067   , aux_u32_b(in_aux_u32_b)
00068   {
00069   arma_extra_debug_sigprint();
00070   }
00071   
00072 
00073 
00074 template<typename T1, typename op_type>
00075 inline
00076 Op<T1, op_type>::~Op()
00077   {
00078   arma_extra_debug_sigprint();
00079   }
00080 
00081 
00082 
00083 //! @}