comparison equal and no equal
[scilab.git] / scilab / modules / ast / src / cpp / operations / types_comparison_ne.cpp
1 /*
2 *  Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 *  Copyright (C) 2011 - DIGITEO - Antoine ELIAS
4 *  Copyright (C) 2015 - Scilab Enterprises - Sylvain GENIN
5 *
6 *  This file must be used under the terms of the CeCILL.
7 *  This source file is licensed as described in the file COPYING, which
8 *  you should have received as part of this distribution.  The terms
9 *  are also available at
10 *  http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11 *
12 */
13
14 #include "types_comparison_ne.hxx"
15 #include "bool.hxx"
16 #include "double.hxx"
17 #include "string.hxx"
18 #include "polynom.hxx"
19 #include "cell.hxx"
20 #include "struct.hxx"
21 #include "sparse.hxx"
22 #include "int.hxx"
23 #include "graphichandle.hxx"
24 #include "mlist.hxx"
25 #include "macro.hxx"
26 #include "macrofile.hxx"
27
28 using namespace types;
29
30 //define arrays on operation functions
31 static compnoequal_function pComparisonEqualfunction[types::InternalType::IdLast][types::InternalType::IdLast] = { NULL };
32
33
34 void fillComparisonNoEqualFunction()
35 {
36 #define scilab_fill_comparison_no_equal(id1, id2, func, typeIn1, typeIn2, typeOut) \
37     pComparisonEqualfunction[types::InternalType::Id ## id1][types::InternalType::Id ## id2] = (compnoequal_function)&compnoequal_##func<typeIn1, typeIn2, typeOut>
38
39     //String != String
40     scilab_fill_comparison_no_equal(String, String, M_M, String, String, Bool);
41     scilab_fill_comparison_no_equal(String, ScalarString, M_M, String, String, Bool);
42     scilab_fill_comparison_no_equal(ScalarString, ScalarString, M_M, String, String, Bool);
43     scilab_fill_comparison_no_equal(ScalarString, String, M_M, String, String, Bool);
44     //String != Empty
45     scilab_fill_comparison_no_equal(Empty, ScalarString, E_M, String, String, Bool);
46     scilab_fill_comparison_no_equal(ScalarString, Empty, M_E, String, String, Bool);
47     scilab_fill_comparison_no_equal(String, Empty, M_E, String, String, Bool);
48     scilab_fill_comparison_no_equal(Empty, String, E_M, String, String, Bool);
49     //String != Double
50     scilab_fill_comparison_no_equal(Double, ScalarString, M_E, Double, String, Bool);
51     scilab_fill_comparison_no_equal(ScalarString, Double, M_E, String, Double, Bool);
52     scilab_fill_comparison_no_equal(String, Double, M_E, String, Double, Bool);
53     scilab_fill_comparison_no_equal(Double, String, M_E, Double, String, Bool);
54     //String != ScalarDouble
55     scilab_fill_comparison_no_equal(ScalarDouble, ScalarString, M_E, Double, String, Bool);
56     scilab_fill_comparison_no_equal(ScalarString, ScalarDouble, M_E, String, Double, Bool);
57     scilab_fill_comparison_no_equal(String, ScalarDouble, M_E, String, Double, Bool);
58     scilab_fill_comparison_no_equal(ScalarDouble, String, M_E, Double, String, Bool);
59     //String != Int8
60     scilab_fill_comparison_no_equal(Int8, ScalarString, M_E, Int8, String, Bool);
61     scilab_fill_comparison_no_equal(ScalarString, Int8, M_E, String, Int8, Bool);
62     scilab_fill_comparison_no_equal(String, Int8, M_E, String, Int8, Bool);
63     scilab_fill_comparison_no_equal(Int8, String, M_E, Int8, String, Bool);
64     //String != UInt8
65     scilab_fill_comparison_no_equal(UInt8, ScalarString, M_E, UInt8, String, Bool);
66     scilab_fill_comparison_no_equal(ScalarString, UInt8, M_E, String, UInt8, Bool);
67     scilab_fill_comparison_no_equal(String, UInt8, M_E, String, UInt8, Bool);
68     scilab_fill_comparison_no_equal(UInt8, String, M_E, UInt8, String, Bool);
69     //String != Int16
70     scilab_fill_comparison_no_equal(Int16, ScalarString, M_E, Int16, String, Bool);
71     scilab_fill_comparison_no_equal(ScalarString, Int16, M_E, String, Int16, Bool);
72     scilab_fill_comparison_no_equal(String, Int16, M_E, String, Int16, Bool);
73     scilab_fill_comparison_no_equal(Int16, String, M_E, Int16, String, Bool);
74     //String != UInt16
75     scilab_fill_comparison_no_equal(UInt16, ScalarString, M_E, UInt16, String, Bool);
76     scilab_fill_comparison_no_equal(ScalarString, UInt16, M_E, String, UInt16, Bool);
77     scilab_fill_comparison_no_equal(String, UInt16, M_E, String, UInt16, Bool);
78     scilab_fill_comparison_no_equal(UInt16, String, M_E, UInt16, String, Bool);
79     //String != Int32
80     scilab_fill_comparison_no_equal(Int32, ScalarString, M_E, Int32, String, Bool);
81     scilab_fill_comparison_no_equal(ScalarString, Int32, M_E, String, Int32, Bool);
82     scilab_fill_comparison_no_equal(String, Int32, M_E, String, Int32, Bool);
83     scilab_fill_comparison_no_equal(Int32, String, M_E, Int32, String, Bool);
84     //String != UInt32
85     scilab_fill_comparison_no_equal(UInt32, ScalarString, M_E, UInt32, String, Bool);
86     scilab_fill_comparison_no_equal(ScalarString, UInt32, M_E, String, UInt32, Bool);
87     scilab_fill_comparison_no_equal(String, UInt32, M_E, String, UInt32, Bool);
88     scilab_fill_comparison_no_equal(UInt32, String, M_E, UInt32, String, Bool);
89     //String != Int64
90     scilab_fill_comparison_no_equal(Int64, ScalarString, M_E, Int64, String, Bool);
91     scilab_fill_comparison_no_equal(ScalarString, Int64, M_E, String, Int64, Bool);
92     scilab_fill_comparison_no_equal(String, Int64, M_E, String, Int64, Bool);
93     scilab_fill_comparison_no_equal(Int64, String, M_E, Int64, String, Bool);
94     //String != UInt64
95     scilab_fill_comparison_no_equal(UInt64, ScalarString, M_E, UInt64, String, Bool);
96     scilab_fill_comparison_no_equal(ScalarString, UInt64, M_E, String, UInt64, Bool);
97     scilab_fill_comparison_no_equal(String, UInt64, M_E, String, UInt64, Bool);
98     scilab_fill_comparison_no_equal(UInt64, String, M_E, UInt64, String, Bool);
99     //String != Bool
100     scilab_fill_comparison_no_equal(Bool, ScalarString, M_E, Bool, String, Bool);
101     scilab_fill_comparison_no_equal(ScalarString, Bool, M_E, String, Bool, Bool);
102     scilab_fill_comparison_no_equal(String, Bool, M_E, String, Bool, Bool);
103     scilab_fill_comparison_no_equal(Bool, String, M_E, Bool, String, Bool);
104     //String != Polynom
105     scilab_fill_comparison_no_equal(Polynom, ScalarString, M_E, Polynom, String, Bool);
106     scilab_fill_comparison_no_equal(ScalarString, Polynom, M_E, String, Polynom, Bool);
107     scilab_fill_comparison_no_equal(String, Polynom, M_E, String, Polynom, Bool);
108     scilab_fill_comparison_no_equal(Polynom, String, M_E, Polynom, String, Bool);
109     //String != PolynomComplex
110     scilab_fill_comparison_no_equal(PolynomComplex, ScalarString, M_E, Polynom, String, Bool);
111     scilab_fill_comparison_no_equal(ScalarString, PolynomComplex, M_E, String, Polynom, Bool);
112     scilab_fill_comparison_no_equal(String, PolynomComplex, M_E, String, Polynom, Bool);
113     scilab_fill_comparison_no_equal(PolynomComplex, String, M_E, Polynom, String, Bool);
114     //String != ScalarPolynom
115     scilab_fill_comparison_no_equal(ScalarPolynom, ScalarString, M_E, Polynom, String, Bool);
116     scilab_fill_comparison_no_equal(ScalarString, ScalarPolynom, M_E, String, Polynom, Bool);
117     scilab_fill_comparison_no_equal(String, ScalarPolynom, M_E, String, Polynom, Bool);
118     scilab_fill_comparison_no_equal(ScalarPolynom, String, M_E, Polynom, String, Bool);
119     //String != ScalarPolynomComplex
120     scilab_fill_comparison_no_equal(ScalarPolynomComplex, ScalarString, M_E, Polynom, String, Bool);
121     scilab_fill_comparison_no_equal(ScalarString, ScalarPolynomComplex, M_E, String, Polynom, Bool);
122     scilab_fill_comparison_no_equal(String, ScalarPolynomComplex, M_E, String, Polynom, Bool);
123     scilab_fill_comparison_no_equal(ScalarPolynomComplex, String, M_E, Polynom, String, Bool);
124     //String != Sparse
125     scilab_fill_comparison_no_equal(Sparse, ScalarString, M_E, Sparse, String, Bool);
126     scilab_fill_comparison_no_equal(ScalarString, Sparse, M_E, String, Sparse, Bool);
127     scilab_fill_comparison_no_equal(String, Sparse, M_E, String, Sparse, Bool);
128     scilab_fill_comparison_no_equal(Sparse, String, M_E, Sparse, String, Bool);
129     //String != SparseBool
130     scilab_fill_comparison_no_equal(SparseBool, ScalarString, M_E, SparseBool, String, Bool);
131     scilab_fill_comparison_no_equal(ScalarString, SparseBool, M_E, String, SparseBool, Bool);
132     scilab_fill_comparison_no_equal(String, SparseBool, M_E, String, SparseBool, Bool);
133     scilab_fill_comparison_no_equal(SparseBool, String, M_E, SparseBool, String, Bool);
134     //String != ScalarInt8
135     scilab_fill_comparison_no_equal(ScalarInt8, ScalarString, M_E, Int8, String, Bool);
136     scilab_fill_comparison_no_equal(ScalarString, ScalarInt8, M_E, String, Int8, Bool);
137     scilab_fill_comparison_no_equal(String, ScalarInt8, M_E, String, Int8, Bool);
138     scilab_fill_comparison_no_equal(ScalarInt8, String, M_E, Int8, String, Bool);
139     //String != ScalarUInt8
140     scilab_fill_comparison_no_equal(ScalarUInt8, ScalarString, M_E, UInt8, String, Bool);
141     scilab_fill_comparison_no_equal(ScalarString, ScalarUInt8, M_E, String, UInt8, Bool);
142     scilab_fill_comparison_no_equal(String, ScalarUInt8, M_E, String, UInt8, Bool);
143     scilab_fill_comparison_no_equal(ScalarUInt8, String, M_E, UInt8, String, Bool);
144     //String != ScalarInt16
145     scilab_fill_comparison_no_equal(ScalarInt16, ScalarString, M_E, Int16, String, Bool);
146     scilab_fill_comparison_no_equal(ScalarString, ScalarInt16, M_E, String, Int16, Bool);
147     scilab_fill_comparison_no_equal(String, ScalarInt16, M_E, String, Int16, Bool);
148     scilab_fill_comparison_no_equal(ScalarInt16, String, M_E, Int16, String, Bool);
149     //String != ScalarUInt16
150     scilab_fill_comparison_no_equal(ScalarUInt16, ScalarString, M_E, UInt16, String, Bool);
151     scilab_fill_comparison_no_equal(ScalarString, ScalarUInt16, M_E, String, UInt16, Bool);
152     scilab_fill_comparison_no_equal(String, ScalarUInt16, M_E, String, UInt16, Bool);
153     scilab_fill_comparison_no_equal(ScalarUInt16, String, M_E, UInt16, String, Bool);
154     //String != ScalarInt32
155     scilab_fill_comparison_no_equal(ScalarInt32, ScalarString, M_E, Int32, String, Bool);
156     scilab_fill_comparison_no_equal(ScalarString, ScalarInt32, M_E, String, Int32, Bool);
157     scilab_fill_comparison_no_equal(String, ScalarInt32, M_E, String, Int32, Bool);
158     scilab_fill_comparison_no_equal(ScalarInt32, String, M_E, Int32, String, Bool);
159     //String != ScalarUInt32
160     scilab_fill_comparison_no_equal(ScalarUInt32, ScalarString, M_E, UInt32, String, Bool);
161     scilab_fill_comparison_no_equal(ScalarString, ScalarUInt32, M_E, String, UInt32, Bool);
162     scilab_fill_comparison_no_equal(String, ScalarUInt32, M_E, String, UInt32, Bool);
163     scilab_fill_comparison_no_equal(ScalarUInt32, String, M_E, UInt32, String, Bool);
164     //String != ScalarInt64
165     scilab_fill_comparison_no_equal(ScalarInt64, ScalarString, M_E, Int64, String, Bool);
166     scilab_fill_comparison_no_equal(ScalarString, ScalarInt64, M_E, String, Int64, Bool);
167     scilab_fill_comparison_no_equal(String, ScalarInt64, M_E, String, Int64, Bool);
168     scilab_fill_comparison_no_equal(ScalarInt64, String, M_E, Int64, String, Bool);
169     //String != ScalarUInt64
170     scilab_fill_comparison_no_equal(ScalarUInt64, ScalarString, M_E, UInt64, String, Bool);
171     scilab_fill_comparison_no_equal(ScalarString, ScalarUInt64, M_E, String, UInt64, Bool);
172     scilab_fill_comparison_no_equal(String, ScalarUInt64, M_E, String, UInt64, Bool);
173     scilab_fill_comparison_no_equal(ScalarUInt64, String, M_E, UInt64, String, Bool);
174     //String != ScalarBool
175     scilab_fill_comparison_no_equal(ScalarBool, ScalarString, M_E, Bool, String, Bool);
176     scilab_fill_comparison_no_equal(ScalarString, ScalarBool, M_E, String, Bool, Bool);
177     scilab_fill_comparison_no_equal(String, ScalarBool, M_E, String, Bool, Bool);
178     scilab_fill_comparison_no_equal(ScalarBool, String, M_E, Bool, String, Bool);
179     //String != ScalarPolynom
180     scilab_fill_comparison_no_equal(ScalarPolynom, ScalarString, M_E, Polynom, String, Bool);
181     scilab_fill_comparison_no_equal(ScalarString, ScalarPolynom, M_E, String, Polynom, Bool);
182     scilab_fill_comparison_no_equal(String, ScalarPolynom, M_E, String, Polynom, Bool);
183     scilab_fill_comparison_no_equal(ScalarPolynom, String, M_E, Polynom, String, Bool);
184     //String != ScalarDoubleComplex
185     scilab_fill_comparison_no_equal(ScalarDoubleComplex, ScalarString, M_E, Double, String, Bool);
186     scilab_fill_comparison_no_equal(ScalarString, ScalarDoubleComplex, M_E, String, Double, Bool);
187     scilab_fill_comparison_no_equal(String, ScalarDoubleComplex, M_E, String, Double, Bool);
188     scilab_fill_comparison_no_equal(ScalarDoubleComplex, String, M_E, Double, String, Bool);
189     //String != DoubleComplex
190     scilab_fill_comparison_no_equal(DoubleComplex, ScalarString, M_E, Double, String, Bool);
191     scilab_fill_comparison_no_equal(ScalarString, DoubleComplex, M_E, String, Double, Bool);
192     scilab_fill_comparison_no_equal(String, DoubleComplex, M_E, String, Double, Bool);
193     scilab_fill_comparison_no_equal(DoubleComplex, String, M_E, Double, String, Bool);
194     //String != ScalarPolynomComplex
195     scilab_fill_comparison_no_equal(ScalarPolynomComplex, ScalarString, M_E, Polynom, String, Bool);
196     scilab_fill_comparison_no_equal(ScalarString, ScalarPolynomComplex, M_E, String, Polynom, Bool);
197     scilab_fill_comparison_no_equal(String, ScalarPolynomComplex, M_E, String, Polynom, Bool);
198     scilab_fill_comparison_no_equal(ScalarPolynomComplex, String, M_E, Polynom, String, Bool);
199     //String != SparseComplex
200     scilab_fill_comparison_no_equal(SparseComplex, ScalarString, M_E, Sparse, String, Bool);
201     scilab_fill_comparison_no_equal(ScalarString, SparseComplex, M_E, String, Sparse, Bool);
202     scilab_fill_comparison_no_equal(String, SparseComplex, M_E, String, Sparse, Bool);
203     scilab_fill_comparison_no_equal(SparseComplex, String, M_E, Sparse, String, Bool);
204     //String != Identity
205     scilab_fill_comparison_no_equal(Identity, ScalarString, M_E, Double, String, Bool);
206     scilab_fill_comparison_no_equal(ScalarString, Identity, M_E, String, Double, Bool);
207     scilab_fill_comparison_no_equal(String, Identity, M_E, String, Double, Bool);
208     scilab_fill_comparison_no_equal(Identity, String, M_E, Double, String, Bool);
209     //String != IdentityComplex
210     scilab_fill_comparison_no_equal(IdentityComplex, ScalarString, M_E, Double, String, Bool);
211     scilab_fill_comparison_no_equal(ScalarString, IdentityComplex, M_E, String, Double, Bool);
212     scilab_fill_comparison_no_equal(String, IdentityComplex, M_E, String, Double, Bool);
213     scilab_fill_comparison_no_equal(IdentityComplex, String, M_E, Double, String, Bool);
214
215     //Double
216     //Matrix != Matrix
217     scilab_fill_comparison_no_equal(Double, Double, M_M, Double, Double, Bool);
218     scilab_fill_comparison_no_equal(Double, Int8, M_M, Double, Int8, Bool);
219     scilab_fill_comparison_no_equal(Double, UInt8, M_M, Double, UInt8, Bool);
220     scilab_fill_comparison_no_equal(Double, Int16, M_M, Double, Int16, Bool);
221     scilab_fill_comparison_no_equal(Double, UInt16, M_M, Double, UInt16, Bool);
222     scilab_fill_comparison_no_equal(Double, Int32, M_M, Double, Int32, Bool);
223     scilab_fill_comparison_no_equal(Double, UInt32, M_M, Double, UInt32, Bool);
224     scilab_fill_comparison_no_equal(Double, Int64, M_M, Double, Int64, Bool);
225     scilab_fill_comparison_no_equal(Double, UInt64, M_M, Double, UInt64, Bool);
226     scilab_fill_comparison_no_equal(Double, Bool, M_E, Double, Bool, Bool);
227     scilab_fill_comparison_no_equal(Double, Polynom, M_P, Double, Polynom, Bool);
228     scilab_fill_comparison_no_equal(Double, Sparse, M_SP, Double, Sparse, SparseBool);
229
230     //Matrix != Matrix Complex
231     scilab_fill_comparison_no_equal(Double, DoubleComplex, M_MC, Double, Double, Bool);
232     scilab_fill_comparison_no_equal(Double, PolynomComplex, M_P, Double, Polynom, Bool);
233     scilab_fill_comparison_no_equal(Double, SparseComplex, M_SP, Double, Sparse, SparseBool);
234
235     //Matrix != Scalar
236     scilab_fill_comparison_no_equal(Double, ScalarDouble, M_S, Double, Double, Bool);
237     scilab_fill_comparison_no_equal(Double, ScalarInt8, M_S, Double, Int8, Bool);
238     scilab_fill_comparison_no_equal(Double, ScalarUInt8, M_S, Double, UInt8, Bool);
239     scilab_fill_comparison_no_equal(Double, ScalarInt16, M_S, Double, Int16, Bool);
240     scilab_fill_comparison_no_equal(Double, ScalarUInt16, M_S, Double, UInt16, Bool);
241     scilab_fill_comparison_no_equal(Double, ScalarInt32, M_S, Double, Int32, Bool);
242     scilab_fill_comparison_no_equal(Double, ScalarUInt32, M_S, Double, UInt32, Bool);
243     scilab_fill_comparison_no_equal(Double, ScalarInt64, M_S, Double, Int64, Bool);
244     scilab_fill_comparison_no_equal(Double, ScalarUInt64, M_S, Double, UInt64, Bool);
245     scilab_fill_comparison_no_equal(Double, ScalarBool, M_E, Double, Bool, Bool);
246     scilab_fill_comparison_no_equal(Double, ScalarPolynom, M_P, Double, Polynom, Bool);
247
248     //Matrix != Scalar Complex
249     scilab_fill_comparison_no_equal(Double, ScalarDoubleComplex, M_SC, Double, Double, Bool);
250     scilab_fill_comparison_no_equal(Double, ScalarPolynomComplex, M_P, Double, Polynom, Bool);
251
252     //Matrix != Empty
253     scilab_fill_comparison_no_equal(Double, Empty, M_E, Double, Double, Bool);
254
255
256     //Matrix Complex != Matrix
257     scilab_fill_comparison_no_equal(DoubleComplex, Double, MC_M, Double, Double, Bool);
258     scilab_fill_comparison_no_equal(DoubleComplex, DoubleComplex, MC_MC, Double, Double, Bool);
259     scilab_fill_comparison_no_equal(DoubleComplex, ScalarDouble, MC_S, Double, Double, Bool);
260     scilab_fill_comparison_no_equal(DoubleComplex, ScalarDoubleComplex, MC_SC, Double, Double, Bool);
261     scilab_fill_comparison_no_equal(DoubleComplex, Empty, M_E, Double, Double, Bool);
262     scilab_fill_comparison_no_equal(DoubleComplex, Polynom, M_P, Double, Polynom, Bool);
263     scilab_fill_comparison_no_equal(DoubleComplex, PolynomComplex, M_P, Double, Polynom, Bool);
264     scilab_fill_comparison_no_equal(DoubleComplex, ScalarPolynom, M_P, Double, Polynom, Bool);
265     scilab_fill_comparison_no_equal(DoubleComplex, ScalarPolynomComplex, M_P, Double, Polynom, Bool);
266     scilab_fill_comparison_no_equal(DoubleComplex, Sparse, M_SP, Double, Sparse, SparseBool);
267     scilab_fill_comparison_no_equal(DoubleComplex, SparseComplex, M_SP, Double, Sparse, SparseBool);
268
269     //Scalar != Matrix
270     scilab_fill_comparison_no_equal(ScalarDouble, Double, S_M, Double, Double, Bool);
271     scilab_fill_comparison_no_equal(ScalarDouble, Int8, S_M, Double, Int8, Bool);
272     scilab_fill_comparison_no_equal(ScalarDouble, UInt8, S_M, Double, UInt8, Bool);
273     scilab_fill_comparison_no_equal(ScalarDouble, Int16, S_M, Double, Int16, Bool);
274     scilab_fill_comparison_no_equal(ScalarDouble, UInt16, S_M, Double, UInt16, Bool);
275     scilab_fill_comparison_no_equal(ScalarDouble, Int32, S_M, Double, Int32, Bool);
276     scilab_fill_comparison_no_equal(ScalarDouble, UInt32, S_M, Double, UInt32, Bool);
277     scilab_fill_comparison_no_equal(ScalarDouble, Int64, S_M, Double, Int64, Bool);
278     scilab_fill_comparison_no_equal(ScalarDouble, UInt64, S_M, Double, UInt64, Bool);
279     scilab_fill_comparison_no_equal(ScalarDouble, Bool, M_E, Double, Bool, Bool);
280     scilab_fill_comparison_no_equal(ScalarDouble, Polynom, M_P, Double, Polynom, Bool);
281     scilab_fill_comparison_no_equal(ScalarDouble, Sparse, M_SP, Double, Sparse, SparseBool);
282
283     //Scalar != Matrix Complex
284     scilab_fill_comparison_no_equal(ScalarDouble, DoubleComplex, S_MC, Double, Double, Bool);
285     scilab_fill_comparison_no_equal(ScalarDouble, PolynomComplex, M_P, Double, Polynom, Bool);
286     scilab_fill_comparison_no_equal(ScalarDouble, SparseComplex, M_SP, Double, Sparse, SparseBool);
287
288     //Scalar != Scalar
289     scilab_fill_comparison_no_equal(ScalarDouble, ScalarDouble, S_S, Double, Double, Bool);
290     scilab_fill_comparison_no_equal(ScalarDouble, ScalarInt8, S_S, Double, Int8, Bool);
291     scilab_fill_comparison_no_equal(ScalarDouble, ScalarUInt8, S_S, Double, UInt8, Bool);
292     scilab_fill_comparison_no_equal(ScalarDouble, ScalarInt16, S_S, Double, Int16, Bool);
293     scilab_fill_comparison_no_equal(ScalarDouble, ScalarUInt16, S_S, Double, UInt16, Bool);
294     scilab_fill_comparison_no_equal(ScalarDouble, ScalarInt32, S_S, Double, Int32, Bool);
295     scilab_fill_comparison_no_equal(ScalarDouble, ScalarUInt32, S_S, Double, UInt32, Bool);
296     scilab_fill_comparison_no_equal(ScalarDouble, ScalarInt64, S_S, Double, Int64, Bool);
297     scilab_fill_comparison_no_equal(ScalarDouble, ScalarUInt64, S_S, Double, UInt64, Bool);
298     scilab_fill_comparison_no_equal(ScalarDouble, ScalarBool, M_E, Double, Bool, Bool);
299     scilab_fill_comparison_no_equal(ScalarDouble, ScalarPolynom, M_P, Double, Polynom, Bool);
300
301     //Scalar != Scalar Complex
302     scilab_fill_comparison_no_equal(ScalarDouble, ScalarDoubleComplex, S_SC, Double, Double, Bool);
303     scilab_fill_comparison_no_equal(ScalarDouble, PolynomComplex, M_P, Double, Polynom, Bool);
304     scilab_fill_comparison_no_equal(ScalarDouble, ScalarPolynomComplex, M_P, Double, Polynom, Bool);
305
306     //Scalar != Empty
307     scilab_fill_comparison_no_equal(ScalarDouble, Empty, M_E, Double, Double, Bool);
308
309     //Scalar Complex != Matrix
310     scilab_fill_comparison_no_equal(ScalarDoubleComplex, Double, SC_M, Double, Double, Bool);
311     scilab_fill_comparison_no_equal(ScalarDoubleComplex, Polynom, M_P, Double, Polynom, Bool);
312     scilab_fill_comparison_no_equal(ScalarDoubleComplex, Sparse, M_SP, Double, Sparse, SparseBool);
313     //Scalar Complex != Matrix Complex
314     scilab_fill_comparison_no_equal(ScalarDoubleComplex, DoubleComplex, SC_MC, Double, Double, Bool);
315     scilab_fill_comparison_no_equal(ScalarDoubleComplex, PolynomComplex, M_P, Double, Polynom, Bool);
316     scilab_fill_comparison_no_equal(ScalarDoubleComplex, SparseComplex, M_SP, Double, Sparse, SparseBool);
317     //Scalar Complex != Scalar
318     scilab_fill_comparison_no_equal(ScalarDoubleComplex, ScalarDouble, SC_S, Double, Double, Bool);
319     scilab_fill_comparison_no_equal(ScalarDoubleComplex, ScalarPolynom, M_P, Double, Polynom, Bool);
320     //Scalar Complex != Scalar Complex
321     scilab_fill_comparison_no_equal(ScalarDoubleComplex, ScalarDoubleComplex, SC_SC, Double, Double, Bool);
322     scilab_fill_comparison_no_equal(ScalarDoubleComplex, ScalarPolynomComplex, M_P, Double, Polynom, Bool);
323     //Scalar Complex != Empty
324     scilab_fill_comparison_no_equal(ScalarDoubleComplex, Empty, M_E, Double, Double, Bool);
325
326     //Empty != Matrix
327     scilab_fill_comparison_no_equal(Empty, Double, E_M, Double, Double, Bool);
328     scilab_fill_comparison_no_equal(Empty, Int8, E_M, Double, Int8, Bool);
329     scilab_fill_comparison_no_equal(Empty, UInt8, E_M, Double, UInt8, Bool);
330     scilab_fill_comparison_no_equal(Empty, Int16, E_M, Double, Int16, Bool);
331     scilab_fill_comparison_no_equal(Empty, UInt16, E_M, Double, UInt16, Bool);
332     scilab_fill_comparison_no_equal(Empty, Int32, E_M, Double, Int32, Bool);
333     scilab_fill_comparison_no_equal(Empty, UInt32, E_M, Double, UInt32, Bool);
334     scilab_fill_comparison_no_equal(Empty, Int64, E_M, Double, Int64, Bool);
335     scilab_fill_comparison_no_equal(Empty, UInt64, E_M, Double, UInt64, Bool);
336
337     scilab_fill_comparison_no_equal(Empty, Polynom, E_M, Double, Polynom, Bool);
338     scilab_fill_comparison_no_equal(Empty, PolynomComplex, E_M, Double, Polynom, Bool);
339     scilab_fill_comparison_no_equal(Empty, Sparse, E_M, Double, Sparse, Bool);
340     scilab_fill_comparison_no_equal(Empty, SparseComplex, E_M, Double, Sparse, Bool);
341
342     //Empty != Matrix Complex
343     scilab_fill_comparison_no_equal(Empty, DoubleComplex, E_M, Double, Double, Bool);
344     //Empty != Scalar
345     scilab_fill_comparison_no_equal(Empty, ScalarDouble, E_M, Double, Double, Bool);
346     scilab_fill_comparison_no_equal(Empty, ScalarInt8, E_M, Double, Int8, Bool);
347     scilab_fill_comparison_no_equal(Empty, ScalarUInt8, E_M, Double, UInt8, Bool);
348     scilab_fill_comparison_no_equal(Empty, ScalarInt16, E_M, Double, Int16, Bool);
349     scilab_fill_comparison_no_equal(Empty, ScalarUInt16, E_M, Double, UInt16, Bool);
350     scilab_fill_comparison_no_equal(Empty, ScalarInt32, E_M, Double, Int32, Bool);
351     scilab_fill_comparison_no_equal(Empty, ScalarUInt32, E_M, Double, UInt32, Bool);
352     scilab_fill_comparison_no_equal(Empty, ScalarInt64, E_M, Double, Int64, Bool);
353     scilab_fill_comparison_no_equal(Empty, ScalarUInt64, E_M, Double, UInt64, Bool);
354     scilab_fill_comparison_no_equal(Empty, ScalarBool, E_M, Double, Bool, Bool);
355     scilab_fill_comparison_no_equal(Empty, ScalarPolynom, E_M, Double, Polynom, Bool);
356
357     //Empty != Scalar Complex
358     scilab_fill_comparison_no_equal(Empty, ScalarDoubleComplex, E_M, Double, Double, Bool);
359     scilab_fill_comparison_no_equal(Empty, ScalarPolynomComplex, E_M, Double, Polynom, Bool);
360     //Empty != Empty
361     scilab_fill_comparison_no_equal(Empty, Empty, E_E, Double, Double, Bool);
362     //Empty != eye
363     scilab_fill_comparison_no_equal(Empty, Identity, E_M, Double, Double, Bool);
364     scilab_fill_comparison_no_equal(Empty, IdentityComplex, E_M, Double, Double, Bool);
365
366     //Matrix != Identity
367     scilab_fill_comparison_no_equal(Double, Identity, M_I, Double, Double, Bool);
368     scilab_fill_comparison_no_equal(Double, IdentityComplex, M_IC, Double, Double, Bool);
369     scilab_fill_comparison_no_equal(DoubleComplex, Identity, MC_I, Double, Double, Bool);
370     scilab_fill_comparison_no_equal(DoubleComplex, IdentityComplex, MC_IC, Double, Double, Bool);
371     scilab_fill_comparison_no_equal(ScalarDouble, Identity, S_I, Double, Double, Bool);
372     scilab_fill_comparison_no_equal(ScalarDouble, IdentityComplex, S_IC, Double, Double, Bool);
373     scilab_fill_comparison_no_equal(ScalarDoubleComplex, Identity, SC_I, Double, Double, Bool);
374     scilab_fill_comparison_no_equal(ScalarDoubleComplex, IdentityComplex, SC_IC, Double, Double, Bool);
375
376     //Int8
377     //Matrix != Matrix
378     scilab_fill_comparison_no_equal(Int8, Double, M_M, Int8, Double, Bool);
379     scilab_fill_comparison_no_equal(Int8, Int8, M_M, Int8, Int8, Bool);
380     scilab_fill_comparison_no_equal(Int8, UInt8, M_M, Int8, UInt8, Bool);
381     scilab_fill_comparison_no_equal(Int8, Int16, M_M, Int8, Int16, Bool);
382     scilab_fill_comparison_no_equal(Int8, UInt16, M_M, Int8, UInt16, Bool);
383     scilab_fill_comparison_no_equal(Int8, Int32, M_M, Int8, Int32, Bool);
384     scilab_fill_comparison_no_equal(Int8, UInt32, M_M, Int8, UInt32, Bool);
385     scilab_fill_comparison_no_equal(Int8, Int64, M_M, Int8, Int64, Bool);
386     scilab_fill_comparison_no_equal(Int8, UInt64, M_M, Int8, UInt64, Bool);
387     scilab_fill_comparison_no_equal(Int8, Bool, M_B, Int8, Bool, Bool);
388     scilab_fill_comparison_no_equal(Int8, Empty, M_E, Int8, Double, Bool);
389
390     //Matrix != Scalar
391     scilab_fill_comparison_no_equal(Int8, ScalarDouble, M_S, Int8, Double, Bool);
392     scilab_fill_comparison_no_equal(Int8, ScalarInt8, M_S, Int8, Int8, Bool);
393     scilab_fill_comparison_no_equal(Int8, ScalarUInt8, M_S, Int8, UInt8, Bool);
394     scilab_fill_comparison_no_equal(Int8, ScalarInt16, M_S, Int8, Int16, Bool);
395     scilab_fill_comparison_no_equal(Int8, ScalarUInt16, M_S, Int8, UInt16, Bool);
396     scilab_fill_comparison_no_equal(Int8, ScalarInt32, M_S, Int8, Int32, Bool);
397     scilab_fill_comparison_no_equal(Int8, ScalarUInt32, M_S, Int8, UInt32, Bool);
398     scilab_fill_comparison_no_equal(Int8, ScalarInt64, M_S, Int8, Int64, Bool);
399     scilab_fill_comparison_no_equal(Int8, ScalarUInt64, M_S, Int8, UInt64, Bool);
400     scilab_fill_comparison_no_equal(Int8, ScalarBool, M_B, Int8, Bool, Bool);
401
402     //Scalar != Matrix
403     scilab_fill_comparison_no_equal(ScalarInt8, Double, S_M, Int8, Double, Bool);
404     scilab_fill_comparison_no_equal(ScalarInt8, Int8, S_M, Int8, Int8, Bool);
405     scilab_fill_comparison_no_equal(ScalarInt8, UInt8, S_M, Int8, UInt8, Bool);
406     scilab_fill_comparison_no_equal(ScalarInt8, Int16, S_M, Int8, Int16, Bool);
407     scilab_fill_comparison_no_equal(ScalarInt8, UInt16, S_M, Int8, UInt16, Bool);
408     scilab_fill_comparison_no_equal(ScalarInt8, Int32, S_M, Int8, Int32, Bool);
409     scilab_fill_comparison_no_equal(ScalarInt8, UInt32, S_M, Int8, UInt32, Bool);
410     scilab_fill_comparison_no_equal(ScalarInt8, Int64, S_M, Int8, Int64, Bool);
411     scilab_fill_comparison_no_equal(ScalarInt8, UInt64, S_M, Int8, UInt64, Bool);
412     scilab_fill_comparison_no_equal(ScalarInt8, Bool, S_B, Int8, Bool, Bool);
413     scilab_fill_comparison_no_equal(ScalarInt8, Empty, M_E, Int8, Double, Bool);
414
415     //Scalar != Scalar
416     scilab_fill_comparison_no_equal(ScalarInt8, ScalarDouble, S_S, Int8, Double, Bool);
417     scilab_fill_comparison_no_equal(ScalarInt8, ScalarInt8, S_S, Int8, Int8, Bool);
418     scilab_fill_comparison_no_equal(ScalarInt8, ScalarUInt8, S_S, Int8, UInt8, Bool);
419     scilab_fill_comparison_no_equal(ScalarInt8, ScalarInt16, S_S, Int8, Int16, Bool);
420     scilab_fill_comparison_no_equal(ScalarInt8, ScalarUInt16, S_S, Int8, UInt16, Bool);
421     scilab_fill_comparison_no_equal(ScalarInt8, ScalarInt32, S_S, Int8, Int32, Bool);
422     scilab_fill_comparison_no_equal(ScalarInt8, ScalarUInt32, S_S, Int8, UInt32, Bool);
423     scilab_fill_comparison_no_equal(ScalarInt8, ScalarInt64, S_S, Int8, Int64, Bool);
424     scilab_fill_comparison_no_equal(ScalarInt8, ScalarUInt64, S_S, Int8, UInt64, Bool);
425     scilab_fill_comparison_no_equal(ScalarInt8, ScalarBool, M_E, Int8, Bool, Bool);
426
427     //UInt8
428     //Matrix != Matrix
429     scilab_fill_comparison_no_equal(UInt8, Double, M_M, UInt8, Double, Bool);
430     scilab_fill_comparison_no_equal(UInt8, Int8, M_M, UInt8, Int8, Bool);
431     scilab_fill_comparison_no_equal(UInt8, UInt8, M_M, UInt8, UInt8, Bool);
432     scilab_fill_comparison_no_equal(UInt8, Int16, M_M, UInt8, Int16, Bool);
433     scilab_fill_comparison_no_equal(UInt8, UInt16, M_M, UInt8, UInt16, Bool);
434     scilab_fill_comparison_no_equal(UInt8, Int32, M_M, UInt8, Int32, Bool);
435     scilab_fill_comparison_no_equal(UInt8, UInt32, M_M, UInt8, UInt32, Bool);
436     scilab_fill_comparison_no_equal(UInt8, Int64, M_M, UInt8, Int64, Bool);
437     scilab_fill_comparison_no_equal(UInt8, UInt64, M_M, UInt8, UInt64, Bool);
438     scilab_fill_comparison_no_equal(UInt8, Bool, M_B, UInt8, Bool, Bool);
439     scilab_fill_comparison_no_equal(UInt8, Empty, M_E, UInt8, Double, Bool);
440
441     //Matrix != Scalar
442     scilab_fill_comparison_no_equal(UInt8, ScalarDouble, M_S, UInt8, Double, Bool);
443     scilab_fill_comparison_no_equal(UInt8, ScalarInt8, M_S, UInt8, Int8, Bool);
444     scilab_fill_comparison_no_equal(UInt8, ScalarUInt8, M_S, UInt8, UInt8, Bool);
445     scilab_fill_comparison_no_equal(UInt8, ScalarInt16, M_S, UInt8, Int16, Bool);
446     scilab_fill_comparison_no_equal(UInt8, ScalarUInt16, M_S, UInt8, UInt16, Bool);
447     scilab_fill_comparison_no_equal(UInt8, ScalarInt32, M_S, UInt8, Int32, Bool);
448     scilab_fill_comparison_no_equal(UInt8, ScalarUInt32, M_S, UInt8, UInt32, Bool);
449     scilab_fill_comparison_no_equal(UInt8, ScalarInt64, M_S, UInt8, Int64, Bool);
450     scilab_fill_comparison_no_equal(UInt8, ScalarUInt64, M_S, UInt8, UInt64, Bool);
451     scilab_fill_comparison_no_equal(UInt8, ScalarBool, M_B, UInt8, Bool, Bool);
452
453     //Scalar != Matrix
454     scilab_fill_comparison_no_equal(ScalarUInt8, Double, S_M, UInt8, Double, Bool);
455     scilab_fill_comparison_no_equal(ScalarUInt8, Int8, S_M, UInt8, Int8, Bool);
456     scilab_fill_comparison_no_equal(ScalarUInt8, UInt8, S_M, UInt8, UInt8, Bool);
457     scilab_fill_comparison_no_equal(ScalarUInt8, Int16, S_M, UInt8, Int16, Bool);
458     scilab_fill_comparison_no_equal(ScalarUInt8, UInt16, S_M, UInt8, UInt16, Bool);
459     scilab_fill_comparison_no_equal(ScalarUInt8, Int32, S_M, UInt8, Int32, Bool);
460     scilab_fill_comparison_no_equal(ScalarUInt8, UInt32, S_M, UInt8, UInt32, Bool);
461     scilab_fill_comparison_no_equal(ScalarUInt8, Int64, S_M, UInt8, Int64, Bool);
462     scilab_fill_comparison_no_equal(ScalarUInt8, UInt64, S_M, UInt8, UInt64, Bool);
463     scilab_fill_comparison_no_equal(ScalarUInt8, Bool, S_B, UInt8, Bool, Bool);
464     scilab_fill_comparison_no_equal(ScalarUInt8, Empty, M_E, UInt8, Double, Bool);
465
466     //Scalar != Scalar
467     scilab_fill_comparison_no_equal(ScalarUInt8, ScalarDouble, S_S, UInt8, Double, Bool);
468     scilab_fill_comparison_no_equal(ScalarUInt8, ScalarInt8, S_S, UInt8, Int8, Bool);
469     scilab_fill_comparison_no_equal(ScalarUInt8, ScalarUInt8, S_S, UInt8, UInt8, Bool);
470     scilab_fill_comparison_no_equal(ScalarUInt8, ScalarInt16, S_S, UInt8, Int16, Bool);
471     scilab_fill_comparison_no_equal(ScalarUInt8, ScalarUInt16, S_S, UInt8, UInt16, Bool);
472     scilab_fill_comparison_no_equal(ScalarUInt8, ScalarInt32, S_S, UInt8, Int32, Bool);
473     scilab_fill_comparison_no_equal(ScalarUInt8, ScalarUInt32, S_S, UInt8, UInt32, Bool);
474     scilab_fill_comparison_no_equal(ScalarUInt8, ScalarInt64, S_S, UInt8, Int64, Bool);
475     scilab_fill_comparison_no_equal(ScalarUInt8, ScalarUInt64, S_S, UInt8, UInt64, Bool);
476     scilab_fill_comparison_no_equal(ScalarUInt8, ScalarBool, M_E, UInt8, Bool, Bool);
477
478     //Int16
479     //Matrix != Matrix
480     scilab_fill_comparison_no_equal(Int16, Double, M_M, Int16, Double, Bool);
481     scilab_fill_comparison_no_equal(Int16, Int8, M_M, Int16, Int8, Bool);
482     scilab_fill_comparison_no_equal(Int16, UInt8, M_M, Int16, UInt8, Bool);
483     scilab_fill_comparison_no_equal(Int16, Int16, M_M, Int16, Int16, Bool);
484     scilab_fill_comparison_no_equal(Int16, UInt16, M_M, Int16, UInt16, Bool);
485     scilab_fill_comparison_no_equal(Int16, Int32, M_M, Int16, Int32, Bool);
486     scilab_fill_comparison_no_equal(Int16, UInt32, M_M, Int16, UInt32, Bool);
487     scilab_fill_comparison_no_equal(Int16, Int64, M_M, Int16, Int64, Bool);
488     scilab_fill_comparison_no_equal(Int16, UInt64, M_M, Int16, UInt64, Bool);
489     scilab_fill_comparison_no_equal(Int16, Bool, M_B, Int16, Bool, Bool);
490     scilab_fill_comparison_no_equal(Int16, Empty, M_E, Int16, Double, Bool);
491
492     //Matrix != Scalar
493     scilab_fill_comparison_no_equal(Int16, ScalarDouble, M_S, Int16, Double, Bool);
494     scilab_fill_comparison_no_equal(Int16, ScalarInt8, M_S, Int16, Int8, Bool);
495     scilab_fill_comparison_no_equal(Int16, ScalarUInt8, M_S, Int16, UInt8, Bool);
496     scilab_fill_comparison_no_equal(Int16, ScalarInt16, M_S, Int16, Int16, Bool);
497     scilab_fill_comparison_no_equal(Int16, ScalarUInt16, M_S, Int16, UInt16, Bool);
498     scilab_fill_comparison_no_equal(Int16, ScalarInt32, M_S, Int16, Int32, Bool);
499     scilab_fill_comparison_no_equal(Int16, ScalarUInt32, M_S, Int16, UInt32, Bool);
500     scilab_fill_comparison_no_equal(Int16, ScalarInt64, M_S, Int16, Int64, Bool);
501     scilab_fill_comparison_no_equal(Int16, ScalarUInt64, M_S, Int16, UInt64, Bool);
502     scilab_fill_comparison_no_equal(Int16, ScalarBool, M_B, Int16, Bool, Bool);
503
504     //Scalar != Matrix
505     scilab_fill_comparison_no_equal(ScalarInt16, Double, S_M, Int16, Double, Bool);
506     scilab_fill_comparison_no_equal(ScalarInt16, Int8, S_M, Int16, Int8, Bool);
507     scilab_fill_comparison_no_equal(ScalarInt16, UInt8, S_M, Int16, UInt8, Bool);
508     scilab_fill_comparison_no_equal(ScalarInt16, Int16, S_M, Int16, Int16, Bool);
509     scilab_fill_comparison_no_equal(ScalarInt16, UInt16, S_M, Int16, UInt16, Bool);
510     scilab_fill_comparison_no_equal(ScalarInt16, Int32, S_M, Int16, Int32, Bool);
511     scilab_fill_comparison_no_equal(ScalarInt16, UInt32, S_M, Int16, UInt32, Bool);
512     scilab_fill_comparison_no_equal(ScalarInt16, Int64, S_M, Int16, Int64, Bool);
513     scilab_fill_comparison_no_equal(ScalarInt16, UInt64, S_M, Int16, UInt64, Bool);
514     scilab_fill_comparison_no_equal(ScalarInt16, Bool, S_B, Int16, Bool, Bool);
515     scilab_fill_comparison_no_equal(ScalarInt16, Empty, M_E, Int16, Double, Bool);
516
517     //Scalar != Scalar
518     scilab_fill_comparison_no_equal(ScalarInt16, ScalarDouble, S_S, Int16, Double, Bool);
519     scilab_fill_comparison_no_equal(ScalarInt16, ScalarInt8, S_S, Int16, Int8, Bool);
520     scilab_fill_comparison_no_equal(ScalarInt16, ScalarUInt8, S_S, Int16, UInt8, Bool);
521     scilab_fill_comparison_no_equal(ScalarInt16, ScalarInt16, S_S, Int16, Int16, Bool);
522     scilab_fill_comparison_no_equal(ScalarInt16, ScalarUInt16, S_S, Int16, UInt16, Bool);
523     scilab_fill_comparison_no_equal(ScalarInt16, ScalarInt32, S_S, Int16, Int32, Bool);
524     scilab_fill_comparison_no_equal(ScalarInt16, ScalarUInt32, S_S, Int16, UInt32, Bool);
525     scilab_fill_comparison_no_equal(ScalarInt16, ScalarInt64, S_S, Int16, Int64, Bool);
526     scilab_fill_comparison_no_equal(ScalarInt16, ScalarUInt64, S_S, Int16, UInt64, Bool);
527     scilab_fill_comparison_no_equal(ScalarInt16, ScalarBool, M_E, Int16, Bool, Bool);
528
529     //UInt16
530     //Matrix != Matrix
531     scilab_fill_comparison_no_equal(UInt16, Double, M_M, UInt16, Double, Bool);
532     scilab_fill_comparison_no_equal(UInt16, Int8, M_M, UInt16, Int8, Bool);
533     scilab_fill_comparison_no_equal(UInt16, UInt8, M_M, UInt16, UInt8, Bool);
534     scilab_fill_comparison_no_equal(UInt16, Int16, M_M, UInt16, Int16, Bool);
535     scilab_fill_comparison_no_equal(UInt16, UInt16, M_M, UInt16, UInt16, Bool);
536     scilab_fill_comparison_no_equal(UInt16, Int32, M_M, UInt16, Int32, Bool);
537     scilab_fill_comparison_no_equal(UInt16, UInt32, M_M, UInt16, UInt32, Bool);
538     scilab_fill_comparison_no_equal(UInt16, Int64, M_M, UInt16, Int64, Bool);
539     scilab_fill_comparison_no_equal(UInt16, UInt64, M_M, UInt16, UInt64, Bool);
540     scilab_fill_comparison_no_equal(UInt16, Bool, M_B, UInt16, Bool, Bool);
541     scilab_fill_comparison_no_equal(UInt16, Empty, M_E, UInt16, Double, Bool);
542
543     //Matrix != Scalar
544     scilab_fill_comparison_no_equal(UInt16, ScalarDouble, M_S, UInt16, Double, Bool);
545     scilab_fill_comparison_no_equal(UInt16, ScalarInt8, M_S, UInt16, Int8, Bool);
546     scilab_fill_comparison_no_equal(UInt16, ScalarUInt8, M_S, UInt16, UInt8, Bool);
547     scilab_fill_comparison_no_equal(UInt16, ScalarInt16, M_S, UInt16, Int16, Bool);
548     scilab_fill_comparison_no_equal(UInt16, ScalarUInt16, M_S, UInt16, UInt16, Bool);
549     scilab_fill_comparison_no_equal(UInt16, ScalarInt32, M_S, UInt16, Int32, Bool);
550     scilab_fill_comparison_no_equal(UInt16, ScalarUInt32, M_S, UInt16, UInt32, Bool);
551     scilab_fill_comparison_no_equal(UInt16, ScalarInt64, M_S, UInt16, Int64, Bool);
552     scilab_fill_comparison_no_equal(UInt16, ScalarUInt64, M_S, UInt16, UInt64, Bool);
553     scilab_fill_comparison_no_equal(UInt16, ScalarBool, M_B, UInt16, Bool, Bool);
554
555     //Scalar != Matrix
556     scilab_fill_comparison_no_equal(ScalarUInt16, Double, S_M, UInt16, Double, Bool);
557     scilab_fill_comparison_no_equal(ScalarUInt16, Int8, S_M, UInt16, Int8, Bool);
558     scilab_fill_comparison_no_equal(ScalarUInt16, UInt8, S_M, UInt16, UInt8, Bool);
559     scilab_fill_comparison_no_equal(ScalarUInt16, Int16, S_M, UInt16, Int16, Bool);
560     scilab_fill_comparison_no_equal(ScalarUInt16, UInt16, S_M, UInt16, UInt16, Bool);
561     scilab_fill_comparison_no_equal(ScalarUInt16, Int32, S_M, UInt16, Int32, Bool);
562     scilab_fill_comparison_no_equal(ScalarUInt16, UInt32, S_M, UInt16, UInt32, Bool);
563     scilab_fill_comparison_no_equal(ScalarUInt16, Int64, S_M, UInt16, Int64, Bool);
564     scilab_fill_comparison_no_equal(ScalarUInt16, UInt64, S_M, UInt16, UInt64, Bool);
565     scilab_fill_comparison_no_equal(ScalarUInt16, Bool, S_B, UInt16, Bool, Bool);
566     scilab_fill_comparison_no_equal(ScalarUInt16, Empty, M_E, UInt16, Double, Bool);
567
568     //Scalar != Scalar
569     scilab_fill_comparison_no_equal(ScalarUInt16, ScalarDouble, S_S, UInt16, Double, Bool);
570     scilab_fill_comparison_no_equal(ScalarUInt16, ScalarInt8, S_S, UInt16, Int8, Bool);
571     scilab_fill_comparison_no_equal(ScalarUInt16, ScalarUInt8, S_S, UInt16, UInt8, Bool);
572     scilab_fill_comparison_no_equal(ScalarUInt16, ScalarInt16, S_S, UInt16, Int16, Bool);
573     scilab_fill_comparison_no_equal(ScalarUInt16, ScalarUInt16, S_S, UInt16, UInt16, Bool);
574     scilab_fill_comparison_no_equal(ScalarUInt16, ScalarInt32, S_S, UInt16, Int32, Bool);
575     scilab_fill_comparison_no_equal(ScalarUInt16, ScalarUInt32, S_S, UInt16, UInt32, Bool);
576     scilab_fill_comparison_no_equal(ScalarUInt16, ScalarInt64, S_S, UInt16, Int64, Bool);
577     scilab_fill_comparison_no_equal(ScalarUInt16, ScalarUInt64, S_S, UInt16, UInt64, Bool);
578     scilab_fill_comparison_no_equal(ScalarUInt16, ScalarBool, M_E, UInt16, Bool, Bool);
579
580     //Int32
581     //Matrix != Matrix
582     scilab_fill_comparison_no_equal(Int32, Double, M_M, Int32, Double, Bool);
583     scilab_fill_comparison_no_equal(Int32, Int8, M_M, Int32, Int8, Bool);
584     scilab_fill_comparison_no_equal(Int32, UInt8, M_M, Int32, UInt8, Bool);
585     scilab_fill_comparison_no_equal(Int32, Int16, M_M, Int32, Int16, Bool);
586     scilab_fill_comparison_no_equal(Int32, UInt16, M_M, Int32, UInt16, Bool);
587     scilab_fill_comparison_no_equal(Int32, Int32, M_M, Int32, Int32, Bool);
588     scilab_fill_comparison_no_equal(Int32, UInt32, M_M, Int32, UInt32, Bool);
589     scilab_fill_comparison_no_equal(Int32, Int64, M_M, Int32, Int64, Bool);
590     scilab_fill_comparison_no_equal(Int32, UInt64, M_M, Int32, UInt64, Bool);
591     scilab_fill_comparison_no_equal(Int32, Bool, M_B, Int32, Bool, Bool);
592     scilab_fill_comparison_no_equal(Int32, Empty, M_E, Int32, Double, Bool);
593
594     //Matrix != Scalar
595     scilab_fill_comparison_no_equal(Int32, ScalarDouble, M_S, Int32, Double, Bool);
596     scilab_fill_comparison_no_equal(Int32, ScalarInt8, M_S, Int32, Int8, Bool);
597     scilab_fill_comparison_no_equal(Int32, ScalarUInt8, M_S, Int32, UInt8, Bool);
598     scilab_fill_comparison_no_equal(Int32, ScalarInt16, M_S, Int32, Int16, Bool);
599     scilab_fill_comparison_no_equal(Int32, ScalarUInt16, M_S, Int32, UInt16, Bool);
600     scilab_fill_comparison_no_equal(Int32, ScalarInt32, M_S, Int32, Int32, Bool);
601     scilab_fill_comparison_no_equal(Int32, ScalarUInt32, M_S, Int32, UInt32, Bool);
602     scilab_fill_comparison_no_equal(Int32, ScalarInt64, M_S, Int32, Int64, Bool);
603     scilab_fill_comparison_no_equal(Int32, ScalarUInt64, M_S, Int32, UInt64, Bool);
604     scilab_fill_comparison_no_equal(Int32, ScalarBool, M_B, Int32, Bool, Bool);
605
606     //Scalar != Matrix
607     scilab_fill_comparison_no_equal(ScalarInt32, Double, S_M, Int32, Double, Bool);
608     scilab_fill_comparison_no_equal(ScalarInt32, Int8, S_M, Int32, Int8, Bool);
609     scilab_fill_comparison_no_equal(ScalarInt32, UInt8, S_M, Int32, UInt8, Bool);
610     scilab_fill_comparison_no_equal(ScalarInt32, Int16, S_M, Int32, Int16, Bool);
611     scilab_fill_comparison_no_equal(ScalarInt32, UInt16, S_M, Int32, UInt16, Bool);
612     scilab_fill_comparison_no_equal(ScalarInt32, Int32, S_M, Int32, Int32, Bool);
613     scilab_fill_comparison_no_equal(ScalarInt32, UInt32, S_M, Int32, UInt32, Bool);
614     scilab_fill_comparison_no_equal(ScalarInt32, Int64, S_M, Int32, Int64, Bool);
615     scilab_fill_comparison_no_equal(ScalarInt32, UInt64, S_M, Int32, UInt64, Bool);
616     scilab_fill_comparison_no_equal(ScalarInt32, Bool, S_B, Int32, Bool, Bool);
617     scilab_fill_comparison_no_equal(ScalarInt32, Empty, M_E, Int32, Double, Bool);
618
619     //Scalar != Scalar
620     scilab_fill_comparison_no_equal(ScalarInt32, ScalarDouble, S_S, Int32, Double, Bool);
621     scilab_fill_comparison_no_equal(ScalarInt32, ScalarInt8, S_S, Int32, Int8, Bool);
622     scilab_fill_comparison_no_equal(ScalarInt32, ScalarUInt8, S_S, Int32, UInt8, Bool);
623     scilab_fill_comparison_no_equal(ScalarInt32, ScalarInt16, S_S, Int32, Int16, Bool);
624     scilab_fill_comparison_no_equal(ScalarInt32, ScalarUInt16, S_S, Int32, UInt16, Bool);
625     scilab_fill_comparison_no_equal(ScalarInt32, ScalarInt32, S_S, Int32, Int32, Bool);
626     scilab_fill_comparison_no_equal(ScalarInt32, ScalarUInt32, S_S, Int32, UInt32, Bool);
627     scilab_fill_comparison_no_equal(ScalarInt32, ScalarInt64, S_S, Int32, Int64, Bool);
628     scilab_fill_comparison_no_equal(ScalarInt32, ScalarUInt64, S_S, Int32, UInt64, Bool);
629     scilab_fill_comparison_no_equal(ScalarInt32, ScalarBool, M_E, Int32, Bool, Bool);
630
631     //UInt32
632     //Matrix != Matrix
633     scilab_fill_comparison_no_equal(UInt32, Double, M_M, UInt32, Double, Bool);
634     scilab_fill_comparison_no_equal(UInt32, Int8, M_M, UInt32, Int8, Bool);
635     scilab_fill_comparison_no_equal(UInt32, UInt8, M_M, UInt32, UInt8, Bool);
636     scilab_fill_comparison_no_equal(UInt32, Int16, M_M, UInt32, Int16, Bool);
637     scilab_fill_comparison_no_equal(UInt32, UInt16, M_M, UInt32, UInt16, Bool);
638     scilab_fill_comparison_no_equal(UInt32, Int32, M_M, UInt32, Int32, Bool);
639     scilab_fill_comparison_no_equal(UInt32, UInt32, M_M, UInt32, UInt32, Bool);
640     scilab_fill_comparison_no_equal(UInt32, Int64, M_M, UInt32, Int64, Bool);
641     scilab_fill_comparison_no_equal(UInt32, UInt64, M_M, UInt32, UInt64, Bool);
642     scilab_fill_comparison_no_equal(UInt32, Bool, M_B, UInt32, Bool, Bool);
643     scilab_fill_comparison_no_equal(UInt32, Empty, M_E, UInt32, Double, Bool);
644
645     //Matrix != Scalar
646     scilab_fill_comparison_no_equal(UInt32, ScalarDouble, M_S, UInt32, Double, Bool);
647     scilab_fill_comparison_no_equal(UInt32, ScalarInt8, M_S, UInt32, Int8, Bool);
648     scilab_fill_comparison_no_equal(UInt32, ScalarUInt8, M_S, UInt32, UInt8, Bool);
649     scilab_fill_comparison_no_equal(UInt32, ScalarInt16, M_S, UInt32, Int16, Bool);
650     scilab_fill_comparison_no_equal(UInt32, ScalarUInt16, M_S, UInt32, UInt16, Bool);
651     scilab_fill_comparison_no_equal(UInt32, ScalarInt32, M_S, UInt32, Int32, Bool);
652     scilab_fill_comparison_no_equal(UInt32, ScalarUInt32, M_S, UInt32, UInt32, Bool);
653     scilab_fill_comparison_no_equal(UInt32, ScalarInt64, M_S, UInt32, Int64, Bool);
654     scilab_fill_comparison_no_equal(UInt32, ScalarUInt64, M_S, UInt32, UInt64, Bool);
655     scilab_fill_comparison_no_equal(UInt32, ScalarBool, M_B, UInt32, Bool, Bool);
656
657     //Scalar != Matrix
658     scilab_fill_comparison_no_equal(ScalarUInt32, Double, S_M, UInt32, Double, Bool);
659     scilab_fill_comparison_no_equal(ScalarUInt32, Int8, S_M, UInt32, Int8, Bool);
660     scilab_fill_comparison_no_equal(ScalarUInt32, UInt8, S_M, UInt32, UInt8, Bool);
661     scilab_fill_comparison_no_equal(ScalarUInt32, Int16, S_M, UInt32, Int16, Bool);
662     scilab_fill_comparison_no_equal(ScalarUInt32, UInt16, S_M, UInt32, UInt16, Bool);
663     scilab_fill_comparison_no_equal(ScalarUInt32, Int32, S_M, UInt32, Int32, Bool);
664     scilab_fill_comparison_no_equal(ScalarUInt32, UInt32, S_M, UInt32, UInt32, Bool);
665     scilab_fill_comparison_no_equal(ScalarUInt32, Int64, S_M, UInt32, Int64, Bool);
666     scilab_fill_comparison_no_equal(ScalarUInt32, UInt64, S_M, UInt32, UInt64, Bool);
667     scilab_fill_comparison_no_equal(ScalarUInt32, Bool, S_B, UInt32, Bool, Bool);
668     scilab_fill_comparison_no_equal(ScalarUInt32, Empty, M_E, UInt32, Double, Bool);
669
670     //Scalar != Scalar
671     scilab_fill_comparison_no_equal(ScalarUInt32, ScalarDouble, S_S, UInt32, Double, Bool);
672     scilab_fill_comparison_no_equal(ScalarUInt32, ScalarInt8, S_S, UInt32, Int8, Bool);
673     scilab_fill_comparison_no_equal(ScalarUInt32, ScalarUInt8, S_S, UInt32, UInt8, Bool);
674     scilab_fill_comparison_no_equal(ScalarUInt32, ScalarInt16, S_S, UInt32, Int16, Bool);
675     scilab_fill_comparison_no_equal(ScalarUInt32, ScalarUInt16, S_S, UInt32, UInt16, Bool);
676     scilab_fill_comparison_no_equal(ScalarUInt32, ScalarInt32, S_S, UInt32, Int32, Bool);
677     scilab_fill_comparison_no_equal(ScalarUInt32, ScalarUInt32, S_S, UInt32, UInt32, Bool);
678     scilab_fill_comparison_no_equal(ScalarUInt32, ScalarInt64, S_S, UInt32, Int64, Bool);
679     scilab_fill_comparison_no_equal(ScalarUInt32, ScalarUInt64, S_S, UInt32, UInt64, Bool);
680     scilab_fill_comparison_no_equal(ScalarUInt32, ScalarBool, M_E, UInt32, Bool, Bool);
681
682     //Int64
683     //Matrix != Matrix
684     scilab_fill_comparison_no_equal(Int64, Double, M_M, Int64, Double, Bool);
685     scilab_fill_comparison_no_equal(Int64, Int8, M_M, Int64, Int8, Bool);
686     scilab_fill_comparison_no_equal(Int64, UInt8, M_M, Int64, UInt8, Bool);
687     scilab_fill_comparison_no_equal(Int64, Int16, M_M, Int64, Int16, Bool);
688     scilab_fill_comparison_no_equal(Int64, UInt16, M_M, Int64, UInt16, Bool);
689     scilab_fill_comparison_no_equal(Int64, Int32, M_M, Int64, Int32, Bool);
690     scilab_fill_comparison_no_equal(Int64, UInt32, M_M, Int64, UInt32, Bool);
691     scilab_fill_comparison_no_equal(Int64, Int64, M_M, Int64, Int64, Bool);
692     scilab_fill_comparison_no_equal(Int64, UInt64, M_M, Int64, UInt64, Bool);
693     scilab_fill_comparison_no_equal(Int64, Bool, M_B, Int64, Bool, Bool);
694     scilab_fill_comparison_no_equal(Int64, Empty, M_E, Int64, Double, Bool);
695
696     //Matrix != Scalar
697     scilab_fill_comparison_no_equal(Int64, ScalarDouble, M_S, Int64, Double, Bool);
698     scilab_fill_comparison_no_equal(Int64, ScalarInt8, M_S, Int64, Int8, Bool);
699     scilab_fill_comparison_no_equal(Int64, ScalarUInt8, M_S, Int64, UInt8, Bool);
700     scilab_fill_comparison_no_equal(Int64, ScalarInt16, M_S, Int64, Int16, Bool);
701     scilab_fill_comparison_no_equal(Int64, ScalarUInt16, M_S, Int64, UInt16, Bool);
702     scilab_fill_comparison_no_equal(Int64, ScalarInt32, M_S, Int64, Int32, Bool);
703     scilab_fill_comparison_no_equal(Int64, ScalarUInt32, M_S, Int64, UInt32, Bool);
704     scilab_fill_comparison_no_equal(Int64, ScalarInt64, M_S, Int64, Int64, Bool);
705     scilab_fill_comparison_no_equal(Int64, ScalarUInt64, M_S, Int64, UInt64, Bool);
706     scilab_fill_comparison_no_equal(Int64, ScalarBool, M_B, Int64, Bool, Bool);
707
708     //Scalar != Matrix
709     scilab_fill_comparison_no_equal(ScalarInt64, Double, S_M, Int64, Double, Bool);
710     scilab_fill_comparison_no_equal(ScalarInt64, Int8, S_M, Int64, Int8, Bool);
711     scilab_fill_comparison_no_equal(ScalarInt64, UInt8, S_M, Int64, UInt8, Bool);
712     scilab_fill_comparison_no_equal(ScalarInt64, Int16, S_M, Int64, Int16, Bool);
713     scilab_fill_comparison_no_equal(ScalarInt64, UInt16, S_M, Int64, UInt16, Bool);
714     scilab_fill_comparison_no_equal(ScalarInt64, Int32, S_M, Int64, Int32, Bool);
715     scilab_fill_comparison_no_equal(ScalarInt64, UInt32, S_M, Int64, UInt32, Bool);
716     scilab_fill_comparison_no_equal(ScalarInt64, Int64, S_M, Int64, Int64, Bool);
717     scilab_fill_comparison_no_equal(ScalarInt64, UInt64, S_M, Int64, UInt64, Bool);
718     scilab_fill_comparison_no_equal(ScalarInt64, Bool, S_B, Int64, Bool, Bool);
719     scilab_fill_comparison_no_equal(ScalarInt64, Empty, M_E, Int64, Double, Bool);
720
721     //Scalar != Scalar
722     scilab_fill_comparison_no_equal(ScalarInt64, ScalarDouble, S_S, Int64, Double, Bool);
723     scilab_fill_comparison_no_equal(ScalarInt64, ScalarInt8, S_S, Int64, Int8, Bool);
724     scilab_fill_comparison_no_equal(ScalarInt64, ScalarUInt8, S_S, Int64, UInt8, Bool);
725     scilab_fill_comparison_no_equal(ScalarInt64, ScalarInt16, S_S, Int64, Int16, Bool);
726     scilab_fill_comparison_no_equal(ScalarInt64, ScalarUInt16, S_S, Int64, UInt16, Bool);
727     scilab_fill_comparison_no_equal(ScalarInt64, ScalarInt32, S_S, Int64, Int32, Bool);
728     scilab_fill_comparison_no_equal(ScalarInt64, ScalarUInt32, S_S, Int64, UInt32, Bool);
729     scilab_fill_comparison_no_equal(ScalarInt64, ScalarInt64, S_S, Int64, Int64, Bool);
730     scilab_fill_comparison_no_equal(ScalarInt64, ScalarUInt64, S_S, Int64, UInt64, Bool);
731     scilab_fill_comparison_no_equal(ScalarInt64, ScalarBool, M_E, Int64, Bool, Bool);
732
733     //UInt64
734     //Matrix != Matrix
735     scilab_fill_comparison_no_equal(UInt64, Double, M_M, UInt64, Double, Bool);
736     scilab_fill_comparison_no_equal(UInt64, Int8, M_M, UInt64, Int8, Bool);
737     scilab_fill_comparison_no_equal(UInt64, UInt8, M_M, UInt64, UInt8, Bool);
738     scilab_fill_comparison_no_equal(UInt64, Int16, M_M, UInt64, Int16, Bool);
739     scilab_fill_comparison_no_equal(UInt64, UInt16, M_M, UInt64, UInt16, Bool);
740     scilab_fill_comparison_no_equal(UInt64, Int32, M_M, UInt64, Int32, Bool);
741     scilab_fill_comparison_no_equal(UInt64, UInt32, M_M, UInt64, UInt32, Bool);
742     scilab_fill_comparison_no_equal(UInt64, Int64, M_M, UInt64, Int64, Bool);
743     scilab_fill_comparison_no_equal(UInt64, UInt64, M_M, UInt64, UInt64, Bool);
744     scilab_fill_comparison_no_equal(UInt64, Bool, M_B, UInt64, Bool, Bool);
745     scilab_fill_comparison_no_equal(UInt64, Empty, M_E, UInt64, Double, Bool);
746
747     //Matrix != Scalar
748     scilab_fill_comparison_no_equal(UInt64, ScalarDouble, M_S, UInt64, Double, Bool);
749     scilab_fill_comparison_no_equal(UInt64, ScalarInt8, M_S, UInt64, Int8, Bool);
750     scilab_fill_comparison_no_equal(UInt64, ScalarUInt8, M_S, UInt64, UInt8, Bool);
751     scilab_fill_comparison_no_equal(UInt64, ScalarInt16, M_S, UInt64, Int16, Bool);
752     scilab_fill_comparison_no_equal(UInt64, ScalarUInt16, M_S, UInt64, UInt16, Bool);
753     scilab_fill_comparison_no_equal(UInt64, ScalarInt32, M_S, UInt64, Int32, Bool);
754     scilab_fill_comparison_no_equal(UInt64, ScalarUInt32, M_S, UInt64, UInt32, Bool);
755     scilab_fill_comparison_no_equal(UInt64, ScalarInt64, M_S, UInt64, Int64, Bool);
756     scilab_fill_comparison_no_equal(UInt64, ScalarUInt64, M_S, UInt64, UInt64, Bool);
757     scilab_fill_comparison_no_equal(UInt64, ScalarBool, M_B, UInt64, Bool, Bool);
758
759     //Scalar != Matrix
760     scilab_fill_comparison_no_equal(ScalarUInt64, Double, S_M, UInt64, Double, Bool);
761     scilab_fill_comparison_no_equal(ScalarUInt64, Int8, S_M, UInt64, Int8, Bool);
762     scilab_fill_comparison_no_equal(ScalarUInt64, UInt8, S_M, UInt64, UInt8, Bool);
763     scilab_fill_comparison_no_equal(ScalarUInt64, Int16, S_M, UInt64, Int16, Bool);
764     scilab_fill_comparison_no_equal(ScalarUInt64, UInt16, S_M, UInt64, UInt16, Bool);
765     scilab_fill_comparison_no_equal(ScalarUInt64, Int32, S_M, UInt64, Int32, Bool);
766     scilab_fill_comparison_no_equal(ScalarUInt64, UInt32, S_M, UInt64, UInt32, Bool);
767     scilab_fill_comparison_no_equal(ScalarUInt64, Int64, S_M, UInt64, Int64, Bool);
768     scilab_fill_comparison_no_equal(ScalarUInt64, UInt64, S_M, UInt64, UInt64, Bool);
769     scilab_fill_comparison_no_equal(ScalarUInt64, Bool, S_B, UInt64, Bool, Bool);
770     scilab_fill_comparison_no_equal(ScalarUInt64, Empty, M_E, UInt64, Double, Bool);
771
772     //Scalar != Scalar
773     scilab_fill_comparison_no_equal(ScalarUInt64, ScalarDouble, S_S, UInt64, Double, Bool);
774     scilab_fill_comparison_no_equal(ScalarUInt64, ScalarInt8, S_S, UInt64, Int8, Bool);
775     scilab_fill_comparison_no_equal(ScalarUInt64, ScalarUInt8, S_S, UInt64, UInt8, Bool);
776     scilab_fill_comparison_no_equal(ScalarUInt64, ScalarInt16, S_S, UInt64, Int16, Bool);
777     scilab_fill_comparison_no_equal(ScalarUInt64, ScalarUInt16, S_S, UInt64, UInt16, Bool);
778     scilab_fill_comparison_no_equal(ScalarUInt64, ScalarInt32, S_S, UInt64, Int32, Bool);
779     scilab_fill_comparison_no_equal(ScalarUInt64, ScalarUInt32, S_S, UInt64, UInt32, Bool);
780     scilab_fill_comparison_no_equal(ScalarUInt64, ScalarInt64, S_S, UInt64, Int64, Bool);
781     scilab_fill_comparison_no_equal(ScalarUInt64, ScalarUInt64, S_S, UInt64, UInt64, Bool);
782     scilab_fill_comparison_no_equal(ScalarUInt64, ScalarBool, M_E, UInt64, Bool, Bool);
783
784     //Bool
785     //Matrix != Matrix
786     scilab_fill_comparison_no_equal(Bool, Double, M_E, Bool, Double, Bool);
787     scilab_fill_comparison_no_equal(Bool, Int8, B_M, Bool, Int8, Bool);
788     scilab_fill_comparison_no_equal(Bool, UInt8, B_M, Bool, UInt8, Bool);
789     scilab_fill_comparison_no_equal(Bool, Int16, B_M, Bool, Int16, Bool);
790     scilab_fill_comparison_no_equal(Bool, UInt16, B_M, Bool, UInt16, Bool);
791     scilab_fill_comparison_no_equal(Bool, Int32, B_M, Bool, Int32, Bool);
792     scilab_fill_comparison_no_equal(Bool, UInt32, B_M, Bool, UInt32, Bool);
793     scilab_fill_comparison_no_equal(Bool, Int64, B_M, Bool, Int64, Bool);
794     scilab_fill_comparison_no_equal(Bool, UInt64, B_M, Bool, UInt64, Bool);
795     scilab_fill_comparison_no_equal(Bool, Bool, M_M, Bool, Bool, Bool);
796     scilab_fill_comparison_no_equal(Bool, Empty, M_E, Bool, Double, Bool);
797
798     //Matrix != Scalar
799     scilab_fill_comparison_no_equal(Bool, ScalarDouble, M_E, Bool, Double, Bool);
800     scilab_fill_comparison_no_equal(Bool, ScalarInt8, B_S, Bool, Int8, Bool);
801     scilab_fill_comparison_no_equal(Bool, ScalarUInt8, B_S, Bool, UInt8, Bool);
802     scilab_fill_comparison_no_equal(Bool, ScalarInt16, B_S, Bool, Int16, Bool);
803     scilab_fill_comparison_no_equal(Bool, ScalarUInt16, B_S, Bool, UInt16, Bool);
804     scilab_fill_comparison_no_equal(Bool, ScalarInt32, B_S, Bool, Int32, Bool);
805     scilab_fill_comparison_no_equal(Bool, ScalarUInt32, B_S, Bool, UInt32, Bool);
806     scilab_fill_comparison_no_equal(Bool, ScalarInt64, B_S, Bool, Int64, Bool);
807     scilab_fill_comparison_no_equal(Bool, ScalarUInt64, B_S, Bool, UInt64, Bool);
808     scilab_fill_comparison_no_equal(Bool, ScalarBool, M_S, Bool, Bool, Bool);
809
810     //Scalar != Matrix
811     scilab_fill_comparison_no_equal(ScalarBool, Double, M_E, Bool, Double, Bool);
812     scilab_fill_comparison_no_equal(ScalarBool, Int8, B_M, Bool, Int8, Bool);
813     scilab_fill_comparison_no_equal(ScalarBool, UInt8, B_M, Bool, UInt8, Bool);
814     scilab_fill_comparison_no_equal(ScalarBool, Int16, B_M, Bool, Int16, Bool);
815     scilab_fill_comparison_no_equal(ScalarBool, UInt16, B_M, Bool, UInt16, Bool);
816     scilab_fill_comparison_no_equal(ScalarBool, Int32, B_M, Bool, Int32, Bool);
817     scilab_fill_comparison_no_equal(ScalarBool, UInt32, B_M, Bool, UInt32, Bool);
818     scilab_fill_comparison_no_equal(ScalarBool, Int64, B_M, Bool, Int64, Bool);
819     scilab_fill_comparison_no_equal(ScalarBool, UInt64, B_M, Bool, UInt64, Bool);
820     scilab_fill_comparison_no_equal(ScalarBool, Bool, S_M, Bool, Bool, Bool);
821     scilab_fill_comparison_no_equal(ScalarBool, Empty, M_E, Bool, Double, Bool);
822
823     //Scalar != Scalar
824     scilab_fill_comparison_no_equal(ScalarBool, ScalarDouble, M_E, Bool, Double, Bool);
825     scilab_fill_comparison_no_equal(ScalarBool, ScalarInt8, M_E, Bool, Int8, Bool);
826     scilab_fill_comparison_no_equal(ScalarBool, ScalarUInt8, M_E, Bool, UInt8, Bool);
827     scilab_fill_comparison_no_equal(ScalarBool, ScalarInt16, M_E, Bool, Int16, Bool);
828     scilab_fill_comparison_no_equal(ScalarBool, ScalarUInt16, M_E, Bool, UInt16, Bool);
829     scilab_fill_comparison_no_equal(ScalarBool, ScalarInt32, M_E, Bool, Int32, Bool);
830     scilab_fill_comparison_no_equal(ScalarBool, ScalarUInt32, M_E, Bool, UInt32, Bool);
831     scilab_fill_comparison_no_equal(ScalarBool, ScalarInt64, M_E, Bool, Int64, Bool);
832     scilab_fill_comparison_no_equal(ScalarBool, ScalarUInt64, M_E, Bool, UInt64, Bool);
833     scilab_fill_comparison_no_equal(ScalarBool, ScalarBool, S_S, Bool, Bool, Bool);
834
835     //Bool != Identity
836     scilab_fill_comparison_no_equal(Bool, Identity, M_E, Bool, Double, Bool);
837     scilab_fill_comparison_no_equal(Bool, IdentityComplex, M_E, Bool, Double, Bool);
838     scilab_fill_comparison_no_equal(ScalarBool, Identity, M_E, Bool, Double, Bool);
839     scilab_fill_comparison_no_equal(ScalarBool, IdentityComplex, M_E, Bool, Double, Bool);
840
841     //Bool != Polynom
842     scilab_fill_comparison_no_equal(Bool, Polynom, M_E, Bool, Polynom, Bool);
843     scilab_fill_comparison_no_equal(Bool, PolynomComplex, M_E, Bool, Polynom, Bool);
844     scilab_fill_comparison_no_equal(Bool, ScalarPolynom, M_E, Bool, Polynom, Bool);
845     scilab_fill_comparison_no_equal(Bool, ScalarPolynomComplex, M_E, Bool, Polynom, Bool);
846     scilab_fill_comparison_no_equal(ScalarBool, Polynom, M_E, Bool, Polynom, Bool);
847     scilab_fill_comparison_no_equal(ScalarBool, PolynomComplex, M_E, Bool, Polynom, Bool);
848     scilab_fill_comparison_no_equal(ScalarBool, ScalarPolynom, M_E, Bool, Polynom, Bool);
849     scilab_fill_comparison_no_equal(ScalarBool, ScalarPolynomComplex, M_E, Bool, Polynom, Bool);
850
851     //Bool != Sparse
852     scilab_fill_comparison_no_equal(Bool, Sparse, M_E, Bool, Sparse, Bool);
853     scilab_fill_comparison_no_equal(Bool, SparseComplex, M_E, Bool, Sparse, Bool);
854     scilab_fill_comparison_no_equal(ScalarBool, Sparse, M_E, Bool, Sparse, Bool);
855     scilab_fill_comparison_no_equal(ScalarBool, SparseComplex, M_E, Bool, Sparse, Bool);
856
857     //Identity
858     scilab_fill_comparison_no_equal(Identity, Double, I_M, Double, Double, Bool);
859     scilab_fill_comparison_no_equal(Identity, DoubleComplex, I_MC, Double, Double, Bool);
860     scilab_fill_comparison_no_equal(Identity, ScalarDouble, I_S, Double, Double, Bool);
861     scilab_fill_comparison_no_equal(Identity, ScalarDoubleComplex, I_SC, Double, Double, Bool);
862     scilab_fill_comparison_no_equal(Identity, Identity, I_I, Double, Double, Bool);
863     scilab_fill_comparison_no_equal(Identity, IdentityComplex, I_IC, Double, Double, Bool);
864     scilab_fill_comparison_no_equal(Identity, Empty, M_E, Double, Double, Bool);
865
866     scilab_fill_comparison_no_equal(Identity, Polynom, M_P, Double, Polynom, Bool);
867     scilab_fill_comparison_no_equal(Identity, PolynomComplex, M_P, Double, Polynom, Bool);
868     scilab_fill_comparison_no_equal(Identity, ScalarPolynom, M_P, Double, Polynom, Bool);
869     scilab_fill_comparison_no_equal(Identity, ScalarPolynomComplex, M_P, Double, Polynom, Bool);
870     scilab_fill_comparison_no_equal(Identity, Sparse, M_E, Double, Sparse, SparseBool);
871     scilab_fill_comparison_no_equal(Identity, SparseComplex, M_E, Double, Sparse, SparseBool);
872
873     scilab_fill_comparison_no_equal(IdentityComplex, Double, IC_M, Double, Double, Bool);
874     scilab_fill_comparison_no_equal(IdentityComplex, DoubleComplex, IC_MC, Double, Double, Bool);
875     scilab_fill_comparison_no_equal(IdentityComplex, ScalarDouble, IC_S, Double, Double, Bool);
876     scilab_fill_comparison_no_equal(IdentityComplex, ScalarDoubleComplex, IC_SC, Double, Double, Bool);
877     scilab_fill_comparison_no_equal(IdentityComplex, Identity, IC_I, Double, Double, Bool);
878     scilab_fill_comparison_no_equal(IdentityComplex, IdentityComplex, IC_IC, Double, Double, Bool);
879     scilab_fill_comparison_no_equal(IdentityComplex, Empty, M_E, Double, Double, Bool);
880
881     scilab_fill_comparison_no_equal(IdentityComplex, Polynom, M_P, Double, Polynom, Bool);
882     scilab_fill_comparison_no_equal(IdentityComplex, PolynomComplex, M_P, Double, Polynom, Bool);
883     scilab_fill_comparison_no_equal(IdentityComplex, ScalarPolynom, M_P, Double, Polynom, Bool);
884     scilab_fill_comparison_no_equal(IdentityComplex, ScalarPolynomComplex, M_P, Double, Polynom, Bool);
885     scilab_fill_comparison_no_equal(IdentityComplex, Sparse, M_E, Double, Sparse, SparseBool);
886     scilab_fill_comparison_no_equal(IdentityComplex, SparseComplex, M_E, Double, Sparse, SparseBool);
887
888     scilab_fill_comparison_no_equal(Identity, Bool, M_E, Double, Bool, Bool);
889     scilab_fill_comparison_no_equal(IdentityComplex, Bool, M_E, Double, Bool, Bool);
890     scilab_fill_comparison_no_equal(Identity, ScalarBool, M_E, Double, Bool, Bool);
891     scilab_fill_comparison_no_equal(IdentityComplex, ScalarBool, M_E, Double, Bool, Bool);
892
893     //Polynom
894
895     //poly != poly
896     scilab_fill_comparison_no_equal(Polynom, Polynom, M_M, Polynom, Polynom, Bool);
897     scilab_fill_comparison_no_equal(Polynom, PolynomComplex, M_M, Polynom, Polynom, Bool);
898     scilab_fill_comparison_no_equal(PolynomComplex, Polynom, M_M, Polynom, Polynom, Bool);
899     scilab_fill_comparison_no_equal(PolynomComplex, PolynomComplex, M_M, Polynom, Polynom, Bool);
900
901     //poly != scalar poly
902     scilab_fill_comparison_no_equal(Polynom, ScalarPolynom, M_M, Polynom, Polynom, Bool);
903     scilab_fill_comparison_no_equal(Polynom, ScalarPolynomComplex, M_M, Polynom, Polynom, Bool);
904     scilab_fill_comparison_no_equal(PolynomComplex, ScalarPolynom, M_M, Polynom, Polynom, Bool);
905     scilab_fill_comparison_no_equal(PolynomComplex, ScalarPolynomComplex, M_M, Polynom, Polynom, Bool);
906
907     //poly != double
908     scilab_fill_comparison_no_equal(Polynom, Double, P_M, Polynom, Double, Bool);
909     scilab_fill_comparison_no_equal(Polynom, DoubleComplex, P_M, Polynom, Double, Bool);
910     scilab_fill_comparison_no_equal(PolynomComplex, Double, P_M, Polynom, Double, Bool);
911     scilab_fill_comparison_no_equal(PolynomComplex, DoubleComplex, P_M, Polynom, Double, Bool);
912
913     //poly != scalar double
914     scilab_fill_comparison_no_equal(Polynom, ScalarDouble, P_M, Polynom, Double, Bool);
915     scilab_fill_comparison_no_equal(Polynom, ScalarDoubleComplex, P_M, Polynom, Double, Bool);
916     scilab_fill_comparison_no_equal(PolynomComplex, ScalarDouble, P_M, Polynom, Double, Bool);
917     scilab_fill_comparison_no_equal(PolynomComplex, ScalarDoubleComplex, P_M, Polynom, Double, Bool);
918
919     //poly != Bool
920     scilab_fill_comparison_no_equal(Polynom, Bool, E_M, Polynom, Bool, Bool);
921     scilab_fill_comparison_no_equal(Polynom, ScalarBool, E_M, Polynom, Bool, Bool);
922     scilab_fill_comparison_no_equal(PolynomComplex, Bool, E_M, Polynom, Bool, Bool);
923     scilab_fill_comparison_no_equal(PolynomComplex, ScalarBool, E_M, Polynom, Bool, Bool);
924
925     //poly != []
926     scilab_fill_comparison_no_equal(Polynom, Empty, M_E, Polynom, Double, Bool);
927     scilab_fill_comparison_no_equal(PolynomComplex, Empty, M_E, Polynom, Double, Bool);
928
929     //poly != eye
930     scilab_fill_comparison_no_equal(Polynom, Identity, P_M, Polynom, Double, Bool);
931     scilab_fill_comparison_no_equal(Polynom, IdentityComplex, P_M, Polynom, Double, Bool);
932     scilab_fill_comparison_no_equal(PolynomComplex, Identity, P_M, Polynom, Double, Bool);
933     scilab_fill_comparison_no_equal(PolynomComplex, IdentityComplex, P_M, Polynom, Double, Bool);
934
935     //scalar poly != poly
936     scilab_fill_comparison_no_equal(ScalarPolynom, Polynom, M_M, Polynom, Polynom, Bool);
937     scilab_fill_comparison_no_equal(ScalarPolynom, PolynomComplex, M_M, Polynom, Polynom, Bool);
938     scilab_fill_comparison_no_equal(ScalarPolynomComplex, Polynom, M_M, Polynom, Polynom, Bool);
939     scilab_fill_comparison_no_equal(ScalarPolynomComplex, PolynomComplex, M_M, Polynom, Polynom, Bool);
940
941     //scalar poly != scalar poly
942     scilab_fill_comparison_no_equal(ScalarPolynom, ScalarPolynom, M_M, Polynom, Polynom, Bool);
943     scilab_fill_comparison_no_equal(ScalarPolynom, ScalarPolynomComplex, M_M, Polynom, Polynom, Bool);
944     scilab_fill_comparison_no_equal(ScalarPolynomComplex, ScalarPolynom, M_M, Polynom, Polynom, Bool);
945     scilab_fill_comparison_no_equal(ScalarPolynomComplex, ScalarPolynomComplex, M_M, Polynom, Polynom, Bool);
946
947     //scalar poly != double
948     scilab_fill_comparison_no_equal(ScalarPolynom, Double, P_M, Polynom, Double, Bool);
949     scilab_fill_comparison_no_equal(ScalarPolynom, DoubleComplex, P_M, Polynom, Double, Bool);
950     scilab_fill_comparison_no_equal(ScalarPolynomComplex, Double, P_M, Polynom, Double, Bool);
951     scilab_fill_comparison_no_equal(ScalarPolynomComplex, DoubleComplex, P_M, Polynom, Double, Bool);
952
953     //scalar poly != scalar double
954     scilab_fill_comparison_no_equal(ScalarPolynom, ScalarDouble, P_M, Polynom, Double, Bool);
955     scilab_fill_comparison_no_equal(ScalarPolynom, ScalarDoubleComplex, P_M, Polynom, Double, Bool);
956     scilab_fill_comparison_no_equal(ScalarPolynomComplex, ScalarDouble, P_M, Polynom, Double, Bool);
957     scilab_fill_comparison_no_equal(ScalarPolynomComplex, ScalarDoubleComplex, P_M, Polynom, Double, Bool);
958
959     //poly != Bool
960     scilab_fill_comparison_no_equal(ScalarPolynom, Bool, E_M, Polynom, Bool, Bool);
961     scilab_fill_comparison_no_equal(ScalarPolynom, ScalarBool, E_M, Polynom, Bool, Bool);
962     scilab_fill_comparison_no_equal(ScalarPolynomComplex, Bool, E_M, Polynom, Bool, Bool);
963     scilab_fill_comparison_no_equal(ScalarPolynomComplex, ScalarBool, E_M, Polynom, Bool, Bool);
964
965     //scalar poly != []
966     scilab_fill_comparison_no_equal(ScalarPolynom, Empty, M_E, Polynom, Double, Bool);
967     scilab_fill_comparison_no_equal(ScalarPolynomComplex, Empty, M_E, Polynom, Double, Bool);
968
969     //scalar poly != eye
970     scilab_fill_comparison_no_equal(ScalarPolynom, Identity, P_M, Polynom, Double, Bool);
971     scilab_fill_comparison_no_equal(ScalarPolynom, IdentityComplex, P_M, Polynom, Double, Bool);
972     scilab_fill_comparison_no_equal(ScalarPolynomComplex, Identity, P_M, Polynom, Double, Bool);
973     scilab_fill_comparison_no_equal(ScalarPolynomComplex, IdentityComplex, P_M, Polynom, Double, Bool);
974
975     //poly != Int8
976     scilab_fill_comparison_no_equal(Polynom, Int8, P_M, Polynom, Int8, Bool);
977     scilab_fill_comparison_no_equal(Polynom, UInt8, P_M, Polynom, UInt8, Bool);
978     scilab_fill_comparison_no_equal(PolynomComplex, Int8, P_M, Polynom, Int8, Bool);
979     scilab_fill_comparison_no_equal(PolynomComplex, UInt8, P_M, Polynom, UInt8, Bool);
980
981     scilab_fill_comparison_no_equal(Int8, Polynom, M_P, Int8, Polynom, Bool);
982     scilab_fill_comparison_no_equal(UInt8, Polynom, M_P, UInt8, Polynom, Bool);
983     scilab_fill_comparison_no_equal(Int8, PolynomComplex, M_P, Int8, Polynom, Bool);
984     scilab_fill_comparison_no_equal(UInt8, PolynomComplex, M_P, UInt8, Polynom, Bool);
985
986     scilab_fill_comparison_no_equal(ScalarPolynom, Int8, P_M, Polynom, Int8, Bool);
987     scilab_fill_comparison_no_equal(ScalarPolynom, UInt8, P_M, Polynom, UInt8, Bool);
988     scilab_fill_comparison_no_equal(ScalarPolynomComplex, Int8, P_M, Polynom, Int8, Bool);
989     scilab_fill_comparison_no_equal(ScalarPolynomComplex, UInt8, P_M, Polynom, UInt8, Bool);
990
991     scilab_fill_comparison_no_equal(Int8, ScalarPolynom, M_P, Int8, Polynom, Bool);
992     scilab_fill_comparison_no_equal(UInt8, ScalarPolynom, M_P, UInt8, Polynom, Bool);
993     scilab_fill_comparison_no_equal(Int8, ScalarPolynomComplex, M_P, Int8, Polynom, Bool);
994     scilab_fill_comparison_no_equal(UInt8, ScalarPolynomComplex, M_P, UInt8, Polynom, Bool);
995
996     //poly != Int16
997     scilab_fill_comparison_no_equal(Polynom, Int16, P_M, Polynom, Int16, Bool);
998     scilab_fill_comparison_no_equal(Polynom, UInt16, P_M, Polynom, UInt16, Bool);
999     scilab_fill_comparison_no_equal(PolynomComplex, Int16, P_M, Polynom, Int16, Bool);
1000     scilab_fill_comparison_no_equal(PolynomComplex, UInt16, P_M, Polynom, UInt16, Bool);
1001
1002     scilab_fill_comparison_no_equal(Int16, Polynom, M_P, Int16, Polynom, Bool);
1003     scilab_fill_comparison_no_equal(UInt16, Polynom, M_P, UInt16, Polynom, Bool);
1004     scilab_fill_comparison_no_equal(Int16, PolynomComplex, M_P, Int16, Polynom, Bool);
1005     scilab_fill_comparison_no_equal(UInt16, PolynomComplex, M_P, UInt16, Polynom, Bool);
1006
1007     scilab_fill_comparison_no_equal(ScalarPolynom, Int16, P_M, Polynom, Int16, Bool);
1008     scilab_fill_comparison_no_equal(ScalarPolynom, UInt16, P_M, Polynom, UInt16, Bool);
1009     scilab_fill_comparison_no_equal(ScalarPolynomComplex, Int16, P_M, Polynom, Int16, Bool);
1010     scilab_fill_comparison_no_equal(ScalarPolynomComplex, UInt16, P_M, Polynom, UInt16, Bool);
1011
1012     scilab_fill_comparison_no_equal(Int16, ScalarPolynom, M_P, Int16, Polynom, Bool);
1013     scilab_fill_comparison_no_equal(UInt16, ScalarPolynom, M_P, UInt16, Polynom, Bool);
1014     scilab_fill_comparison_no_equal(Int16, ScalarPolynomComplex, M_P, Int16, Polynom, Bool);
1015     scilab_fill_comparison_no_equal(UInt16, ScalarPolynomComplex, M_P, UInt16, Polynom, Bool);
1016
1017     //poly != Int32
1018     scilab_fill_comparison_no_equal(Polynom, Int32, P_M, Polynom, Int32, Bool);
1019     scilab_fill_comparison_no_equal(Polynom, UInt32, P_M, Polynom, UInt32, Bool);
1020     scilab_fill_comparison_no_equal(PolynomComplex, Int32, P_M, Polynom, Int32, Bool);
1021     scilab_fill_comparison_no_equal(PolynomComplex, UInt32, P_M, Polynom, UInt32, Bool);
1022
1023     scilab_fill_comparison_no_equal(Int32, Polynom, M_P, Int32, Polynom, Bool);
1024     scilab_fill_comparison_no_equal(UInt32, Polynom, M_P, UInt32, Polynom, Bool);
1025     scilab_fill_comparison_no_equal(Int32, PolynomComplex, M_P, Int32, Polynom, Bool);
1026     scilab_fill_comparison_no_equal(UInt32, PolynomComplex, M_P, UInt32, Polynom, Bool);
1027
1028     scilab_fill_comparison_no_equal(ScalarPolynom, Int32, P_M, Polynom, Int32, Bool);
1029     scilab_fill_comparison_no_equal(ScalarPolynom, UInt32, P_M, Polynom, UInt32, Bool);
1030     scilab_fill_comparison_no_equal(ScalarPolynomComplex, Int32, P_M, Polynom, Int32, Bool);
1031     scilab_fill_comparison_no_equal(ScalarPolynomComplex, UInt32, P_M, Polynom, UInt32, Bool);
1032
1033     scilab_fill_comparison_no_equal(Int32, ScalarPolynom, M_P, Int32, Polynom, Bool);
1034     scilab_fill_comparison_no_equal(UInt32, ScalarPolynom, M_P, UInt32, Polynom, Bool);
1035     scilab_fill_comparison_no_equal(Int32, ScalarPolynomComplex, M_P, Int32, Polynom, Bool);
1036     scilab_fill_comparison_no_equal(UInt32, ScalarPolynomComplex, M_P, UInt32, Polynom, Bool);
1037
1038     //poly != Int64
1039     scilab_fill_comparison_no_equal(Polynom, Int64, P_M, Polynom, Int64, Bool);
1040     scilab_fill_comparison_no_equal(Polynom, UInt64, P_M, Polynom, UInt64, Bool);
1041     scilab_fill_comparison_no_equal(PolynomComplex, Int64, P_M, Polynom, Int64, Bool);
1042     scilab_fill_comparison_no_equal(PolynomComplex, UInt64, P_M, Polynom, UInt64, Bool);
1043
1044     scilab_fill_comparison_no_equal(Int64, Polynom, M_P, Int64, Polynom, Bool);
1045     scilab_fill_comparison_no_equal(UInt64, Polynom, M_P, UInt64, Polynom, Bool);
1046     scilab_fill_comparison_no_equal(Int64, PolynomComplex, M_P, Int64, Polynom, Bool);
1047     scilab_fill_comparison_no_equal(UInt64, PolynomComplex, M_P, UInt64, Polynom, Bool);
1048
1049     scilab_fill_comparison_no_equal(ScalarPolynom, Int64, P_M, Polynom, Int64, Bool);
1050     scilab_fill_comparison_no_equal(ScalarPolynom, UInt64, P_M, Polynom, UInt64, Bool);
1051     scilab_fill_comparison_no_equal(ScalarPolynomComplex, Int64, P_M, Polynom, Int64, Bool);
1052     scilab_fill_comparison_no_equal(ScalarPolynomComplex, UInt64, P_M, Polynom, UInt64, Bool);
1053
1054     scilab_fill_comparison_no_equal(Int64, ScalarPolynom, M_P, Int64, Polynom, Bool);
1055     scilab_fill_comparison_no_equal(UInt64, ScalarPolynom, M_P, UInt64, Polynom, Bool);
1056     scilab_fill_comparison_no_equal(Int64, ScalarPolynomComplex, M_P, Int64, Polynom, Bool);
1057     scilab_fill_comparison_no_equal(UInt64, ScalarPolynomComplex, M_P, UInt64, Polynom, Bool);
1058
1059     //poly != Int8
1060     scilab_fill_comparison_no_equal(Polynom, ScalarInt8, P_M, Polynom, Int8, Bool);
1061     scilab_fill_comparison_no_equal(Polynom, ScalarUInt8, P_M, Polynom, UInt8, Bool);
1062     scilab_fill_comparison_no_equal(PolynomComplex, ScalarInt8, P_M, Polynom, Int8, Bool);
1063     scilab_fill_comparison_no_equal(PolynomComplex, ScalarUInt8, P_M, Polynom, UInt8, Bool);
1064
1065     scilab_fill_comparison_no_equal(ScalarInt8, Polynom, M_P, Int8, Polynom, Bool);
1066     scilab_fill_comparison_no_equal(ScalarUInt8, Polynom, M_P, UInt8, Polynom, Bool);
1067     scilab_fill_comparison_no_equal(ScalarInt8, PolynomComplex, M_P, Int8, Polynom, Bool);
1068     scilab_fill_comparison_no_equal(ScalarUInt8, PolynomComplex, M_P, UInt8, Polynom, Bool);
1069
1070     scilab_fill_comparison_no_equal(ScalarPolynom, ScalarInt8, P_M, Polynom, Int8, Bool);
1071     scilab_fill_comparison_no_equal(ScalarPolynom, ScalarUInt8, P_M, Polynom, UInt8, Bool);
1072     scilab_fill_comparison_no_equal(ScalarPolynomComplex, ScalarInt8, P_M, Polynom, Int8, Bool);
1073     scilab_fill_comparison_no_equal(ScalarPolynomComplex, ScalarUInt8, P_M, Polynom, UInt8, Bool);
1074
1075     scilab_fill_comparison_no_equal(ScalarInt8, ScalarPolynom, M_P, Int8, Polynom, Bool);
1076     scilab_fill_comparison_no_equal(ScalarUInt8, ScalarPolynom, M_P, UInt8, Polynom, Bool);
1077     scilab_fill_comparison_no_equal(ScalarInt8, ScalarPolynomComplex, M_P, Int8, Polynom, Bool);
1078     scilab_fill_comparison_no_equal(ScalarUInt8, ScalarPolynomComplex, M_P, UInt8, Polynom, Bool);
1079
1080     //poly != Int16
1081     scilab_fill_comparison_no_equal(Polynom, ScalarInt16, P_M, Polynom, Int16, Bool);
1082     scilab_fill_comparison_no_equal(Polynom, ScalarUInt16, P_M, Polynom, UInt16, Bool);
1083     scilab_fill_comparison_no_equal(PolynomComplex, ScalarInt16, P_M, Polynom, Int16, Bool);
1084     scilab_fill_comparison_no_equal(PolynomComplex, ScalarUInt16, P_M, Polynom, UInt16, Bool);
1085
1086     scilab_fill_comparison_no_equal(ScalarInt16, Polynom, M_P, Polynom, Int16, Bool);
1087     scilab_fill_comparison_no_equal(ScalarUInt16, Polynom, M_P, Polynom, UInt16, Bool);
1088     scilab_fill_comparison_no_equal(ScalarInt16, PolynomComplex, M_P, Int16, Polynom, Bool);
1089     scilab_fill_comparison_no_equal(ScalarUInt16, PolynomComplex, M_P, UInt16, Polynom, Bool);
1090
1091     scilab_fill_comparison_no_equal(ScalarPolynom, ScalarInt16, P_M, Polynom, Int16, Bool);
1092     scilab_fill_comparison_no_equal(ScalarPolynom, ScalarUInt16, P_M, Polynom, UInt16, Bool);
1093     scilab_fill_comparison_no_equal(ScalarPolynomComplex, ScalarInt16, P_M, Polynom, Int16, Bool);
1094     scilab_fill_comparison_no_equal(ScalarPolynomComplex, ScalarUInt16, P_M, Polynom, UInt16, Bool);
1095
1096     scilab_fill_comparison_no_equal(ScalarInt16, ScalarPolynom, M_P, Int16, Polynom, Bool);
1097     scilab_fill_comparison_no_equal(ScalarUInt16, ScalarPolynom, M_P, UInt16, Polynom, Bool);
1098     scilab_fill_comparison_no_equal(ScalarInt16, ScalarPolynomComplex, M_P, Int16, Polynom, Bool);
1099     scilab_fill_comparison_no_equal(ScalarUInt16, ScalarPolynomComplex, M_P, UInt16, Polynom, Bool);
1100
1101     //poly != Int32
1102     scilab_fill_comparison_no_equal(Polynom, ScalarInt32, P_M, Polynom, Int32, Bool);
1103     scilab_fill_comparison_no_equal(Polynom, ScalarUInt32, P_M, Polynom, UInt32, Bool);
1104     scilab_fill_comparison_no_equal(PolynomComplex, ScalarInt32, P_M, Polynom, Int32, Bool);
1105     scilab_fill_comparison_no_equal(PolynomComplex, ScalarUInt32, P_M, Polynom, UInt32, Bool);
1106
1107     scilab_fill_comparison_no_equal(ScalarInt32, Polynom, M_P, Int32, Polynom, Bool);
1108     scilab_fill_comparison_no_equal(ScalarUInt32, Polynom, M_P, UInt32, Polynom, Bool);
1109     scilab_fill_comparison_no_equal(ScalarInt32, PolynomComplex, M_P, Int32, Polynom, Bool);
1110     scilab_fill_comparison_no_equal(ScalarUInt32, PolynomComplex, M_P, UInt32, Polynom, Bool);
1111
1112     scilab_fill_comparison_no_equal(ScalarPolynom, ScalarInt32, P_M, Polynom, Int32, Bool);
1113     scilab_fill_comparison_no_equal(ScalarPolynom, ScalarUInt32, P_M, Polynom, UInt32, Bool);
1114     scilab_fill_comparison_no_equal(ScalarPolynomComplex, ScalarInt32, P_M, Polynom, Int32, Bool);
1115     scilab_fill_comparison_no_equal(ScalarPolynomComplex, ScalarUInt32, P_M, Polynom, UInt32, Bool);
1116
1117     scilab_fill_comparison_no_equal(ScalarInt32, ScalarPolynom, M_P, Int32, Polynom, Bool);
1118     scilab_fill_comparison_no_equal(ScalarUInt32, ScalarPolynom, M_P, UInt32, Polynom, Bool);
1119     scilab_fill_comparison_no_equal(ScalarInt32, ScalarPolynomComplex, M_P, Int32, Polynom, Bool);
1120     scilab_fill_comparison_no_equal(ScalarUInt32, ScalarPolynomComplex, M_P, UInt32, Polynom, Bool);
1121
1122     //poly != Int64
1123     scilab_fill_comparison_no_equal(Polynom, ScalarInt64, P_M, Polynom, Int64, Bool);
1124     scilab_fill_comparison_no_equal(Polynom, ScalarUInt64, P_M, Polynom, UInt64, Bool);
1125     scilab_fill_comparison_no_equal(PolynomComplex, ScalarInt64, P_M, Polynom, Int64, Bool);
1126     scilab_fill_comparison_no_equal(PolynomComplex, ScalarUInt64, P_M, Polynom, UInt64, Bool);
1127
1128     scilab_fill_comparison_no_equal(ScalarInt64, Polynom, M_P, Int64, Polynom, Bool);
1129     scilab_fill_comparison_no_equal(ScalarUInt64, Polynom, M_P, UInt64, Polynom, Bool);
1130     scilab_fill_comparison_no_equal(ScalarInt64, PolynomComplex, M_P, Int64, Polynom, Bool);
1131     scilab_fill_comparison_no_equal(ScalarUInt64, PolynomComplex, M_P, UInt64, Polynom, Bool);
1132
1133     scilab_fill_comparison_no_equal(ScalarPolynom, ScalarInt64, P_M, Polynom, Int64, Bool);
1134     scilab_fill_comparison_no_equal(ScalarPolynom, ScalarUInt64, P_M, Polynom, UInt64, Bool);
1135     scilab_fill_comparison_no_equal(ScalarPolynomComplex, ScalarInt64, P_M, Polynom, Int64, Bool);
1136     scilab_fill_comparison_no_equal(ScalarPolynomComplex, ScalarUInt64, P_M, Polynom, UInt64, Bool);
1137
1138     scilab_fill_comparison_no_equal(ScalarInt64, ScalarPolynom, M_P, Int64, Polynom, Bool);
1139     scilab_fill_comparison_no_equal(ScalarUInt64, ScalarPolynom, M_P, UInt64, Polynom, Bool);
1140     scilab_fill_comparison_no_equal(ScalarInt64, ScalarPolynomComplex, M_P, Int64, Polynom, Bool);
1141     scilab_fill_comparison_no_equal(ScalarUInt64, ScalarPolynomComplex, M_P, UInt64, Polynom, Bool);
1142
1143     //poly != bool
1144     scilab_fill_comparison_no_equal(Polynom, Bool, M_E, Polynom, Bool, Bool);
1145     scilab_fill_comparison_no_equal(PolynomComplex, Bool, M_E, Polynom, Bool, Bool);
1146     scilab_fill_comparison_no_equal(ScalarPolynom, Bool, M_E, Polynom, Bool, Bool);
1147     scilab_fill_comparison_no_equal(ScalarPolynomComplex, Bool, M_E, Polynom, Bool, Bool);
1148
1149     scilab_fill_comparison_no_equal(Bool, Polynom, M_E, Bool, Polynom, Bool);
1150     scilab_fill_comparison_no_equal(Bool, PolynomComplex, M_E, Bool, Polynom, Bool);
1151     scilab_fill_comparison_no_equal(Bool, ScalarPolynom, M_E, Bool, Polynom, Bool);
1152     scilab_fill_comparison_no_equal(Bool, ScalarPolynomComplex, M_E, Bool, Polynom, Bool);
1153
1154     //Sparse
1155     scilab_fill_comparison_no_equal(Sparse, Sparse, M_M, Sparse, Sparse, SparseBool);
1156     scilab_fill_comparison_no_equal(Sparse, SparseComplex, M_M, Sparse, Sparse, SparseBool);
1157     scilab_fill_comparison_no_equal(Sparse, Double, SP_M, Sparse, Double, SparseBool);
1158     scilab_fill_comparison_no_equal(Sparse, DoubleComplex, SP_M, Sparse, Double, SparseBool);
1159     scilab_fill_comparison_no_equal(Sparse, ScalarDouble, SP_M, Sparse, Double, SparseBool);
1160     scilab_fill_comparison_no_equal(Sparse, ScalarDoubleComplex, SP_M, Sparse, Double, SparseBool);
1161
1162     scilab_fill_comparison_no_equal(Sparse, Empty, M_E, Sparse, Double, Bool);
1163     scilab_fill_comparison_no_equal(Sparse, Identity, M_E, Sparse, Double, SparseBool);
1164     scilab_fill_comparison_no_equal(Sparse, IdentityComplex, M_E, Sparse, Double, SparseBool);
1165
1166     scilab_fill_comparison_no_equal(SparseComplex, Sparse, M_M, Sparse, Sparse, SparseBool);
1167     scilab_fill_comparison_no_equal(SparseComplex, SparseComplex, M_M, Sparse, Sparse, SparseBool);
1168     scilab_fill_comparison_no_equal(SparseComplex, Double, SP_M, Sparse, Double, SparseBool);
1169     scilab_fill_comparison_no_equal(SparseComplex, DoubleComplex, SP_M, Sparse, Double, SparseBool);
1170     scilab_fill_comparison_no_equal(SparseComplex, ScalarDouble, SP_M, Sparse, Double, SparseBool);
1171     scilab_fill_comparison_no_equal(SparseComplex, ScalarDoubleComplex, SP_M, Sparse, Double, SparseBool);
1172
1173     scilab_fill_comparison_no_equal(SparseComplex, Empty, M_E, Sparse, Double, Bool);
1174     scilab_fill_comparison_no_equal(SparseComplex, Identity, M_E, Sparse, Double, SparseBool);
1175     scilab_fill_comparison_no_equal(SparseComplex, IdentityComplex, M_E, Sparse, Double, SparseBool);
1176
1177     scilab_fill_comparison_no_equal(Sparse, Bool, M_E, Sparse, Bool, Bool);
1178     scilab_fill_comparison_no_equal(Sparse, ScalarBool, M_E, Sparse, Bool, Bool);
1179     scilab_fill_comparison_no_equal(SparseComplex, Bool, M_E, Sparse, Bool, Bool);
1180     scilab_fill_comparison_no_equal(SparseComplex, ScalarBool, M_E, Sparse, Bool, Bool);
1181
1182     scilab_fill_comparison_no_equal(Sparse, Int8, SP_M, Sparse, Int8, SparseBool);
1183     scilab_fill_comparison_no_equal(Int8, Sparse, M_SP, Int8, Sparse, SparseBool);
1184     scilab_fill_comparison_no_equal(SparseComplex, Int8, SP_M, Sparse, Int8, SparseBool);
1185     scilab_fill_comparison_no_equal(Int8, SparseComplex, M_SP, Int8, Sparse, SparseBool);
1186
1187     scilab_fill_comparison_no_equal(Sparse, UInt8, SP_M, Sparse, UInt8, SparseBool);
1188     scilab_fill_comparison_no_equal(UInt8, Sparse, M_SP, UInt8, Sparse, SparseBool);
1189     scilab_fill_comparison_no_equal(SparseComplex, UInt8, SP_M, Sparse, UInt8, SparseBool);
1190     scilab_fill_comparison_no_equal(UInt8, SparseComplex, M_SP, UInt8, Sparse, SparseBool);
1191
1192     scilab_fill_comparison_no_equal(Sparse, Int16, SP_M, Sparse, Int16, SparseBool);
1193     scilab_fill_comparison_no_equal(Int16, Sparse, M_SP, Int16, Sparse, SparseBool);
1194     scilab_fill_comparison_no_equal(SparseComplex, Int16, SP_M, Sparse, Int16, SparseBool);
1195     scilab_fill_comparison_no_equal(Int16, SparseComplex, M_SP, Int16, Sparse, SparseBool);
1196
1197     scilab_fill_comparison_no_equal(Sparse, UInt16, SP_M, Sparse, UInt16, SparseBool);
1198     scilab_fill_comparison_no_equal(UInt16, Sparse, M_SP, UInt16, Sparse, SparseBool);
1199     scilab_fill_comparison_no_equal(SparseComplex, UInt16, SP_M, Sparse, UInt16, SparseBool);
1200     scilab_fill_comparison_no_equal(UInt16, SparseComplex, M_SP, UInt16, Sparse, SparseBool);
1201
1202     scilab_fill_comparison_no_equal(Sparse, Int32, SP_M, Sparse, Int32, SparseBool);
1203     scilab_fill_comparison_no_equal(Int32, Sparse, M_SP, Int32, Sparse, SparseBool);
1204     scilab_fill_comparison_no_equal(SparseComplex, Int32, SP_M, Sparse, Int32, SparseBool);
1205     scilab_fill_comparison_no_equal(Int32, SparseComplex, M_SP, Int32, Sparse, SparseBool);
1206
1207     scilab_fill_comparison_no_equal(Sparse, UInt32, SP_M, Sparse, UInt32, SparseBool);
1208     scilab_fill_comparison_no_equal(UInt32, Sparse, M_SP, UInt32, Sparse, SparseBool);
1209     scilab_fill_comparison_no_equal(SparseComplex, UInt32, SP_M, Sparse, UInt32, SparseBool);
1210     scilab_fill_comparison_no_equal(UInt32, SparseComplex, M_SP, UInt32, Sparse, SparseBool);
1211
1212     scilab_fill_comparison_no_equal(Sparse, Int64, SP_M, Sparse, Int64, SparseBool);
1213     scilab_fill_comparison_no_equal(Int64, Sparse, M_SP, Int64, Sparse, SparseBool);
1214     scilab_fill_comparison_no_equal(SparseComplex, Int64, SP_M, Sparse, Int64, SparseBool);
1215     scilab_fill_comparison_no_equal(Int64, SparseComplex, M_SP, Int64, Sparse, SparseBool);
1216
1217     scilab_fill_comparison_no_equal(Sparse, UInt64, SP_M, Sparse, UInt64, SparseBool);
1218     scilab_fill_comparison_no_equal(UInt64, Sparse, M_SP, UInt64, Sparse, SparseBool);
1219     scilab_fill_comparison_no_equal(SparseComplex, UInt64, SP_M, Sparse, UInt64, SparseBool);
1220     scilab_fill_comparison_no_equal(UInt64, SparseComplex, M_SP, UInt64, Sparse, SparseBool);
1221
1222     scilab_fill_comparison_no_equal(Sparse, ScalarInt8, SP_M, Sparse, Int8, SparseBool);
1223     scilab_fill_comparison_no_equal(ScalarInt8, Sparse, M_SP, Int8, Sparse, SparseBool);
1224     scilab_fill_comparison_no_equal(SparseComplex, ScalarInt8, SP_M, Sparse, Int8, SparseBool);
1225     scilab_fill_comparison_no_equal(ScalarInt8, SparseComplex, M_SP, Int8, Sparse, SparseBool);
1226
1227     scilab_fill_comparison_no_equal(Sparse, ScalarUInt8, SP_M, Sparse, UInt8, SparseBool);
1228     scilab_fill_comparison_no_equal(ScalarUInt8, Sparse, M_SP, UInt8, Sparse, SparseBool);
1229     scilab_fill_comparison_no_equal(SparseComplex, ScalarUInt8, SP_M, Sparse, UInt8, SparseBool);
1230     scilab_fill_comparison_no_equal(ScalarUInt8, SparseComplex, M_SP, UInt8, Sparse, SparseBool);
1231
1232     scilab_fill_comparison_no_equal(Sparse, ScalarInt16, SP_M, Sparse, Int16, SparseBool);
1233     scilab_fill_comparison_no_equal(ScalarInt16, Sparse, M_SP, Int16, Sparse, SparseBool);
1234     scilab_fill_comparison_no_equal(SparseComplex, ScalarInt16, SP_M, Sparse, Int16, SparseBool);
1235     scilab_fill_comparison_no_equal(ScalarInt16, SparseComplex, M_SP, Int16, Sparse, SparseBool);
1236
1237     scilab_fill_comparison_no_equal(Sparse, ScalarUInt16, SP_M, Sparse, UInt16, SparseBool);
1238     scilab_fill_comparison_no_equal(ScalarUInt16, Sparse, M_SP, UInt16, Sparse, SparseBool);
1239     scilab_fill_comparison_no_equal(SparseComplex, ScalarUInt16, SP_M, Sparse, UInt16, SparseBool);
1240     scilab_fill_comparison_no_equal(ScalarUInt16, SparseComplex, M_SP, UInt16, Sparse, SparseBool);
1241
1242     scilab_fill_comparison_no_equal(Sparse, ScalarInt32, SP_M, Sparse, Int32, SparseBool);
1243     scilab_fill_comparison_no_equal(ScalarInt32, Sparse, M_SP, Int32, Sparse, SparseBool);
1244     scilab_fill_comparison_no_equal(SparseComplex, ScalarInt32, SP_M, Sparse, Int32, SparseBool);
1245     scilab_fill_comparison_no_equal(ScalarInt32, SparseComplex, M_SP, Int32, Sparse, SparseBool);
1246
1247     scilab_fill_comparison_no_equal(Sparse, ScalarUInt32, SP_M, Sparse, UInt32, SparseBool);
1248     scilab_fill_comparison_no_equal(ScalarUInt32, Sparse, M_SP, UInt32, Sparse, SparseBool);
1249     scilab_fill_comparison_no_equal(SparseComplex, ScalarUInt32, SP_M, Sparse, UInt32, SparseBool);
1250     scilab_fill_comparison_no_equal(ScalarUInt32, SparseComplex, M_SP, UInt32, Sparse, SparseBool);
1251
1252     scilab_fill_comparison_no_equal(Sparse, ScalarInt64, SP_M, Sparse, Int64, SparseBool);
1253     scilab_fill_comparison_no_equal(ScalarInt64, Sparse, M_SP, Int64, Sparse, SparseBool);
1254     scilab_fill_comparison_no_equal(SparseComplex, ScalarInt64, SP_M, Sparse, Int64, SparseBool);
1255     scilab_fill_comparison_no_equal(ScalarInt64, SparseComplex, M_SP, Int64, Sparse, SparseBool);
1256
1257     scilab_fill_comparison_no_equal(Sparse, ScalarUInt64, SP_M, Sparse, UInt64, SparseBool);
1258     scilab_fill_comparison_no_equal(ScalarUInt64, Sparse, M_SP, UInt64, Sparse, SparseBool);
1259     scilab_fill_comparison_no_equal(SparseComplex, ScalarUInt64, SP_M, Sparse, UInt64, SparseBool);
1260     scilab_fill_comparison_no_equal(ScalarUInt64, SparseComplex, M_SP, UInt64, Sparse, SparseBool);
1261
1262
1263     //SparseBool
1264     scilab_fill_comparison_no_equal(SparseBool, SparseBool, M_M, SparseBool, SparseBool, SparseBool);
1265     scilab_fill_comparison_no_equal(SparseBool, Bool, M_M, SparseBool, Bool, SparseBool);
1266     scilab_fill_comparison_no_equal(Bool, SparseBool, M_M, Bool, SparseBool, SparseBool);
1267     scilab_fill_comparison_no_equal(SparseBool, ScalarBool, M_M, SparseBool, Bool, SparseBool);
1268     scilab_fill_comparison_no_equal(ScalarBool, SparseBool, M_M, Bool, SparseBool, SparseBool);
1269
1270     scilab_fill_comparison_no_equal(SparseBool, Double, M_E, SparseBool, Double, Bool);
1271     scilab_fill_comparison_no_equal(Double, SparseBool, M_E, Double, SparseBool, Bool);
1272     scilab_fill_comparison_no_equal(SparseBool, DoubleComplex, M_E, SparseBool, Double, Bool);
1273     scilab_fill_comparison_no_equal(DoubleComplex, SparseBool, M_E, Double, SparseBool, Bool);
1274
1275     scilab_fill_comparison_no_equal(SparseBool, ScalarDouble, M_E, SparseBool, Double, Bool);
1276     scilab_fill_comparison_no_equal(ScalarDouble, SparseBool, M_E, Double, SparseBool, Bool);
1277     scilab_fill_comparison_no_equal(SparseBool, ScalarDoubleComplex, M_E, SparseBool, Double, Bool);
1278     scilab_fill_comparison_no_equal(ScalarDoubleComplex, SparseBool, M_E, Double, SparseBool, Bool);
1279
1280     scilab_fill_comparison_no_equal(SparseBool, Empty, M_E, SparseBool, Double, Bool);
1281     scilab_fill_comparison_no_equal(Empty, SparseBool, M_E, Double, SparseBool, Bool);
1282     scilab_fill_comparison_no_equal(SparseBool, Identity, M_E, SparseBool, Double, Bool);
1283     scilab_fill_comparison_no_equal(Identity, SparseBool, M_E, Double, SparseBool, Bool);
1284     scilab_fill_comparison_no_equal(SparseBool, IdentityComplex, M_E, SparseBool, Double, Bool);
1285     scilab_fill_comparison_no_equal(IdentityComplex, SparseBool, M_E, Double, SparseBool, Bool);
1286
1287     scilab_fill_comparison_no_equal(SparseBool, Int8, M_E, SparseBool, Int8, Bool);
1288     scilab_fill_comparison_no_equal(Int8, SparseBool, M_E, Int8, SparseBool, Bool);
1289     scilab_fill_comparison_no_equal(SparseBool, UInt8, M_E, SparseBool, UInt8, Bool);
1290     scilab_fill_comparison_no_equal(UInt8, SparseBool, M_E, UInt8, SparseBool, Bool);
1291
1292     scilab_fill_comparison_no_equal(SparseBool, Int16, M_E, SparseBool, Int16, Bool);
1293     scilab_fill_comparison_no_equal(Int16, SparseBool, M_E, Int16, SparseBool, Bool);
1294     scilab_fill_comparison_no_equal(SparseBool, UInt16, M_E, SparseBool, UInt16, Bool);
1295     scilab_fill_comparison_no_equal(UInt16, SparseBool, M_E, UInt16, SparseBool, Bool);
1296
1297     scilab_fill_comparison_no_equal(SparseBool, Int32, M_E, SparseBool, Int32, Bool);
1298     scilab_fill_comparison_no_equal(Int32, SparseBool, M_E, Int32, SparseBool, Bool);
1299     scilab_fill_comparison_no_equal(SparseBool, UInt32, M_E, SparseBool, UInt32, Bool);
1300     scilab_fill_comparison_no_equal(UInt32, SparseBool, M_E, UInt32, SparseBool, Bool);
1301
1302     scilab_fill_comparison_no_equal(SparseBool, Int64, M_E, SparseBool, Int64, Bool);
1303     scilab_fill_comparison_no_equal(Int64, SparseBool, M_E, Int64, SparseBool, Bool);
1304     scilab_fill_comparison_no_equal(SparseBool, UInt64, M_E, SparseBool, UInt64, Bool);
1305     scilab_fill_comparison_no_equal(UInt64, SparseBool, M_E, UInt64, SparseBool, Bool);
1306
1307     scilab_fill_comparison_no_equal(SparseBool, ScalarInt8, M_E, SparseBool, Int8, Bool);
1308     scilab_fill_comparison_no_equal(ScalarInt8, SparseBool, M_E, Int8, SparseBool, Bool);
1309     scilab_fill_comparison_no_equal(SparseBool, ScalarUInt8, M_E, SparseBool, UInt8, Bool);
1310     scilab_fill_comparison_no_equal(ScalarUInt8, SparseBool, M_E, UInt8, SparseBool, Bool);
1311
1312     scilab_fill_comparison_no_equal(SparseBool, ScalarInt16, M_E, SparseBool, Int16, Bool);
1313     scilab_fill_comparison_no_equal(ScalarInt16, SparseBool, M_E, Int16, SparseBool, Bool);
1314     scilab_fill_comparison_no_equal(SparseBool, ScalarUInt16, M_E, SparseBool, UInt16, Bool);
1315     scilab_fill_comparison_no_equal(ScalarUInt16, SparseBool, M_E, UInt16, SparseBool, Bool);
1316
1317     scilab_fill_comparison_no_equal(SparseBool, ScalarInt32, M_E, SparseBool, Int32, Bool);
1318     scilab_fill_comparison_no_equal(ScalarInt32, SparseBool, M_E, Int32, SparseBool, Bool);
1319     scilab_fill_comparison_no_equal(SparseBool, ScalarUInt32, M_E, SparseBool, UInt32, Bool);
1320     scilab_fill_comparison_no_equal(ScalarUInt32, SparseBool, M_E, UInt32, SparseBool, Bool);
1321
1322     scilab_fill_comparison_no_equal(SparseBool, ScalarInt64, M_E, SparseBool, Int64, Bool);
1323     scilab_fill_comparison_no_equal(ScalarInt64, SparseBool, M_E, Int64, SparseBool, Bool);
1324     scilab_fill_comparison_no_equal(SparseBool, ScalarUInt64, M_E, SparseBool, UInt64, Bool);
1325     scilab_fill_comparison_no_equal(ScalarUInt64, SparseBool, M_E, UInt64, SparseBool, Bool);
1326
1327     scilab_fill_comparison_no_equal(SparseBool, String, M_E, SparseBool, String, Bool);
1328     scilab_fill_comparison_no_equal(String, SparseBool, M_E, String, SparseBool, Bool);
1329     scilab_fill_comparison_no_equal(SparseBool, ScalarString, M_E, SparseBool, String, Bool);
1330     scilab_fill_comparison_no_equal(ScalarString, SparseBool, M_E, String, SparseBool, Bool);
1331
1332     scilab_fill_comparison_no_equal(SparseBool, SparseComplex, M_E, SparseBool, Sparse, Bool);
1333     scilab_fill_comparison_no_equal(SparseComplex, SparseBool, M_E, Sparse, SparseBool, Bool);
1334
1335     scilab_fill_comparison_no_equal(SparseBool, Sparse, M_E, SparseBool, Sparse, Bool);
1336     scilab_fill_comparison_no_equal(Sparse, SparseBool, M_E, Sparse, SparseBool, Bool);
1337
1338     scilab_fill_comparison_no_equal(SparseBool, Sparse, M_E, SparseBool, Sparse, Bool);
1339     scilab_fill_comparison_no_equal(Sparse, SparseBool, M_E, Sparse, SparseBool, Bool);
1340
1341     //struct
1342     scilab_fill_comparison_no_equal(Struct, Struct, M_M, Struct, Struct, Bool);
1343
1344     /*scilab_fill_comparison_no_equal(Struct, Double, M_E, Struct, Double, Bool);
1345     scilab_fill_comparison_no_equal(Double, Struct, M_E, Double, Struct, Bool);
1346     scilab_fill_comparison_no_equal(Struct, DoubleComplex, M_E, Struct, Double, Bool);
1347     scilab_fill_comparison_no_equal(DoubleComplex, Struct, M_E, Double, Struct, Bool);
1348
1349     scilab_fill_comparison_no_equal(Struct, ScalarDouble, M_E, Struct, Double, Bool);
1350     scilab_fill_comparison_no_equal(ScalarDouble, Struct, M_E, Double, Struct, Bool);
1351     scilab_fill_comparison_no_equal(Struct, ScalarDoubleComplex, M_E, Struct, Double, Bool);
1352     scilab_fill_comparison_no_equal(ScalarDoubleComplex, Struct, M_E, Double, Struct, Bool);
1353
1354     scilab_fill_comparison_no_equal(Struct, Empty, M_E, Struct, Double, Bool);
1355     scilab_fill_comparison_no_equal(Empty, Struct, M_E, Double, Struct, Bool);
1356     scilab_fill_comparison_no_equal(Struct, Identity, M_E, Struct, Double, Bool);
1357     scilab_fill_comparison_no_equal(Identity, Struct, M_E, Double, Struct, Bool);
1358     scilab_fill_comparison_no_equal(Struct, IdentityComplex, M_E, Struct, Double, Bool);
1359     scilab_fill_comparison_no_equal(IdentityComplex, Struct, M_E, Double, Struct, Bool);
1360
1361     scilab_fill_comparison_no_equal(Struct, Int8, M_E, Struct, Int8, Bool);
1362     scilab_fill_comparison_no_equal(Int8, Struct, M_E, Int8, Struct, Bool);
1363     scilab_fill_comparison_no_equal(Struct, UInt8, M_E, Struct, UInt8, Bool);
1364     scilab_fill_comparison_no_equal(UInt8, Struct, M_E, UInt8, Struct, Bool);
1365
1366     scilab_fill_comparison_no_equal(Struct, Int16, M_E, Struct, Int16, Bool);
1367     scilab_fill_comparison_no_equal(Int16, Struct, M_E, Int16, Struct, Bool);
1368     scilab_fill_comparison_no_equal(Struct, UInt16, M_E, Struct, UInt16, Bool);
1369     scilab_fill_comparison_no_equal(UInt16, Struct, M_E, UInt16, Struct, Bool);
1370
1371     scilab_fill_comparison_no_equal(Struct, Int32, M_E, Struct, Int32, Bool);
1372     scilab_fill_comparison_no_equal(Int32, Struct, M_E, Int32, Struct, Bool);
1373     scilab_fill_comparison_no_equal(Struct, UInt32, M_E, Struct, UInt32, Bool);
1374     scilab_fill_comparison_no_equal(UInt32, Struct, M_E, UInt32, Struct, Bool);
1375
1376     scilab_fill_comparison_no_equal(Struct, Int64, M_E, Struct, Int64, Bool);
1377     scilab_fill_comparison_no_equal(Int64, Struct, M_E, Int64, Struct, Bool);
1378     scilab_fill_comparison_no_equal(Struct, UInt64, M_E, Struct, UInt64, Bool);
1379     scilab_fill_comparison_no_equal(UInt64, Struct, M_E, UInt64, Struct, Bool);
1380
1381     scilab_fill_comparison_no_equal(Struct, ScalarInt8, M_E, Struct, Int8, Bool);
1382     scilab_fill_comparison_no_equal(ScalarInt8, Struct, M_E, Int8, Struct, Bool);
1383     scilab_fill_comparison_no_equal(Struct, ScalarUInt8, M_E, Struct, UInt8, Bool);
1384     scilab_fill_comparison_no_equal(ScalarUInt8, Struct, M_E, UInt8, Struct, Bool);
1385
1386     scilab_fill_comparison_no_equal(Struct, ScalarInt16, M_E, Struct, Int16, Bool);
1387     scilab_fill_comparison_no_equal(ScalarInt16, Struct, M_E, Int16, Struct, Bool);
1388     scilab_fill_comparison_no_equal(Struct, ScalarUInt16, M_E, Struct, UInt16, Bool);
1389     scilab_fill_comparison_no_equal(ScalarUInt16, Struct, M_E, UInt16, Struct, Bool);
1390
1391     scilab_fill_comparison_no_equal(Struct, ScalarInt32, M_E, Struct, Int32, Bool);
1392     scilab_fill_comparison_no_equal(ScalarInt32, Struct, M_E, Int32, Struct, Bool);
1393     scilab_fill_comparison_no_equal(Struct, ScalarUInt32, M_E, Struct, UInt32, Bool);
1394     scilab_fill_comparison_no_equal(ScalarUInt32, Struct, M_E, UInt32, Struct, Bool);
1395
1396     scilab_fill_comparison_no_equal(Struct, ScalarInt64, M_E, Struct, Int64, Bool);
1397     scilab_fill_comparison_no_equal(ScalarInt64, Struct, M_E, Int64, Struct, Bool);
1398     scilab_fill_comparison_no_equal(Struct, ScalarUInt64, M_E, Struct, UInt64, Bool);
1399     scilab_fill_comparison_no_equal(ScalarUInt64, Struct, M_E, UInt64, Struct, Bool);
1400
1401     scilab_fill_comparison_no_equal(Struct, String, M_E, Struct, String, Bool);
1402     scilab_fill_comparison_no_equal(String, Struct, M_E, String, Struct, Bool);
1403     scilab_fill_comparison_no_equal(Struct, ScalarString, M_E, Struct, String, Bool);
1404     scilab_fill_comparison_no_equal(ScalarString, Struct, M_E, String, Struct, Bool);
1405
1406     scilab_fill_comparison_no_equal(Struct, SparseComplex, M_E, Struct, Sparse, Bool);
1407     scilab_fill_comparison_no_equal(SparseComplex, Struct, M_E, Sparse, Struct, Bool);
1408
1409     scilab_fill_comparison_no_equal(Struct, Sparse, M_E, Struct, Sparse, Bool);
1410     scilab_fill_comparison_no_equal(Sparse, Struct, M_E, Sparse, Struct, Bool);
1411
1412     scilab_fill_comparison_no_equal(Struct, SparseBool, M_E, Struct, SparseBool, Bool);
1413     scilab_fill_comparison_no_equal(SparseBool, Struct, M_E, SparseBool, Struct, Bool);*/
1414
1415     //List, TList, MList
1416     scilab_fill_comparison_no_equal(List, List, LT_LT, List, List, Bool);
1417     scilab_fill_comparison_no_equal(MList, MList, LT_LT, MList, MList, Bool);
1418     scilab_fill_comparison_no_equal(TList, TList, LT_LT, TList, TList, Bool);
1419
1420     scilab_fill_comparison_no_equal(List, TList, LT_LT, List, TList, Bool);
1421     scilab_fill_comparison_no_equal(TList, List, LT_LT, TList, List, Bool);
1422     scilab_fill_comparison_no_equal(List, MList, LT_LT, List, MList, Bool);
1423     scilab_fill_comparison_no_equal(MList, List, LT_LT, MList, List, Bool);
1424
1425     scilab_fill_comparison_no_equal(TList, MList, LT_LT, TList, MList, Bool);
1426     scilab_fill_comparison_no_equal(MList, TList, LT_LT, MList, TList, Bool);
1427
1428     //Cell
1429     scilab_fill_comparison_no_equal(Cell, Cell, M_M, Cell, Cell, Bool);
1430
1431     //Handle
1432     scilab_fill_comparison_no_equal(Handle, Handle, M_M, GraphicHandle, GraphicHandle, Bool);
1433
1434     //Macro
1435     scilab_fill_comparison_no_equal(Macro, Macro, MCR_MCR, Macro, Macro, Bool);
1436     scilab_fill_comparison_no_equal(MacroFile, MacroFile, MCR_MCR, MacroFile, MacroFile, Bool);
1437     scilab_fill_comparison_no_equal(Macro, MacroFile, MCR_MCR, Macro, MacroFile, Bool);
1438     scilab_fill_comparison_no_equal(MacroFile, Macro, MCR_MCR, MacroFile, Macro, Bool);
1439
1440
1441 #undef scilab_fill_comparison_no_equal
1442
1443 }
1444
1445 InternalType *GenericComparisonNonEqual(InternalType *_pLeftOperand, InternalType *_pRightOperand)
1446 {
1447     InternalType *pResult = NULL;
1448
1449     compnoequal_function compnoequal = pComparisonEqualfunction[_pLeftOperand->getId()][_pRightOperand->getId()];
1450     if (compnoequal)
1451     {
1452         pResult = compnoequal(_pLeftOperand, _pRightOperand);
1453         if (pResult)
1454         {
1455             return pResult;
1456         }
1457     }
1458
1459     /*
1460     ** Default case : Return NULL will Call Overloading.
1461     */
1462     return NULL;
1463 }
1464
1465
1466 //Matrix != x
1467 template<class T, class U, class O>
1468 InternalType* compnoequal_M_M(T *_pL, U *_pR)
1469 {
1470     //check dims
1471     int iDimsL = _pL->getDims();
1472     int iDimsR = _pR->getDims();
1473
1474     if (iDimsL != iDimsR)
1475     {
1476         return new Bool(true);
1477     }
1478
1479     int* piDimsL = _pL->getDimsArray();
1480     int* piDimsR = _pR->getDimsArray();
1481
1482     for (int i = 0; i < iDimsL; ++i)
1483     {
1484         if (piDimsL[i] != piDimsR[i])
1485         {
1486             return new Bool(true);
1487         }
1488     }
1489
1490     O* pOut = new O(iDimsL, piDimsL);
1491     int iSize = pOut->getSize();
1492
1493     compnoequal(_pL->get(), iSize, _pR->get(), pOut->get());
1494     return pOut;
1495 }
1496
1497 template<class T, class U, class O>
1498 InternalType* compnoequal_M_MC(T *_pL, U *_pR)
1499 {
1500     //check dims
1501     int iDimsL = _pL->getDims();
1502     int iDimsR = _pR->getDims();
1503
1504     if (iDimsL != iDimsR)
1505     {
1506         return new Bool(true);
1507     }
1508
1509     int* piDimsL = _pL->getDimsArray();
1510     int* piDimsR = _pR->getDimsArray();
1511
1512     for (int i = 0; i < iDimsL; ++i)
1513     {
1514         if (piDimsL[i] != piDimsR[i])
1515         {
1516             return new Bool(true);
1517         }
1518     }
1519
1520     O* pOut = new O(iDimsL, piDimsL);
1521     int iSize = pOut->getSize();
1522
1523     compnoequal(_pL->get(), iSize, _pR->get(), _pR->getImg(), pOut->get());
1524     return pOut;
1525 }
1526
1527 template<class T, class U, class O>
1528 InternalType* compnoequal_M_S(T *_pL, U *_pR)
1529 {
1530     O* pOut = new O(_pL->getDims(), _pL->getDimsArray());
1531     compnoequal(_pL->get(), (size_t)pOut->getSize(), _pR->get(0), pOut->get());
1532     return pOut;
1533 }
1534
1535 template<class T, class U, class O>
1536 InternalType* compnoequal_M_SC(T *_pL, U *_pR)
1537 {
1538     O* pOut = new O(_pL->getDims(), _pL->getDimsArray());
1539     compnoequal(_pL->get(), pOut->getSize(), _pR->get(0), _pR->getImg(0), pOut->get());
1540     return pOut;
1541 }
1542
1543 template<class T, class U, class O>
1544 InternalType* compnoequal_M_I(T *_pL, U *_pR)
1545 {
1546     O* pOut = new O(_pL->getDims(), _pL->getDimsArray());
1547     Double* pIdentity = Double::Identity(_pL->getDims(), _pL->getDimsArray(), _pR->get(0));
1548     compnoequal(_pL->get(), (size_t)pOut->getSize(), pIdentity->get(), pOut->get());
1549     delete pIdentity;
1550     return pOut;
1551 }
1552
1553 template<class T, class U, class O>
1554 InternalType* compnoequal_M_IC(T *_pL, U *_pR)
1555 {
1556     O* pOut = new O(_pL->getDims(), _pL->getDimsArray());
1557     Double* pIdentity = Double::Identity(_pL->getDims(), _pL->getDimsArray(), _pR->get(0), _pR->getImg(0));
1558     compnoequal(_pL->get(), (size_t)pOut->getSize(), pIdentity->get(), pIdentity->getImg(), pOut->get());
1559     delete pIdentity;
1560     return pOut;
1561 }
1562
1563 template<class T, class U, class O>
1564 InternalType* compnoequal_M_E(T *_pL, U *_pR)
1565 {
1566     return new Bool(true);
1567 }
1568
1569 template<class T, class U, class O>
1570 InternalType* compnoequal_E_M(T *_pL, U *_pR)
1571 {
1572     return new Bool(true);
1573 }
1574
1575 template<class T, class U, class O>
1576 InternalType* compnoequal_E_E(T *_pL, U *_pR)
1577 {
1578     return new Bool(false);
1579 }
1580
1581 //B != x
1582 template<class T, class U, class O>
1583 InternalType* compnoequal_B_M(T *_pL, U *_pR)
1584 {
1585     //check dims
1586     int iDimsL = _pL->getDims();
1587     int iDimsR = _pR->getDims();
1588     int* piDimsR = _pR->getDimsArray();
1589
1590     if (_pL->isScalar() == false)
1591     {
1592         if (iDimsL != iDimsR)
1593         {
1594             return new Bool(true);
1595         }
1596
1597         int* piDimsL = _pL->getDimsArray();
1598
1599         for (int i = 0; i < iDimsL; ++i)
1600         {
1601             if (piDimsL[i] != piDimsR[i])
1602             {
1603                 return new Bool(true);
1604             }
1605         }
1606     }
1607
1608     O* pOut = new O(iDimsR, piDimsR);
1609
1610     pOut->setTrue();
1611
1612     return pOut;
1613 }
1614
1615 template<class T, class U, class O>
1616 InternalType* compnoequal_M_B(T *_pL, U *_pR)
1617 {
1618     //check dims
1619     int iDimsL = _pL->getDims();
1620     int iDimsR = _pR->getDims();
1621     int* piDimsL = _pL->getDimsArray();
1622
1623     if (_pR->isScalar() == false)
1624     {
1625         if (iDimsL != iDimsR)
1626         {
1627             return new Bool(true);
1628         }
1629
1630         int* piDimsR = _pR->getDimsArray();
1631
1632         for (int i = 0; i < iDimsL; ++i)
1633         {
1634             if (piDimsL[i] != piDimsR[i])
1635             {
1636                 return new Bool(true);
1637             }
1638         }
1639     }
1640
1641     O* pOut = new O(iDimsL, piDimsL);
1642
1643     pOut->setTrue();
1644
1645     return pOut;
1646 }
1647
1648 //B != x
1649 template<class T, class U, class O>
1650 InternalType* compnoequal_B_S(T *_pL, U *_pR)
1651 {
1652
1653     O* pOut = new O(_pL->getDims(), _pL->getDimsArray());
1654
1655     pOut->setTrue();
1656
1657     return pOut;
1658 }
1659
1660 template<class T, class U, class O>
1661 InternalType* compnoequal_S_B(T *_pL, U *_pR)
1662 {
1663
1664     O* pOut = new O(_pR->getDims(), _pR->getDimsArray());
1665
1666     pOut->setTrue();
1667
1668     return pOut;
1669 }
1670
1671
1672
1673 //Matrix complex != x
1674 template<class T, class U, class O>
1675 InternalType* compnoequal_MC_M(T *_pL, U *_pR)
1676 {
1677     //check dims
1678     int iDimsL = _pL->getDims();
1679     int iDimsR = _pR->getDims();
1680
1681     if (iDimsL != iDimsR)
1682     {
1683         return new Bool(true);
1684     }
1685
1686     int* piDimsL = _pL->getDimsArray();
1687     int* piDimsR = _pR->getDimsArray();
1688
1689     for (int i = 0; i < iDimsL; ++i)
1690     {
1691         if (piDimsL[i] != piDimsR[i])
1692         {
1693             return new Bool(true);
1694         }
1695     }
1696
1697     O* pOut = new O(iDimsL, piDimsL);
1698     int iSize = pOut->getSize();
1699
1700     compnoequal(_pL->get(), _pL->getImg(), iSize, _pR->get(), pOut->get());
1701     return pOut;
1702 }
1703
1704 template<class T, class U, class O>
1705 InternalType* compnoequal_MC_MC(T *_pL, U *_pR)
1706 {
1707     //check dims
1708     int iDimsL = _pL->getDims();
1709     int iDimsR = _pR->getDims();
1710
1711     if (iDimsL != iDimsR)
1712     {
1713         return new Bool(true);
1714     }
1715
1716     int* piDimsL = _pL->getDimsArray();
1717     int* piDimsR = _pR->getDimsArray();
1718
1719     for (int i = 0; i < iDimsL; ++i)
1720     {
1721         if (piDimsL[i] != piDimsR[i])
1722         {
1723             return new Bool(true);
1724         }
1725     }
1726
1727     O* pOut = new O(iDimsL, piDimsL);
1728     int iSize = pOut->getSize();
1729
1730     compnoequal(_pL->get(), _pL->getImg(), iSize, _pR->get(), _pR->getImg(), pOut->get());
1731     return pOut;
1732 }
1733
1734 template<class T, class U, class O>
1735 InternalType* compnoequal_MC_S(T *_pL, U *_pR)
1736 {
1737     O* pOut = new O(_pL->getDims(), _pL->getDimsArray());
1738     compnoequal(_pL->get(), _pL->getImg(), pOut->getSize(), _pR->get(0), pOut->get());
1739     return pOut;
1740 }
1741
1742 template<class T, class U, class O>
1743 InternalType* compnoequal_MC_SC(T *_pL, U *_pR)
1744 {
1745     O* pOut = new O(_pL->getDims(), _pL->getDimsArray());
1746     compnoequal(_pL->get(), _pL->getImg(), pOut->getSize(), _pR->get(0), _pR->getImg(0), pOut->get());
1747     return pOut;
1748 }
1749
1750 template<class T, class U, class O>
1751 InternalType* compnoequal_MC_I(T *_pL, U *_pR)
1752 {
1753     O* pOut = new O(_pL->getDims(), _pL->getDimsArray());
1754     Double* pIdentity = Double::Identity(_pL->getDims(), _pL->getDimsArray(), _pR->get(0));
1755     compnoequal(_pL->get(), _pL->getImg(), (size_t)pOut->getSize(), pIdentity->get(), pOut->get());
1756     delete pIdentity;
1757     return pOut;
1758 }
1759
1760 template<class T, class U, class O>
1761 InternalType* compnoequal_MC_IC(T *_pL, U *_pR)
1762 {
1763     O* pOut = new O(_pL->getDims(), _pL->getDimsArray());
1764     Double* pIdentity = Double::Identity(_pL->getDims(), _pL->getDimsArray(), _pR->get(0), _pR->getImg(0));
1765     compnoequal(_pL->get(), _pL->getImg(), (size_t)pOut->getSize(), pIdentity->get(), pIdentity->getImg(), pOut->get());
1766     delete pIdentity;
1767     return pOut;
1768 }
1769
1770 //Scalar == x
1771 template<class T, class U, class O>
1772 InternalType* compnoequal_S_M(T *_pL, U *_pR)
1773 {
1774     O* pOut = new O(_pR->getDims(), _pR->getDimsArray());
1775     compnoequal(_pL->get(0), (size_t)pOut->getSize(), _pR->get(), pOut->get());
1776     return pOut;
1777 }
1778
1779 template<class T, class U, class O>
1780 InternalType* compnoequal_S_MC(T *_pL, U *_pR)
1781 {
1782     O* pOut = new O(_pR->getDims(), _pR->getDimsArray());
1783     compnoequal(_pL->get(0), pOut->getSize(), _pR->get(), _pR->getImg(), pOut->get());
1784     return pOut;
1785 }
1786
1787 template<class T, class U, class O>
1788 InternalType* compnoequal_S_S(T *_pL, U *_pR)
1789 {
1790     O* pOut = new O(1, 1);
1791     compnoequal(_pL->get(0), _pR->get(0), pOut->get());
1792     return pOut;
1793 }
1794
1795 template<class T, class U, class O>
1796 InternalType* compnoequal_S_SC(T *_pL, U *_pR)
1797 {
1798     O* pOut = new O(1, 1);
1799     compnoequal(_pL->get(), 1, _pR->get(0), _pR->getImg(0), pOut->get());
1800     return pOut;
1801 }
1802
1803 template<class T, class U, class O>
1804 InternalType* compnoequal_S_I(T *_pL, U *_pR)
1805 {
1806     O* pOut = new O(1, 1);
1807     compnoequal(_pL->get(0), _pR->get(0), pOut->get());
1808     return pOut;
1809 }
1810
1811 template<class T, class U, class O>
1812 InternalType* compnoequal_S_IC(T *_pL, U *_pR)
1813 {
1814
1815     O* pOut = new  Bool(true);
1816     compnoequal(_pL->get(0), 1, _pR->get(), _pR->getImg(), pOut->get());
1817     return pOut;
1818 }
1819
1820 //Scalar complex != x
1821 template<class T, class U, class O>
1822 InternalType* compnoequal_SC_M(T *_pL, U *_pR)
1823 {
1824     O* pOut = new O(_pR->getDims(), _pR->getDimsArray());
1825     compnoequal(_pL->get(0), _pL->getImg(0), pOut->getSize(), _pR->get(), pOut->get());
1826     return pOut;
1827 }
1828
1829 template<class T, class U, class O>
1830 InternalType* compnoequal_SC_MC(T *_pL, U *_pR)
1831 {
1832     O* pOut = new O(_pR->getDims(), _pR->getDimsArray());
1833     compnoequal(_pL->get(0), _pL->getImg(0), pOut->getSize(), _pR->get(), _pR->getImg(), pOut->get());
1834     return pOut;
1835 }
1836
1837 template<class T, class U, class O>
1838 InternalType* compnoequal_SC_S(T *_pL, U *_pR)
1839 {
1840     O* pOut = new O(true);
1841     if (_pL->getImg(0) == 0)
1842     {
1843         compnoequal(_pL->get(0), _pR->get(0), pOut->get());
1844     }
1845     return pOut;
1846 }
1847
1848 template<class T, class U, class O>
1849 InternalType* compnoequal_SC_SC(T *_pL, U *_pR)
1850 {
1851     O* pOut = new O(false);
1852     compnoequal(_pL->get(0), _pL->getImg(0), _pR->get(0), _pR->getImg(0), pOut->get());
1853     return pOut;
1854 }
1855
1856 template<class T, class U, class O>
1857 InternalType* compnoequal_SC_I(T *_pL, U *_pR)
1858 {
1859     O* pOut = new Bool(true);
1860     if (_pL->getImg(0) == 0)
1861     {
1862         compnoequal(_pL->get(0), _pR->get(0), pOut->get());
1863     }
1864     return pOut;
1865 }
1866
1867 template<class T, class U, class O>
1868 InternalType* compnoequal_SC_IC(T *_pL, U *_pR)
1869 {
1870     O* pOut = new Bool(true);
1871     compnoequal(_pL->get(0), _pL->getImg(0), _pR->get(0), _pR->getImg(0), pOut->get());
1872     return pOut;
1873 }
1874
1875 //Identity != x
1876 template<class T, class U, class O>
1877 InternalType* compnoequal_I_M(T *_pL, U *_pR)
1878 {
1879     O* pOut = new Bool(_pR->getDims(), _pR->getDimsArray());
1880     Double* pIdentity = Double::Identity(_pR->getDims(), _pR->getDimsArray(), _pL->get(0));
1881     compnoequal(pIdentity->get(), pOut->getSize(), _pR->get(), pOut->get());
1882     delete pIdentity;
1883     return pOut;
1884 }
1885
1886 template<class T, class U, class O>
1887 InternalType* compnoequal_I_MC(T *_pL, U *_pR)
1888 {
1889     O* pOut = new Bool(_pR->getDims(), _pR->getDimsArray());
1890     Double* pIdentity = Double::Identity(_pR->getDims(), _pR->getDimsArray(), _pL->get(0));
1891     compnoequal(pIdentity->get(), pOut->getSize(), _pR->get(), _pR->getImg(), pOut->get());
1892     delete pIdentity;
1893     return pOut;
1894 }
1895
1896 template<class T, class U, class O>
1897 InternalType* compnoequal_I_S(T *_pL, U *_pR)
1898 {
1899     O* pOut = new Bool(true);
1900     compnoequal(_pL->get(0), _pR->get(0), pOut->get());
1901     return pOut;
1902 }
1903
1904 template<class T, class U, class O>
1905 InternalType* compnoequal_I_SC(T *_pL, U *_pR)
1906 {
1907     return compnoequal_SC_I<U, T, O>(_pR, _pL);
1908 }
1909
1910 template<class T, class U, class O>
1911 InternalType* compnoequal_I_I(T *_pL, U *_pR)
1912 {
1913     O* pOut = new Bool(true);
1914     compnoequal(_pL->get(0), _pR->get(0), pOut->get());
1915     return pOut;
1916 }
1917
1918 template<class T, class U, class O>
1919 InternalType* compnoequal_I_IC(T *_pL, U *_pR)
1920 {
1921     O* pOut = new Bool(true);
1922     if (_pR->getImg(0) == 0)
1923     {
1924         compnoequal(_pL->get(0), _pR->get(0), pOut->get());
1925     }
1926     return pOut;
1927 }
1928
1929 //Identity complex != x
1930 template<class T, class U, class O>
1931 InternalType* compnoequal_IC_M(T *_pL, U *_pR)
1932 {
1933     O* pOut = new Bool(_pR->getDims(), _pR->getDimsArray());
1934     Double* pIdentity = Double::Identity(_pR->getDims(), _pR->getDimsArray(), _pL->get(0), _pL->getImg(0));
1935     compnoequal(pIdentity->get(), pIdentity->getImg(), pOut->getSize(), _pR->get(), pOut->get());
1936     delete pIdentity;
1937     return pOut;
1938 }
1939
1940 template<class T, class U, class O>
1941 InternalType* compnoequal_IC_MC(T *_pL, U *_pR)
1942 {
1943     O* pOut = new Bool(_pR->getDims(), _pR->getDimsArray());
1944     Double* pIdentity = Double::Identity(_pR->getDims(), _pR->getDimsArray(), _pL->get(0), _pL->getImg(0));
1945     compnoequal(pIdentity->get(), pIdentity->getImg(), pOut->getSize(), _pR->get(), _pR->getImg(), pOut->get());
1946     delete pIdentity;
1947     return pOut;
1948 }
1949
1950 template<class T, class U, class O>
1951 InternalType* compnoequal_IC_S(T *_pL, U *_pR)
1952 {
1953     O* pOut = new Bool(true);
1954     if (_pL->getImg(0) == 0)
1955     {
1956         compnoequal(_pL->get(0), _pR->get(0), pOut->get());
1957     }
1958     return pOut;
1959 }
1960
1961 template<class T, class U, class O>
1962 InternalType* compnoequal_IC_SC(T *_pL, U *_pR)
1963 {
1964     O* pOut = new Bool(true);
1965     compnoequal(_pL->get(0), _pL->getImg(0), _pR->get(0), _pR->getImg(0), pOut->get());
1966     return pOut;
1967 }
1968
1969 template<class T, class U, class O>
1970 InternalType* compnoequal_IC_I(T *_pL, U *_pR)
1971 {
1972     O* pOut = new Bool(true);
1973     if (_pL->getImg(0) == 0)
1974     {
1975         compnoequal(_pL->get(0), _pR->get(0), pOut->get());
1976     }
1977     return pOut;
1978 }
1979
1980 template<class T, class U, class O>
1981 InternalType* compnoequal_IC_IC(T *_pL, U *_pR)
1982 {
1983     O* pOut = new Bool(true);
1984     compnoequal(_pL->get(0), _pL->getImg(0), _pR->get(0), _pR->getImg(0), pOut->get());
1985     return pOut;
1986 }
1987
1988
1989 template<>
1990 InternalType* compnoequal_M_M<SparseBool, SparseBool, SparseBool>(SparseBool* _pL, SparseBool* _pR)
1991 {
1992     //pending changes
1993
1994     if (((_pL->getRows() != _pR->getRows()) || (_pL->getCols() != _pR->getCols())) && (_pL->getSize() != 1) && (_pR->getSize() != 1))
1995     {
1996         return new Bool(true);
1997     }
1998
1999     return _pR->newNotEqualTo(*_pL);
2000 }
2001
2002 template<>
2003 InternalType* compnoequal_M_M<Sparse, Sparse, SparseBool>(Sparse* _pL, Sparse* _pR)
2004 {
2005     //pending changes
2006
2007     if (((_pL->getRows() != _pR->getRows()) || (_pL->getCols() != _pR->getCols())) && (_pL->getSize() != 1) && (_pR->getSize() != 1))
2008     {
2009         return new Bool(true);
2010     }
2011
2012     return _pR->newNotEqualTo(*_pL);
2013 }
2014
2015 //[] != SP
2016 template<>
2017 InternalType* compnoequal_M_M<Double, Sparse, Bool>(Double* _pL, Sparse* _pR)
2018 {
2019     return new Bool(true);
2020 }
2021
2022 //SP != []
2023 template<>
2024 InternalType* compnoequal_M_M<Sparse, Double, Bool>(Sparse* _pL, Double* _pR)
2025 {
2026     return new Bool(true);
2027 }
2028
2029 //
2030 template<class T, class U, class O>
2031 InternalType* compnoequal_M_SP(T* _pL, U* _pR)
2032 {
2033     //pending changes
2034
2035     //D -> SP != SP
2036     Sparse* pspConvert = NULL;
2037     types::SparseBool* pOut = NULL;
2038
2039
2040     if (_pL->isScalar())
2041     {
2042         int iSizeOut = _pR->getSize();
2043         if (_pL->isComplex())
2044         {
2045             pspConvert = new Sparse(_pR->getRows(), _pR->getCols(), true);
2046             std::complex<double> stComplex((double)_pL->get(0), (double)_pL->getImg(0));
2047             for (int i = 0; i < iSizeOut; i++)
2048             {
2049                 pspConvert->set(i, stComplex);
2050             }
2051         }
2052         else
2053         {
2054             pspConvert = new Sparse(_pR->getRows(), _pR->getCols(), _pR->isComplex());
2055             for (int i = 0; i < iSizeOut; i++)
2056             {
2057                 pspConvert->set(i, (double)_pL->get(0));
2058             }
2059         }
2060     }
2061     else
2062     {
2063         //check dimensions
2064         if (_pL->getDims() != 2 || _pL->getRows() != _pR->getRows() || _pL->getCols() != _pR->getCols())
2065         {
2066             return new Bool(true);
2067         }
2068
2069         int iSizeOut = _pR->getSize();
2070         if (_pL->isComplex())
2071         {
2072             pspConvert = new Sparse(_pR->getRows(), _pR->getCols(), true);
2073
2074             for (int i = 0; i < iSizeOut; i++)
2075             {
2076                 std::complex<double> stComplex((double)_pL->get(i), (double)_pL->getImg(i));
2077                 pspConvert->set(i, stComplex);
2078             }
2079         }
2080         else
2081         {
2082             pspConvert = new Sparse(_pR->getRows(), _pR->getCols(), _pR->isComplex());
2083             for (int i = 0; i < iSizeOut; i++)
2084             {
2085                 pspConvert->set(i, (double)_pL->get(i));
2086             }
2087         }
2088     }
2089
2090     pOut = _pR->newNotEqualTo(*pspConvert);
2091     delete pspConvert;
2092     return pOut;
2093 }
2094
2095
2096 template<class T, class U, class O>
2097 InternalType* compnoequal_SP_M(T* _pL, U* _pR)
2098 {
2099     //pending changes
2100
2101     Sparse* pspConvert = NULL;
2102     types::SparseBool* pOut = NULL;
2103
2104     if (_pR->isScalar())
2105     {
2106         int iSizeOut = _pL->getSize();
2107         if (_pR->isComplex())
2108         {
2109             pspConvert = new Sparse(_pL->getRows(), _pL->getCols(), true);
2110             std::complex<double> stComplex((double)_pR->get(0), (double)_pR->getImg(0));
2111             for (int i = 0; i < iSizeOut; i++)
2112             {
2113                 pspConvert->set(i, stComplex);
2114             }
2115         }
2116         else
2117         {
2118             pspConvert = new Sparse(_pL->getRows(), _pL->getCols(), _pL->isComplex());
2119             for (int i = 0; i < iSizeOut; i++)
2120             {
2121                 pspConvert->set(i, (double)_pR->get(0));
2122             }
2123         }
2124     }
2125     else
2126     {
2127         //check dimensions
2128         if (_pR->getDims() != 2 || _pR->getRows() != _pL->getRows() || _pR->getCols() != _pL->getCols())
2129         {
2130             return new Bool(true);
2131         }
2132
2133         int iSizeOut = _pL->getSize();
2134         if (_pR->isComplex())
2135         {
2136             pspConvert = new Sparse(_pL->getRows(), _pL->getCols(), true);
2137
2138             for (int i = 0; i < iSizeOut; i++)
2139             {
2140                 std::complex<double> stComplex((double)_pR->get(i), (double)_pR->getImg(i));
2141                 pspConvert->set(i, stComplex);
2142             }
2143         }
2144         else
2145         {
2146             pspConvert = new Sparse(_pL->getRows(), _pL->getCols(), _pL->isComplex());
2147             for (int i = 0; i < iSizeOut; i++)
2148             {
2149                 pspConvert->set(i, (double)_pR->get(i));
2150             }
2151         }
2152     }
2153
2154     pOut = _pL->newNotEqualTo(*pspConvert);
2155     delete pspConvert;
2156     return pOut;
2157
2158 }
2159
2160 //sparsebool
2161 template<>
2162 InternalType* compnoequal_M_M<Bool, SparseBool, SparseBool>(Bool* _pL, SparseBool* _pR)
2163 {
2164     //pending changes
2165
2166     //D -> SP == SP
2167     SparseBool* pspConvert = NULL;
2168     types::SparseBool* pOut = NULL;
2169
2170
2171     if (_pL->isScalar())
2172     {
2173         int iSizeOut = _pR->getSize();
2174
2175         pspConvert = new SparseBool(_pR->getRows(), _pR->getCols());
2176         for (int i = 0; i < iSizeOut; i++)
2177         {
2178             pspConvert->set(i, _pL->get(0) == 1);
2179         }
2180
2181     }
2182     else
2183     {
2184         //check dimensions
2185         if (_pL->getDims() != 2 || _pL->getRows() != _pR->getRows() || _pL->getCols() != _pR->getCols())
2186         {
2187             return new Bool(true);
2188         }
2189
2190         int iSizeOut = _pR->getSize();
2191
2192         pspConvert = new SparseBool(_pR->getRows(), _pR->getCols());
2193         for (int i = 0; i < iSizeOut; i++)
2194         {
2195             pspConvert->set(i, _pL->get(i) == 1);
2196         }
2197     }
2198
2199     pOut = _pR->newNotEqualTo(*pspConvert);
2200     delete pspConvert;
2201     return pOut;
2202 }
2203
2204 template<>
2205 InternalType* compnoequal_M_M<SparseBool, Bool, SparseBool>(SparseBool* _pL, Bool* _pR)
2206 {
2207     //pending changes
2208
2209     SparseBool* pspConvert = NULL;
2210     types::SparseBool* pOut = NULL;
2211
2212     if (_pR->isScalar())
2213     {
2214         int iSizeOut = _pL->getSize();
2215
2216         pspConvert = new SparseBool(_pL->getRows(), _pL->getCols());
2217         for (int i = 0; i < iSizeOut; i++)
2218         {
2219             pspConvert->set(i, _pR->get(0) == 1);
2220         }
2221     }
2222     else
2223     {
2224         //check dimensions
2225         if (_pR->getDims() != 2 || _pR->getRows() != _pL->getRows() || _pR->getCols() != _pL->getCols())
2226         {
2227             return new Bool(true);
2228         }
2229
2230         int iSizeOut = _pL->getSize();
2231
2232         pspConvert = new SparseBool(_pL->getRows(), _pL->getCols());
2233         for (int i = 0; i < iSizeOut; i++)
2234         {
2235             pspConvert->set(i, _pR->get(i) == 1);
2236         }
2237     }
2238
2239     pOut = _pL->newNotEqualTo(*pspConvert);
2240     delete pspConvert;
2241     return pOut;
2242
2243 }
2244
2245 //Polynom
2246 template<>
2247 InternalType* compnoequal_M_M<Polynom, Polynom, Bool>(Polynom* _pL, Polynom* _pR)
2248 {
2249     Bool* pbOut = NULL;
2250     bool bPoise = true;
2251
2252     SinglePoly** pSPL = _pL->get();
2253     SinglePoly** pSPR = _pR->get();
2254
2255     if (_pR->isScalar())
2256     {
2257         pbOut = new Bool(_pL->getDims(), _pL->getDimsArray());
2258         int iSize = pbOut->getSize();
2259
2260         if (_pL->isComplex())
2261         {
2262             if (_pR->isComplex())
2263             {
2264                 for (int i = 0; i < iSize; i++)
2265                 {
2266                     if (pSPL[i]->getSize() != pSPR[0]->getSize())
2267                     {
2268                         bPoise = true;
2269                     }
2270                     else
2271                     {
2272                         bPoise = true;
2273                         for (int j = 0; j < pSPL[0]->getSize() && (bPoise == true); j++)
2274                         {
2275                             compnoequal(pSPR[0]->get(j), pSPR[0]->getImg(j), pSPL[i]->get(j), pSPL[i]->getImg(j), &bPoise);
2276                         }
2277                     }
2278                     pbOut->set(i, bPoise);
2279
2280                 }
2281             }
2282             else
2283             {
2284                 for (int i = 0; i < iSize; i++)
2285                 {
2286                     if (pSPL[i]->getSize() != pSPR[0]->getSize())
2287                     {
2288                         bPoise = true;
2289                     }
2290                     else
2291                     {
2292                         bPoise = true;
2293                         for (int j = 0; j < pSPL[0]->getSize() && (bPoise == true); j++)
2294                         {
2295                             compnoequal(pSPR[0]->get(j), (double)0, pSPL[i]->get(j), pSPL[i]->getImg(j), &bPoise);
2296                         }
2297                     }
2298                     pbOut->set(i, bPoise);
2299                 }
2300             }
2301         }
2302         else
2303         {
2304             if (_pR->isComplex())
2305             {
2306                 for (int i = 0; i < iSize; i++)
2307                 {
2308                     if (pSPL[i]->getSize() != pSPR[0]->getSize())
2309                     {
2310                         bPoise = true;
2311                     }
2312                     else
2313                     {
2314                         bPoise = true;
2315                         for (int j = 0; j < pSPL[0]->getSize() && (bPoise == true); j++)
2316                         {
2317                             compnoequal(pSPR[0]->get(j), pSPR[0]->getImg(j), pSPL[i]->get(j), (double)0, &bPoise);
2318                         }
2319                     }
2320                     pbOut->set(i, bPoise);
2321                 }
2322             }
2323             else
2324             {
2325                 for (int i = 0; i < iSize; i++)
2326                 {
2327                     if (pSPL[i]->getSize() != pSPR[0]->getSize())
2328                     {
2329                         bPoise = true;
2330                     }
2331                     else
2332                     {
2333                         bPoise = true;
2334                         for (int j = 0; j < pSPL[0]->getSize() && (bPoise == true); j++)
2335                         {
2336                             compnoequal(pSPR[0]->get(j), pSPL[i]->get(j), &bPoise);
2337                         }
2338                     }
2339                     pbOut->set(i, bPoise);
2340                 }
2341             }
2342         }
2343     }
2344     else if (_pL->isScalar())
2345     {
2346         pbOut = new Bool(_pR->getDims(), _pR->getDimsArray());
2347         int iSize = pbOut->getSize();
2348
2349         if (pSPR[0]->getSize() != 1)
2350         {
2351             if (_pL->isComplex())
2352             {
2353                 if (_pR->isComplex())
2354                 {
2355                     for (int i = 0; i < iSize; i++)
2356                     {
2357                         if (pSPL[0]->getSize() != pSPR[i]->getSize())
2358                         {
2359                             bPoise = true;
2360                         }
2361                         else
2362                         {
2363                             bPoise = true;
2364                             for (int j = 0; j < pSPL[0]->getSize() && (bPoise == true); j++)
2365                             {
2366                                 compnoequal(pSPL[0]->get(j), pSPL[0]->getImg(j), pSPR[i]->get(j), pSPR[i]->getImg(j), &bPoise);
2367                             }
2368                         }
2369                         pbOut->set(i, bPoise);
2370                     }
2371                 }
2372                 else
2373                 {
2374                     for (int i = 0; i < iSize; i++)
2375                     {
2376                         if (pSPL[0]->getSize() != pSPR[i]->getSize())
2377                         {
2378                             bPoise = true;
2379                         }
2380                         else
2381                         {
2382                             bPoise = true;
2383                             for (int j = 0; j < pSPL[0]->getSize() && (bPoise == true); j++)
2384                             {
2385                                 compnoequal(pSPL[0]->get(j), pSPL[0]->getImg(j), pSPR[i]->get(j), (double)0, &bPoise);
2386                             }
2387                         }
2388                         pbOut->set(i, bPoise);
2389                     }
2390                 }
2391             }
2392             else
2393             {
2394
2395                 if (_pR->isComplex())
2396                 {
2397                     for (int i = 0; i < iSize; i++)
2398                     {
2399                         if (pSPL[0]->getSize() != pSPR[i]->getSize())
2400                         {
2401                             bPoise = true;
2402                         }
2403                         else
2404                         {
2405                             bPoise = true;
2406                             for (int j = 0; j < pSPL[0]->getSize() && (bPoise == true); j++)
2407                             {
2408                                 compnoequal(pSPL[0]->get(j), (double)0, pSPR[i]->get(j), pSPR[i]->get(j), &bPoise);
2409                             }
2410                         }
2411                         pbOut->set(i, bPoise);
2412                     }
2413                 }
2414                 else
2415                 {
2416                     for (int i = 0; i < iSize; i++)
2417                     {
2418                         if (pSPL[0]->getSize() != pSPR[i]->getSize())
2419                         {
2420                             bPoise = true;
2421                         }
2422                         else
2423                         {
2424                             bPoise = true;
2425                             for (int j = 0; j < pSPR[i]->getSize() && (bPoise == true); j++)
2426                             {
2427                                 compnoequal(pSPL[0]->get(j), pSPR[i]->get(j), &bPoise);
2428                             }
2429                         }
2430                         pbOut->set(i, bPoise);
2431                     }
2432                 }
2433
2434             }
2435         }
2436     }
2437     else
2438     {
2439         //check dimensions
2440         if (_pL->getDims() != _pR->getDims())
2441         {
2442             return new Bool(true);
2443         }
2444
2445         for (int i = 0; i < _pL->getDims(); i++)
2446         {
2447             if (_pL->getDimsArray()[i] != _pR->getDimsArray()[i])
2448             {
2449                 return new Bool(true);
2450             }
2451         }
2452
2453         pbOut = new Bool(_pL->getDims(), _pL->getDimsArray());
2454         int iSize = pbOut->getSize();
2455
2456         if (_pL->isComplex())
2457         {
2458             if (_pR->isComplex())
2459             {
2460                 for (int i = 0; i < iSize; i++)
2461                 {
2462                     if (pSPL[i]->getSize() != pSPR[i]->getSize())
2463                     {
2464                         bPoise = true;
2465                     }
2466                     else
2467                     {
2468                         bPoise = true;
2469                         for (int j = 0; j < pSPR[i]->getSize() && (bPoise == true); j++)
2470                         {
2471                             compnoequal(pSPR[i]->get(j), pSPR[i]->getImg(j), pSPL[i]->get(j), pSPL[i]->getImg(j), &bPoise);
2472                         }
2473                     }
2474                     pbOut->set(i, bPoise);
2475                 }
2476             }
2477             else
2478             {
2479                 for (int i = 0; i < iSize; i++)
2480                 {
2481                     if (pSPL[i]->getSize() != pSPR[i]->getSize())
2482                     {
2483                         bPoise = true;
2484                     }
2485                     else
2486                     {
2487                         bPoise = true;
2488                         for (int j = 0; j < pSPR[i]->getSize() && (bPoise == true); j++)
2489                         {
2490                             compnoequal(pSPL[i]->get(j), pSPL[i]->getImg(j), pSPR[i]->get(j), (double)0, &bPoise);
2491                         }
2492                     }
2493                     pbOut->set(i, bPoise);
2494                 }
2495             }
2496         }
2497         else
2498         {
2499             if (_pR->isComplex())
2500             {
2501                 for (int i = 0; i < iSize; i++)
2502                 {
2503                     if (pSPL[i]->getSize() != pSPR[i]->getSize())
2504                     {
2505                         bPoise = true;
2506                     }
2507                     else
2508                     {
2509                         bPoise = true;
2510                         for (int j = 0; j < pSPR[i]->getSize() && (bPoise == true); j++)
2511                         {
2512                             compnoequal(pSPR[i]->get(j), pSPR[i]->getImg(j), pSPL[i]->get(j), (double)0, &bPoise);
2513                         }
2514                     }
2515                     pbOut->set(i, bPoise);
2516                 }
2517             }
2518             else
2519             {
2520                 for (int i = 0; i < iSize; i++)
2521                 {
2522                     if (pSPL[i]->getSize() != pSPR[i]->getSize())
2523                     {
2524                         bPoise = true;
2525                     }
2526                     else
2527                     {
2528                         bPoise = true;
2529                         for (int j = 0; j < pSPR[i]->getSize() && (bPoise == true); j++)
2530                         {
2531                             compnoequal(pSPR[i]->get(j), pSPL[i]->get(j), &bPoise);
2532                         }
2533                     }
2534                     pbOut->set(i, bPoise);
2535                 }
2536             }
2537         }
2538     }
2539
2540     return pbOut;
2541 }
2542
2543 template<class T, class U, class O>
2544 InternalType* compnoequal_P_M(T *_pL, U *_pR)
2545 {
2546     Bool* pbOut = NULL;
2547
2548     SinglePoly** pSPR = _pL->get();
2549
2550     if (_pR->isIdentity())
2551     {
2552         Double* pdblEye = NULL;
2553         pbOut = new Bool(_pL->getDims(), _pL->getDimsArray());
2554         int iSize = pbOut->getSize();
2555
2556         if (_pL->isComplex())
2557         {
2558             if (_pR->isComplex())
2559             {
2560                 pdblEye = Double::Identity(_pL->getDims(), _pL->getDimsArray(), (double)_pR->get(0), (double)_pR->getImg(0));
2561                 for (int i = 0; i < iSize; i++)
2562                 {
2563                     if (pSPR[i]->getSize() != 1)
2564                     {
2565                         pbOut->set(i, true);
2566                     }
2567                     else
2568                     {
2569                         compnoequal((double)pSPR[i]->get(0), (double)pSPR[i]->getImg(0), (double)pdblEye->get(i), (double)pdblEye->getImg(i), &(pbOut->get()[i]));
2570                     }
2571                 }
2572             }
2573             else
2574             {
2575                 pdblEye = Double::Identity(_pL->getDims(), _pL->getDimsArray(), (double)_pR->get(0));
2576                 for (int i = 0; i < iSize; i++)
2577                 {
2578                     if (pSPR[i]->getSize() != 1)
2579                     {
2580                         pbOut->set(i, true);
2581                     }
2582                     else
2583                     {
2584                         compnoequal((double)pSPR[i]->get(0), (double)pSPR[i]->getImg(0), (double)pdblEye->get(i), (double)0, &(pbOut->get()[i]));
2585                     }
2586                 }
2587             }
2588         }
2589         else
2590         {
2591             if (_pR->isComplex())
2592             {
2593                 pdblEye = Double::Identity(_pL->getDims(), _pL->getDimsArray(), (double)_pR->get(0), (double)_pR->getImg(0));
2594                 for (int i = 0; i < iSize; i++)
2595                 {
2596                     if (pSPR[i]->getSize() != 1)
2597                     {
2598                         pbOut->set(i, true);
2599                     }
2600                     else
2601                     {
2602                         compnoequal((double)pSPR[i]->get(0), (double)0, (double)pdblEye->get(i), (double)pdblEye->getImg(i), &(pbOut->get()[i]));
2603                     }
2604                 }
2605             }
2606             else
2607             {
2608                 pdblEye = Double::Identity(_pL->getDims(), _pL->getDimsArray(), (double)_pR->get(0));
2609                 for (int i = 0; i < iSize; i++)
2610                 {
2611                     if (pSPR[i]->getSize() != 1)
2612                     {
2613                         pbOut->set(i, true);
2614                     }
2615                     else
2616                     {
2617                         compnoequal((double)pSPR[i]->get(0), (double)pdblEye->get(i), &(pbOut->get()[i]));
2618                     }
2619                 }
2620             }
2621         }
2622         delete pdblEye;
2623     }
2624     else if (_pR->isScalar())
2625     {
2626         pbOut = new Bool(_pL->getDims(), _pL->getDimsArray());
2627         int iSize = pbOut->getSize();
2628
2629         if (_pL->isComplex())
2630         {
2631             if (_pR->isComplex())
2632             {
2633                 for (int i = 0; i < iSize; i++)
2634                 {
2635                     if (pSPR[i]->getSize() != 1)
2636                     {
2637                         pbOut->set(i, true);
2638                     }
2639                     else
2640                     {
2641                         compnoequal((double)pSPR[i]->get(0), (double)pSPR[i]->getImg(0), (double)_pR->get(0), (double)_pR->getImg(0), &(pbOut->get()[i]));
2642                     }
2643                 }
2644             }
2645             else
2646             {
2647                 for (int i = 0; i < iSize; i++)
2648                 {
2649                     if (pSPR[i]->getSize() != 1)
2650                     {
2651                         pbOut->set(i, true);
2652                     }
2653                     else
2654                     {
2655                         compnoequal((double)pSPR[i]->get(0), (double)pSPR[i]->getImg(0), (double)_pR->get(0), (double)0, &(pbOut->get()[i]));
2656                     }
2657                 }
2658             }
2659         }
2660         else
2661         {
2662             if (_pR->isComplex())
2663             {
2664                 for (int i = 0; i < iSize; i++)
2665                 {
2666                     if (pSPR[i]->getSize() != 1)
2667                     {
2668                         pbOut->set(i, true);
2669                     }
2670                     else
2671                     {
2672                         compnoequal((double)pSPR[i]->get(0), (double)0, (double)_pR->get(0), (double)_pR->getImg(0), &(pbOut->get()[i]));
2673                     }
2674                 }
2675             }
2676             else
2677             {
2678                 for (int i = 0; i < iSize; i++)
2679                 {
2680                     if (pSPR[i]->getSize() != 1)
2681                     {
2682                         pbOut->set(i, true);
2683                     }
2684                     else
2685                     {
2686                         compnoequal((double)pSPR[i]->get(0), (double)_pR->get(0), &(pbOut->get()[i]));
2687                     }
2688                 }
2689             }
2690         }
2691     }
2692     else if (_pL->isScalar())
2693     {
2694         pbOut = new Bool(_pR->getDims(), _pR->getDimsArray());
2695         int iSize = pbOut->getSize();
2696
2697         if (pSPR[0]->getSize() == 1)
2698         {
2699             if (_pL->isComplex())
2700             {
2701                 if (_pR->isComplex())
2702                 {
2703                     for (int i = 0; i < iSize; i++)
2704                     {
2705                         compnoequal((double)pSPR[0]->get(0), (double)pSPR[0]->getImg(0), (double)_pR->get(i), (double)_pR->getImg(i), &(pbOut->get()[i]));
2706                     }
2707                 }
2708                 else
2709                 {
2710                     for (int i = 0; i < iSize; i++)
2711                     {
2712                         compnoequal((double)pSPR[0]->get(0), (double)pSPR[0]->getImg(0), (double)_pR->get(i), (double)0, &(pbOut->get()[i]));
2713                     }
2714                 }
2715             }
2716             else
2717             {
2718                 if (_pR->isComplex())
2719                 {
2720                     for (int i = 0; i < iSize; i++)
2721                     {
2722                         compnoequal((double)pSPR[0]->get(0), (double)0, (double)_pR->get(i), (double)_pR->getImg(i), &(pbOut->get()[i]));
2723                     }
2724                 }
2725                 else
2726                 {
2727                     for (int i = 0; i < iSize; i++)
2728                     {
2729                         compnoequal((double)pSPR[0]->get(0), (double)_pR->get(i), &(pbOut->get()[i]));
2730                     }
2731                 }
2732
2733             }
2734         }
2735         else
2736         {
2737             pbOut->setTrue();
2738         }
2739
2740     }
2741     else
2742     {
2743         //check dimensions
2744         if (_pL->getDims() != _pR->getDims())
2745         {
2746             return new Bool(true);
2747         }
2748
2749         for (int i = 0; i < _pL->getDims(); i++)
2750         {
2751             if (_pL->getDimsArray()[i] != _pR->getDimsArray()[i])
2752             {
2753                 return new Bool(true);
2754             }
2755         }
2756
2757         pbOut = new Bool(_pL->getDims(), _pL->getDimsArray());
2758         int iSize = pbOut->getSize();
2759
2760         if (_pL->isComplex())
2761         {
2762             if (_pR->isComplex())
2763             {
2764                 for (int i = 0; i < iSize; i++)
2765                 {
2766                     if (pSPR[i]->getSize() != 1)
2767                     {
2768                         pbOut->set(i, true);
2769                     }
2770                     else
2771                     {
2772                         compnoequal((double)pSPR[i]->get(0), (double)pSPR[i]->getImg(0), (double)_pR->get(i), (double)_pR->getImg(i), &(pbOut->get()[i]));
2773                     }
2774                 }
2775             }
2776             else
2777             {
2778                 for (int i = 0; i < iSize; i++)
2779                 {
2780                     if (pSPR[i]->getSize() != 1)
2781                     {
2782                         pbOut->set(i, true);
2783                     }
2784                     else
2785                     {
2786                         compnoequal((double)pSPR[i]->get(0), (double)pSPR[i]->getImg(0), (double)_pR->get(i), (double)0, &(pbOut->get()[i]));
2787                     }
2788                 }
2789             }
2790         }
2791         else
2792         {
2793             if (_pR->isComplex())
2794             {
2795                 for (int i = 0; i < iSize; i++)
2796                 {
2797                     if (pSPR[i]->getSize() != 1)
2798                     {
2799                         pbOut->set(i, true);
2800                     }
2801                     else
2802                     {
2803                         compnoequal((double)pSPR[i]->get(0), (double)0, (double)_pR->get(i), (double)_pR->getImg(i), &(pbOut->get()[i]));
2804                     }
2805                 }
2806             }
2807             else
2808             {
2809                 for (int i = 0; i < iSize; i++)
2810                 {
2811                     if (pSPR[i]->getSize() != 1)
2812                     {
2813                         pbOut->set(i, true);
2814                     }
2815                     else
2816                     {
2817                         compnoequal((double)pSPR[i]->get(0), (double)_pR->get(i), &(pbOut->get()[i]));
2818                     }
2819                 }
2820             }
2821         }
2822     }
2823
2824     return pbOut;
2825 }
2826
2827 template<class T, class U, class O>
2828 InternalType* compnoequal_M_P(T *_pL, U *_pR)
2829 {
2830     return GenericComparisonNonEqual(_pR, _pL);
2831 }
2832
2833 template<>
2834 InternalType* compnoequal_M_M<String, String, Bool>(String* _pL, String* _pR)
2835 {
2836     if (_pL->getSize() == _pR->getSize())
2837     {
2838         //check dims
2839         int iDimsL = _pL->getDims();
2840         int iDimsR = _pR->getDims();
2841
2842         if (iDimsL != iDimsR)
2843         {
2844             return new Bool(true);
2845         }
2846
2847         int* piDimsL = _pL->getDimsArray();
2848         int* piDimsR = _pR->getDimsArray();
2849
2850         for (int i = 0; i < iDimsL; ++i)
2851         {
2852             if (piDimsL[i] != piDimsR[i])
2853             {
2854                 return new Bool(true);
2855             }
2856         }
2857         Bool*  pOut = new Bool(iDimsL, piDimsL);
2858
2859         for (int i = 0; i < _pL->getSize(); i++)
2860         {
2861             pOut->set(i, wcscmp(_pL->get(i), _pR->get(i)) != 0);
2862         }
2863         return pOut;
2864     }
2865     else if (_pL->getSize() == 1)
2866     {
2867         Bool*  pOut = new Bool(_pR->getDims(), _pR->getDimsArray());
2868         for (int i = 0; i < _pR->getSize(); i++)
2869         {
2870             pOut->set(i, wcscmp(_pL->get(0), _pR->get(i)) != 0);
2871         }
2872         return pOut;
2873     }
2874     else if (_pR->getSize() == 1)
2875     {
2876         Bool*  pOut = new Bool(_pL->getDims(), _pL->getDimsArray());
2877         for (int i = 0; i < _pL->getSize(); i++)
2878         {
2879             pOut->set(i, wcscmp(_pL->get(i), _pR->get(0)) != 0);
2880         }
2881         return pOut;
2882     }
2883
2884     return NULL;
2885 }
2886
2887 template<>
2888 types::InternalType* compnoequal_M_M<Struct, Struct, Bool>(types::Struct* _pL, types::Struct* _pR)
2889 {
2890
2891     if (_pL->getSize() != _pR->getSize())
2892     {
2893         return new Bool(true);
2894     }
2895
2896     String* pStringFielNamesPL = _pL->getFieldNames();
2897     String* pStringFielNamesPR = _pR->getFieldNames();
2898     wchar_t** ppwchPR = pStringFielNamesPR->get();
2899     wchar_t** ppwchPL = pStringFielNamesPL->get();
2900
2901     Bool* pOut = new Bool(1, 2 * pStringFielNamesPL->getSize());
2902     pOut->setTrue();
2903     int* piPOut = pOut->get();
2904
2905     for (int iComptSStruct = 0; iComptSStruct < _pL->getSize(); iComptSStruct++)
2906     {
2907         for (int i = 0; i < pStringFielNamesPL->getSize(); i++)
2908         {
2909             piPOut[i * 2] = (wcscmp(ppwchPR[i], ppwchPL[i]) != 0) && (piPOut[i * 2] == 1);
2910
2911
2912             if (_pL->get(iComptSStruct)->get(ppwchPL[i])->getType() == _pR->get(iComptSStruct)->get(ppwchPR[i])->getType())
2913             {
2914                 if (_pL->get(iComptSStruct)->get(ppwchPL[i])->getType() == types::InternalType::ScilabStruct)
2915                 {
2916                     piPOut[i * 2 + 1] = _pL->get(iComptSStruct)->get(ppwchPL[i]) != _pR->get(iComptSStruct)->get(ppwchPR[i]) && (piPOut[i * 2] == 1);
2917                 }
2918                 else
2919                 {
2920                     types::InternalType* pResolution = GenericComparisonNonEqual(_pL->get(iComptSStruct)->get(ppwchPL[i]), _pR->get(iComptSStruct)->get(ppwchPR[i]));
2921                     bool bValeur = true;
2922                     if (pResolution->getType() == types::InternalType::ScilabBool)
2923                     {
2924                         Bool* pBoolTempo = pResolution->getAs<Bool>();
2925                         for (int j = 0; j < pBoolTempo->getSize() && bValeur == true; j++)
2926                         {
2927                             if (pBoolTempo->get(j) != 1)
2928                             {
2929                                 bValeur = false;
2930                                 break;
2931                             }
2932                         }
2933                     }
2934                     else
2935                     {
2936                         SparseBool* pSparseBoolTempo = pResolution->getAs<SparseBool>();
2937                         for (int j = 0; j < pSparseBoolTempo->getSize() && bValeur == true; j++)
2938                         {
2939                             if (pSparseBoolTempo->get(j) != 1)
2940                             {
2941                                 bValeur = false;
2942                                 break;
2943                             }
2944                         }
2945                     }
2946                     piPOut[i * 2 + 1] = bValeur && (piPOut[i * 2 + 1] == 1);
2947                 }
2948             }
2949             else
2950             {
2951                 piPOut[i * 2 + 1] = true;
2952             }
2953         }
2954     }
2955
2956     return pOut;
2957 }
2958
2959 //List, TList, MList
2960 template<class T, class U, class O>
2961 InternalType* compnoequal_LT_LT(T *_pL, U *_pR)
2962 {
2963     if (_pL->getSize() != _pR->getSize())
2964     {
2965         return new Bool(true);
2966     }
2967
2968     if (_pL->getSize() == 0 && _pR->getSize() == 0)
2969     {
2970         return new Bool(false);
2971     }
2972
2973     Bool* pB = new Bool(1, _pL->getSize());
2974     for (int i = 0; i < _pL->getSize(); i++)
2975     {
2976         pB->set(i, !((*_pL->get(i) == *_pR->get(i)) && (_pL->get(i)->getType() != types::InternalType::ScilabVoid)));
2977     }
2978
2979     return pB;
2980 }
2981
2982 template<>
2983 types::InternalType* compnoequal_M_M<Cell, Cell, Bool>(types::Cell* _pL, types::Cell* _pR)
2984 {
2985     /* check dimension*/
2986     if (_pL->getDims() != _pR->getDims())
2987     {
2988         return new Bool(true);
2989     }
2990
2991     int* piDimsL = _pL->getDimsArray();
2992     int* piDimsR = _pR->getDimsArray();
2993
2994     for (int i = 0; i < _pL->getDims(); i++)
2995     {
2996         if (piDimsL[i] != piDimsR[i])
2997         {
2998             return new Bool(true);
2999         }
3000     }
3001
3002     if (_pL->getSize() == 0)
3003     {
3004         //{} == {} -> return true
3005         return new Bool(false);
3006     }
3007
3008     Bool *pB = new Bool(_pL->getDims(), piDimsL);
3009     for (int i = 0; i < _pL->getSize(); i++)
3010     {
3011         pB->set(i, !(*_pL->get(i) == *_pR->get(i)));
3012     }
3013
3014     return pB;
3015 }
3016
3017 template<>
3018 types::InternalType* compnoequal_M_M<GraphicHandle, GraphicHandle, Bool>(GraphicHandle* _pL, GraphicHandle* _pR)
3019 {
3020
3021     /* check dimension*/
3022     if (_pL->getDims() != _pR->getDims())
3023     {
3024         throw ast::ScilabError(_W("Inconsistent row/column dimensions.\n"));
3025     }
3026
3027     int* piDimsL = _pL->getDimsArray();
3028     int* piDimsR = _pR->getDimsArray();
3029
3030     for (int i = 0; i < _pL->getDims(); i++)
3031     {
3032         if (piDimsL[i] != piDimsR[i])
3033         {
3034             throw ast::ScilabError(_W("Inconsistent row/column dimensions.\n"));
3035         }
3036     }
3037
3038     Bool* pOut = new Bool(_pL->getDims(), piDimsL);
3039     int iSize = pOut->getSize();
3040
3041     compnoequal(_pL->get(), iSize, _pR->get(), pOut->get());
3042     return pOut;
3043 }
3044
3045 template<class T, class U, class O>
3046 InternalType* compnoequal_MCR_MCR(T *_pL, U *_pR)
3047 {
3048     bool ret = false;
3049     if (_pL->getType() == GenericType::ScilabMacroFile)
3050     {
3051         types::InternalType* pIT = ((InternalType *) _pL);
3052         types::MacroFile* pL = pIT->getAs<types::MacroFile>();
3053         ret = *pL != *_pR;
3054     }
3055     else if (_pL->getType() == GenericType::ScilabMacro)
3056     {
3057         types::InternalType* pIT = ((InternalType *) _pL);
3058         types::Macro* pL = pIT->getAs<types::Macro>();
3059         if (_pR->getType() == GenericType::ScilabMacroFile)
3060         {
3061             types::InternalType* pIT = ((InternalType *) _pR);
3062             types::MacroFile* pR = pIT->getAs<types::MacroFile>();
3063             ret = *pR != *pL;
3064         }
3065         else
3066         {
3067             ret = *pL != *_pR;
3068         }
3069     }
3070
3071     return new Bool(ret);
3072 }