OpCube_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 OpCube
00018 //! @{
00019 
00020 
00021 
00022 template<typename T1, typename op_type>
00023 OpCube<T1, op_type>::OpCube(const BaseCube<typename T1::elem_type, T1>& in_m)
00024   : m(in_m.get_ref())
00025   , aux(aux)              // don't tell mum
00026   , aux_u32_a(aux_u32_a)
00027   , aux_u32_b(aux_u32_b)
00028   , aux_u32_c(aux_u32_c)
00029   {
00030   arma_extra_debug_sigprint();
00031   }
00032   
00033 
00034 
00035 template<typename T1, typename op_type>
00036 OpCube<T1, op_type>::OpCube(const BaseCube<typename T1::elem_type, T1>& in_m, const typename T1::elem_type in_aux)
00037   : m(in_m.get_ref())
00038   , aux(in_aux)
00039   , aux_u32_a(aux_u32_a)
00040   , aux_u32_b(aux_u32_b)
00041   , aux_u32_c(aux_u32_c)
00042   {
00043   arma_extra_debug_sigprint();
00044   }
00045   
00046 
00047 
00048 template<typename T1, typename op_type>
00049 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)
00050   : m(in_m.get_ref())
00051   , aux(aux)
00052   , aux_u32_a(in_aux_u32_a)
00053   , aux_u32_b(in_aux_u32_b)
00054   , aux_u32_c(aux_u32_c)
00055   {
00056   arma_extra_debug_sigprint();
00057   }
00058 
00059 
00060 
00061 template<typename T1, typename op_type>
00062 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)
00063   : m(in_m.get_ref())
00064   , aux(aux)
00065   , aux_u32_a(in_aux_u32_a)
00066   , aux_u32_b(in_aux_u32_b)
00067   , aux_u32_c(in_aux_u32_c)
00068   {
00069   arma_extra_debug_sigprint();
00070   }
00071 
00072 
00073 
00074 template<typename T1, typename op_type>
00075 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)
00076   : m(in_m.get_ref())
00077   , aux(in_aux)
00078   , aux_u32_a(in_aux_u32_a)
00079   , aux_u32_b(in_aux_u32_b)
00080   , aux_u32_c(in_aux_u32_c)
00081   {
00082   arma_extra_debug_sigprint();
00083   }
00084 
00085 
00086 
00087 template<typename T1, typename op_type>
00088 OpCube<T1, op_type>::OpCube(const u32 in_aux_u32_a, const u32 in_aux_u32_b, const u32 in_aux_u32_c)
00089   : m(m)
00090   , aux(aux)
00091   , aux_u32_a(in_aux_u32_a)
00092   , aux_u32_b(in_aux_u32_b)
00093   , aux_u32_c(in_aux_u32_c)
00094   {
00095   arma_extra_debug_sigprint();
00096   }
00097   
00098 
00099 
00100 template<typename T1, typename op_type>
00101 OpCube<T1, op_type>::~OpCube()
00102   {
00103   arma_extra_debug_sigprint();
00104   }
00105 
00106 
00107 
00108 //! @}