eop_core_bones.hpp
Go to the documentation of this file.
00001 // Copyright (C) 2010-2011 NICTA (www.nicta.com.au)
00002 // Copyright (C) 2010-2011 Conrad Sanderson
00003 // 
00004 // This file is part of the Armadillo C++ library.
00005 // It is provided without any warranty of fitness
00006 // for any purpose. You can redistribute this file
00007 // and/or modify it under the terms of the GNU
00008 // Lesser General Public License (LGPL) as published
00009 // by the Free Software Foundation, either version 3
00010 // of the License or (at your option) any later version.
00011 // (see http://www.opensource.org/licenses for more info)
00012 
00013 
00016 
00017 
00018 
00019 template<typename eop_type>
00020 class eop_core
00021   {
00022   public:
00023   
00024   // matrices
00025   
00026   template<typename T1> arma_hot inline static void apply(Mat<typename T1::elem_type>& out, const eOp<T1, eop_type>& x);
00027   
00028   template<typename T1> arma_hot inline static void apply_inplace_plus (Mat<typename T1::elem_type>& out, const eOp<T1, eop_type>& x);
00029   template<typename T1> arma_hot inline static void apply_inplace_minus(Mat<typename T1::elem_type>& out, const eOp<T1, eop_type>& x);
00030   template<typename T1> arma_hot inline static void apply_inplace_schur(Mat<typename T1::elem_type>& out, const eOp<T1, eop_type>& x);
00031   template<typename T1> arma_hot inline static void apply_inplace_div  (Mat<typename T1::elem_type>& out, const eOp<T1, eop_type>& x);
00032   
00033   
00034   // cubes
00035   
00036   template<typename T1> arma_hot inline static void apply(Cube<typename T1::elem_type>& out, const eOpCube<T1, eop_type>& x);
00037   
00038   template<typename T1> arma_hot inline static void apply_inplace_plus (Cube<typename T1::elem_type>& out, const eOpCube<T1, eop_type>& x);
00039   template<typename T1> arma_hot inline static void apply_inplace_minus(Cube<typename T1::elem_type>& out, const eOpCube<T1, eop_type>& x);
00040   template<typename T1> arma_hot inline static void apply_inplace_schur(Cube<typename T1::elem_type>& out, const eOpCube<T1, eop_type>& x);
00041   template<typename T1> arma_hot inline static void apply_inplace_div  (Cube<typename T1::elem_type>& out, const eOpCube<T1, eop_type>& x);
00042   
00043   
00044   // common
00045   
00046   template<typename eT> arma_hot arma_pure arma_inline static eT process(const eT val, const eT k);
00047   };
00048 
00049 
00050 
00051 class eop_neg               : public eop_core<eop_neg>               {};
00052 class eop_scalar_plus       : public eop_core<eop_scalar_plus>       {};
00053 class eop_scalar_minus_pre  : public eop_core<eop_scalar_minus_pre>  {};
00054 class eop_scalar_minus_post : public eop_core<eop_scalar_minus_post> {};
00055 class eop_scalar_times      : public eop_core<eop_scalar_times>      {};
00056 class eop_scalar_div_pre    : public eop_core<eop_scalar_div_pre>    {};
00057 class eop_scalar_div_post   : public eop_core<eop_scalar_div_post>   {};
00058 class eop_square            : public eop_core<eop_square>            {};
00059 class eop_sqrt              : public eop_core<eop_sqrt>              {};
00060 class eop_log               : public eop_core<eop_log>               {};
00061 class eop_log2              : public eop_core<eop_log2>              {};
00062 class eop_log10             : public eop_core<eop_log10>             {};
00063 class eop_trunc_log         : public eop_core<eop_trunc_log>         {};
00064 class eop_exp               : public eop_core<eop_exp>               {};
00065 class eop_exp2              : public eop_core<eop_exp2>              {};
00066 class eop_exp10             : public eop_core<eop_exp10>             {};
00067 class eop_trunc_exp         : public eop_core<eop_trunc_exp>         {};
00068 class eop_cos               : public eop_core<eop_cos>               {};
00069 class eop_sin               : public eop_core<eop_sin>               {};
00070 class eop_tan               : public eop_core<eop_tan>               {};
00071 class eop_acos              : public eop_core<eop_acos>              {};
00072 class eop_asin              : public eop_core<eop_asin>              {};
00073 class eop_atan              : public eop_core<eop_atan>              {};
00074 class eop_cosh              : public eop_core<eop_cosh>              {};
00075 class eop_sinh              : public eop_core<eop_sinh>              {};
00076 class eop_tanh              : public eop_core<eop_tanh>              {};
00077 class eop_acosh             : public eop_core<eop_acosh>             {};
00078 class eop_asinh             : public eop_core<eop_asinh>             {};
00079 class eop_atanh             : public eop_core<eop_atanh>             {};
00080 class eop_eps               : public eop_core<eop_eps>               {};
00081 class eop_abs               : public eop_core<eop_abs>               {};
00082 class eop_conj              : public eop_core<eop_conj>              {};
00083 class eop_pow               : public eop_core<eop_pow>               {};
00084 class eop_floor             : public eop_core<eop_floor>             {};
00085 class eop_ceil              : public eop_core<eop_ceil>              {};
00086 
00087 
00088 


armadillo_matrix
Author(s): Conrad Sanderson - NICTA (www.nicta.com.au), (Wrapper by Sjoerd van den Dries)
autogenerated on Tue Jan 7 2014 11:42:03