comparison armadillo-3.900.4/include/armadillo_bits/op_relational_bones.hpp @ 49:1ec0e2823891

Switch to using subrepo copies of qm-dsp, nnls-chroma, vamp-plugin-sdk; update Armadillo version; assume build without external BLAS/LAPACK
author Chris Cannam
date Thu, 13 Jun 2013 10:25:24 +0100
parents
children
comparison
equal deleted inserted replaced
48:69251e11a913 49:1ec0e2823891
1 // Copyright (C) 2009-2010 NICTA (www.nicta.com.au)
2 // Copyright (C) 2009-2010 Conrad Sanderson
3 //
4 // This Source Code Form is subject to the terms of the Mozilla Public
5 // License, v. 2.0. If a copy of the MPL was not distributed with this
6 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
8
9 //! \addtogroup op_relational
10 //! @{
11
12
13
14 class op_rel_lt_pre
15 {
16 public:
17
18 template<typename T1>
19 inline static void apply(Mat<uword>& out, const mtOp<uword, T1, op_rel_lt_pre>& X);
20
21 template<typename T1>
22 inline static void apply(Cube<uword>& out, const mtOpCube<uword, T1, op_rel_lt_pre>& X);
23 };
24
25
26
27 class op_rel_lt_post
28 {
29 public:
30
31 template<typename T1>
32 inline static void apply(Mat<uword>& out, const mtOp<uword, T1, op_rel_lt_post>& X);
33
34 template<typename T1>
35 inline static void apply(Cube<uword>& out, const mtOpCube<uword, T1, op_rel_lt_post>& X);
36 };
37
38
39
40 class op_rel_gt_pre
41 {
42 public:
43
44 template<typename T1>
45 inline static void apply(Mat<uword>& out, const mtOp<uword, T1, op_rel_gt_pre>& X);
46
47 template<typename T1>
48 inline static void apply(Cube<uword>& out, const mtOpCube<uword, T1, op_rel_gt_pre>& X);
49 };
50
51
52
53 class op_rel_gt_post
54 {
55 public:
56
57 template<typename T1>
58 inline static void apply(Mat<uword>& out, const mtOp<uword, T1, op_rel_gt_post>& X);
59
60 template<typename T1>
61 inline static void apply(Cube<uword>& out, const mtOpCube<uword, T1, op_rel_gt_post>& X);
62 };
63
64
65
66 class op_rel_lteq_pre
67 {
68 public:
69
70 template<typename T1>
71 inline static void apply(Mat<uword>& out, const mtOp<uword, T1, op_rel_lteq_pre>& X);
72
73 template<typename T1>
74 inline static void apply(Cube<uword>& out, const mtOpCube<uword, T1, op_rel_lteq_pre>& X);
75 };
76
77
78
79 class op_rel_lteq_post
80 {
81 public:
82
83 template<typename T1>
84 inline static void apply(Mat<uword>& out, const mtOp<uword, T1, op_rel_lteq_post>& X);
85
86 template<typename T1>
87 inline static void apply(Cube<uword>& out, const mtOpCube<uword, T1, op_rel_lteq_post>& X);
88 };
89
90
91
92 class op_rel_gteq_pre
93 {
94 public:
95
96 template<typename T1>
97 inline static void apply(Mat<uword>& out, const mtOp<uword, T1, op_rel_gteq_pre>& X);
98
99 template<typename T1>
100 inline static void apply(Cube<uword>& out, const mtOpCube<uword, T1, op_rel_gteq_pre>& X);
101 };
102
103
104
105 class op_rel_gteq_post
106 {
107 public:
108
109 template<typename T1>
110 inline static void apply(Mat<uword>& out, const mtOp<uword, T1, op_rel_gteq_post>& X);
111
112 template<typename T1>
113 inline static void apply(Cube<uword>& out, const mtOpCube<uword, T1, op_rel_gteq_post>& X);
114 };
115
116
117
118 class op_rel_eq
119 {
120 public:
121
122 template<typename T1>
123 inline static void apply(Mat<uword>& out, const mtOp<uword, T1, op_rel_eq>& X);
124
125 template<typename T1>
126 inline static void apply(Cube<uword>& out, const mtOpCube<uword, T1, op_rel_eq>& X);
127 };
128
129
130
131 class op_rel_noteq
132 {
133 public:
134
135 template<typename T1>
136 inline static void apply(Mat<uword>& out, const mtOp<uword, T1, op_rel_noteq>& X);
137
138 template<typename T1>
139 inline static void apply(Cube<uword>& out, const mtOpCube<uword, T1, op_rel_noteq>& X);
140 };
141
142
143
144 //! @}