eOp_proto.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 eOp
00018 //! @{
00019 
00020 
00021 
00022 template<typename T1, typename eop_type>
00023 class eOp : public Base<typename T1::elem_type, eOp<T1, eop_type> >
00024   {
00025   public:
00026   
00027   typedef typename T1::elem_type                   elem_type;
00028   typedef typename get_pod_type<elem_type>::result pod_type;
00029   
00030   const Proxy<T1> P;
00031   const elem_type aux;        //!< storage of auxiliary data, user defined format
00032   const u32       aux_u32_a;  //!< storage of auxiliary data, u32 format
00033   const u32       aux_u32_b;  //!< storage of auxiliary data, u32 format
00034   
00035   inline         ~eOp();
00036   inline explicit eOp(const Base<typename T1::elem_type, T1>& in_m);
00037   inline          eOp(const Base<typename T1::elem_type, T1>& in_m, const elem_type in_aux);
00038   inline          eOp(const Base<typename T1::elem_type, T1>& in_m, const u32 in_aux_u32_a, const u32 in_aux_u32_b);
00039   inline          eOp(const Base<typename T1::elem_type, T1>& in_m, const elem_type in_aux, const u32 in_aux_u32_a, const u32 in_aux_u32_b);
00040   inline          eOp(const u32 in_n_rows, const u32 in_n_cols);
00041   
00042   };
00043 
00044 
00045 
00046 //! @}