op_relational_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 op_relational
00018 //! @{
00019 
00020 
00021 
00022 class op_rel_lt_pre
00023   {
00024   public:
00025   
00026   template<typename T1>
00027   inline static void apply(Mat<u32>& out, const mtOp<u32, T1, op_rel_lt_pre>& X);
00028   };
00029 
00030 
00031 
00032 class op_rel_lt_post
00033   {
00034   public:
00035   
00036   template<typename T1>
00037   inline static void apply(Mat<u32>& out, const mtOp<u32, T1, op_rel_lt_post>& X);
00038   };
00039 
00040 
00041 
00042 class op_rel_gt_pre
00043   {
00044   public:
00045   
00046   template<typename T1>
00047   inline static void apply(Mat<u32>& out, const mtOp<u32, T1, op_rel_gt_pre>& X);
00048   };
00049 
00050 
00051 
00052 class op_rel_gt_post
00053   {
00054   public:
00055   
00056   template<typename T1>
00057   inline static void apply(Mat<u32>& out, const mtOp<u32, T1, op_rel_gt_post>& X);
00058   };
00059 
00060 
00061 
00062 class op_rel_lteq_pre
00063   {
00064   public:
00065   
00066   template<typename T1>
00067   inline static void apply(Mat<u32>& out, const mtOp<u32, T1, op_rel_lteq_pre>& X);
00068   };
00069 
00070 
00071 
00072 class op_rel_lteq_post
00073   {
00074   public:
00075   
00076   template<typename T1>
00077   inline static void apply(Mat<u32>& out, const mtOp<u32, T1, op_rel_lteq_post>& X);
00078   };
00079 
00080 
00081 
00082 class op_rel_gteq_pre
00083   {
00084   public:
00085   
00086   template<typename T1>
00087   inline static void apply(Mat<u32>& out, const mtOp<u32, T1, op_rel_gteq_pre>& X);
00088   };
00089 
00090 
00091 
00092 class op_rel_gteq_post
00093   {
00094   public:
00095   
00096   template<typename T1>
00097   inline static void apply(Mat<u32>& out, const mtOp<u32, T1, op_rel_gteq_post>& X);
00098   };
00099 
00100 
00101 
00102 class op_rel_eq
00103   {
00104   public:
00105   
00106   template<typename T1>
00107   inline static void apply(Mat<u32>& out, const mtOp<u32, T1, op_rel_eq>& X);
00108   };
00109 
00110 
00111 
00112 class op_rel_noteq
00113   {
00114   public:
00115   
00116   template<typename T1>
00117   inline static void apply(Mat<u32>& out, const mtOp<u32, T1, op_rel_noteq>& X);
00118   };
00119 
00120 
00121 
00122 //! @}