OpCube_meat.hpp

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