3 * Dummies and wrappers to overcome certain deficiencies of Cint.
4 * This file was generated automatically by dummies.pl.
5 * Please do not modify it directly, edit the perl script instead!
8 // fixes for function sin(x)
9 inline function sin(symbol const & x) { return sin(ex(x)); }
10 inline function sin(function const & x) { return sin(ex(x)); }
11 inline function sin(constant const & x) { return sin(ex(x)); }
12 inline function sin(idx const & x) { return sin(ex(x)); }
13 inline function sin(lorentzidx const & x) { return sin(ex(x)); }
14 inline function sin(coloridx const & x) { return sin(ex(x)); }
16 // fixes for function cos(x)
17 inline function cos(symbol const & x) { return cos(ex(x)); }
18 inline function cos(function const & x) { return cos(ex(x)); }
19 inline function cos(constant const & x) { return cos(ex(x)); }
20 inline function cos(idx const & x) { return cos(ex(x)); }
21 inline function cos(lorentzidx const & x) { return cos(ex(x)); }
22 inline function cos(coloridx const & x) { return cos(ex(x)); }
24 // fixes for function tan(x)
25 inline function tan(symbol const & x) { return tan(ex(x)); }
26 inline function tan(function const & x) { return tan(ex(x)); }
27 inline function tan(constant const & x) { return tan(ex(x)); }
28 inline function tan(idx const & x) { return tan(ex(x)); }
29 inline function tan(lorentzidx const & x) { return tan(ex(x)); }
30 inline function tan(coloridx const & x) { return tan(ex(x)); }
32 // fixes for function asin(x)
33 inline function asin(symbol const & x) { return asin(ex(x)); }
34 inline function asin(function const & x) { return asin(ex(x)); }
35 inline function asin(constant const & x) { return asin(ex(x)); }
36 inline function asin(idx const & x) { return asin(ex(x)); }
37 inline function asin(lorentzidx const & x) { return asin(ex(x)); }
38 inline function asin(coloridx const & x) { return asin(ex(x)); }
40 // fixes for function acos(x)
41 inline function acos(symbol const & x) { return acos(ex(x)); }
42 inline function acos(function const & x) { return acos(ex(x)); }
43 inline function acos(constant const & x) { return acos(ex(x)); }
44 inline function acos(idx const & x) { return acos(ex(x)); }
45 inline function acos(lorentzidx const & x) { return acos(ex(x)); }
46 inline function acos(coloridx const & x) { return acos(ex(x)); }
48 // fixes for function atan(x)
49 inline function atan(symbol const & x) { return atan(ex(x)); }
50 inline function atan(function const & x) { return atan(ex(x)); }
51 inline function atan(constant const & x) { return atan(ex(x)); }
52 inline function atan(idx const & x) { return atan(ex(x)); }
53 inline function atan(lorentzidx const & x) { return atan(ex(x)); }
54 inline function atan(coloridx const & x) { return atan(ex(x)); }
56 // fixes for function exp(x)
57 inline function exp(symbol const & x) { return exp(ex(x)); }
58 inline function exp(function const & x) { return exp(ex(x)); }
59 inline function exp(constant const & x) { return exp(ex(x)); }
60 inline function exp(idx const & x) { return exp(ex(x)); }
61 inline function exp(lorentzidx const & x) { return exp(ex(x)); }
62 inline function exp(coloridx const & x) { return exp(ex(x)); }
64 // fixes for function log(x)
65 inline function log(symbol const & x) { return log(ex(x)); }
66 inline function log(function const & x) { return log(ex(x)); }
67 inline function log(constant const & x) { return log(ex(x)); }
68 inline function log(idx const & x) { return log(ex(x)); }
69 inline function log(lorentzidx const & x) { return log(ex(x)); }
70 inline function log(coloridx const & x) { return log(ex(x)); }
72 // fixes for function sinh(x)
73 inline function sinh(symbol const & x) { return sinh(ex(x)); }
74 inline function sinh(function const & x) { return sinh(ex(x)); }
75 inline function sinh(constant const & x) { return sinh(ex(x)); }
76 inline function sinh(idx const & x) { return sinh(ex(x)); }
77 inline function sinh(lorentzidx const & x) { return sinh(ex(x)); }
78 inline function sinh(coloridx const & x) { return sinh(ex(x)); }
80 // fixes for function cosh(x)
81 inline function cosh(symbol const & x) { return cosh(ex(x)); }
82 inline function cosh(function const & x) { return cosh(ex(x)); }
83 inline function cosh(constant const & x) { return cosh(ex(x)); }
84 inline function cosh(idx const & x) { return cosh(ex(x)); }
85 inline function cosh(lorentzidx const & x) { return cosh(ex(x)); }
86 inline function cosh(coloridx const & x) { return cosh(ex(x)); }
88 // fixes for function tanh(x)
89 inline function tanh(symbol const & x) { return tanh(ex(x)); }
90 inline function tanh(function const & x) { return tanh(ex(x)); }
91 inline function tanh(constant const & x) { return tanh(ex(x)); }
92 inline function tanh(idx const & x) { return tanh(ex(x)); }
93 inline function tanh(lorentzidx const & x) { return tanh(ex(x)); }
94 inline function tanh(coloridx const & x) { return tanh(ex(x)); }
96 // fixes for function abs(x)
97 inline function abs(symbol const & x) { return abs(ex(x)); }
98 inline function abs(function const & x) { return abs(ex(x)); }
99 inline function abs(constant const & x) { return abs(ex(x)); }
100 inline function abs(idx const & x) { return abs(ex(x)); }
101 inline function abs(lorentzidx const & x) { return abs(ex(x)); }
102 inline function abs(coloridx const & x) { return abs(ex(x)); }
104 // fixes for ex sqrt(x)
105 inline ex sqrt(symbol const & x) { return sqrt(ex(x)); }
106 inline ex sqrt(function const & x) { return sqrt(ex(x)); }
107 inline ex sqrt(constant const & x) { return sqrt(ex(x)); }
108 inline ex sqrt(idx const & x) { return sqrt(ex(x)); }
109 inline ex sqrt(lorentzidx const & x) { return sqrt(ex(x)); }
110 inline ex sqrt(coloridx const & x) { return sqrt(ex(x)); }
112 // fixes for function atan2(x,y)
113 inline function atan2(symbol const & x,symbol const & y) {
114 return atan2(ex(x),ex(y));
116 inline function atan2(symbol const & x,function const & y) {
117 return atan2(ex(x),ex(y));
119 inline function atan2(symbol const & x,constant const & y) {
120 return atan2(ex(x),ex(y));
122 inline function atan2(symbol const & x,idx const & y) {
123 return atan2(ex(x),ex(y));
125 inline function atan2(symbol const & x,lorentzidx const & y) {
126 return atan2(ex(x),ex(y));
128 inline function atan2(symbol const & x,coloridx const & y) {
129 return atan2(ex(x),ex(y));
131 inline function atan2(function const & x,symbol const & y) {
132 return atan2(ex(x),ex(y));
134 inline function atan2(function const & x,function const & y) {
135 return atan2(ex(x),ex(y));
137 inline function atan2(function const & x,constant const & y) {
138 return atan2(ex(x),ex(y));
140 inline function atan2(function const & x,idx const & y) {
141 return atan2(ex(x),ex(y));
143 inline function atan2(function const & x,lorentzidx const & y) {
144 return atan2(ex(x),ex(y));
146 inline function atan2(function const & x,coloridx const & y) {
147 return atan2(ex(x),ex(y));
149 inline function atan2(constant const & x,symbol const & y) {
150 return atan2(ex(x),ex(y));
152 inline function atan2(constant const & x,function const & y) {
153 return atan2(ex(x),ex(y));
155 inline function atan2(constant const & x,constant const & y) {
156 return atan2(ex(x),ex(y));
158 inline function atan2(constant const & x,idx const & y) {
159 return atan2(ex(x),ex(y));
161 inline function atan2(constant const & x,lorentzidx const & y) {
162 return atan2(ex(x),ex(y));
164 inline function atan2(constant const & x,coloridx const & y) {
165 return atan2(ex(x),ex(y));
167 inline function atan2(idx const & x,symbol const & y) {
168 return atan2(ex(x),ex(y));
170 inline function atan2(idx const & x,function const & y) {
171 return atan2(ex(x),ex(y));
173 inline function atan2(idx const & x,constant const & y) {
174 return atan2(ex(x),ex(y));
176 inline function atan2(idx const & x,idx const & y) {
177 return atan2(ex(x),ex(y));
179 inline function atan2(idx const & x,lorentzidx const & y) {
180 return atan2(ex(x),ex(y));
182 inline function atan2(idx const & x,coloridx const & y) {
183 return atan2(ex(x),ex(y));
185 inline function atan2(lorentzidx const & x,symbol const & y) {
186 return atan2(ex(x),ex(y));
188 inline function atan2(lorentzidx const & x,function const & y) {
189 return atan2(ex(x),ex(y));
191 inline function atan2(lorentzidx const & x,constant const & y) {
192 return atan2(ex(x),ex(y));
194 inline function atan2(lorentzidx const & x,idx const & y) {
195 return atan2(ex(x),ex(y));
197 inline function atan2(lorentzidx const & x,lorentzidx const & y) {
198 return atan2(ex(x),ex(y));
200 inline function atan2(lorentzidx const & x,coloridx const & y) {
201 return atan2(ex(x),ex(y));
203 inline function atan2(coloridx const & x,symbol const & y) {
204 return atan2(ex(x),ex(y));
206 inline function atan2(coloridx const & x,function const & y) {
207 return atan2(ex(x),ex(y));
209 inline function atan2(coloridx const & x,constant const & y) {
210 return atan2(ex(x),ex(y));
212 inline function atan2(coloridx const & x,idx const & y) {
213 return atan2(ex(x),ex(y));
215 inline function atan2(coloridx const & x,lorentzidx const & y) {
216 return atan2(ex(x),ex(y));
218 inline function atan2(coloridx const & x,coloridx const & y) {
219 return atan2(ex(x),ex(y));
221 inline function atan2(symbol const & x,numeric const & y) {
222 return atan2(ex(x),ex(y));
224 inline function atan2(symbol const & x,int const & y) {
225 return atan2(ex(x),ex(y));
227 inline function atan2(symbol const & x,double const & y) {
228 return atan2(ex(x),ex(y));
230 inline function atan2(function const & x,numeric const & y) {
231 return atan2(ex(x),ex(y));
233 inline function atan2(function const & x,int const & y) {
234 return atan2(ex(x),ex(y));
236 inline function atan2(function const & x,double const & y) {
237 return atan2(ex(x),ex(y));
239 inline function atan2(constant const & x,numeric const & y) {
240 return atan2(ex(x),ex(y));
242 inline function atan2(constant const & x,int const & y) {
243 return atan2(ex(x),ex(y));
245 inline function atan2(constant const & x,double const & y) {
246 return atan2(ex(x),ex(y));
248 inline function atan2(idx const & x,numeric const & y) {
249 return atan2(ex(x),ex(y));
251 inline function atan2(idx const & x,int const & y) {
252 return atan2(ex(x),ex(y));
254 inline function atan2(idx const & x,double const & y) {
255 return atan2(ex(x),ex(y));
257 inline function atan2(lorentzidx const & x,numeric const & y) {
258 return atan2(ex(x),ex(y));
260 inline function atan2(lorentzidx const & x,int const & y) {
261 return atan2(ex(x),ex(y));
263 inline function atan2(lorentzidx const & x,double const & y) {
264 return atan2(ex(x),ex(y));
266 inline function atan2(coloridx const & x,numeric const & y) {
267 return atan2(ex(x),ex(y));
269 inline function atan2(coloridx const & x,int const & y) {
270 return atan2(ex(x),ex(y));
272 inline function atan2(coloridx const & x,double const & y) {
273 return atan2(ex(x),ex(y));
275 inline function atan2(numeric const & x,symbol const & y) {
276 return atan2(ex(x),ex(y));
278 inline function atan2(numeric const & x,function const & y) {
279 return atan2(ex(x),ex(y));
281 inline function atan2(numeric const & x,constant const & y) {
282 return atan2(ex(x),ex(y));
284 inline function atan2(numeric const & x,idx const & y) {
285 return atan2(ex(x),ex(y));
287 inline function atan2(numeric const & x,lorentzidx const & y) {
288 return atan2(ex(x),ex(y));
290 inline function atan2(numeric const & x,coloridx const & y) {
291 return atan2(ex(x),ex(y));
293 inline function atan2(int const & x,symbol const & y) {
294 return atan2(ex(x),ex(y));
296 inline function atan2(int const & x,function const & y) {
297 return atan2(ex(x),ex(y));
299 inline function atan2(int const & x,constant const & y) {
300 return atan2(ex(x),ex(y));
302 inline function atan2(int const & x,idx const & y) {
303 return atan2(ex(x),ex(y));
305 inline function atan2(int const & x,lorentzidx const & y) {
306 return atan2(ex(x),ex(y));
308 inline function atan2(int const & x,coloridx const & y) {
309 return atan2(ex(x),ex(y));
311 inline function atan2(double const & x,symbol const & y) {
312 return atan2(ex(x),ex(y));
314 inline function atan2(double const & x,function const & y) {
315 return atan2(ex(x),ex(y));
317 inline function atan2(double const & x,constant const & y) {
318 return atan2(ex(x),ex(y));
320 inline function atan2(double const & x,idx const & y) {
321 return atan2(ex(x),ex(y));
323 inline function atan2(double const & x,lorentzidx const & y) {
324 return atan2(ex(x),ex(y));
326 inline function atan2(double const & x,coloridx const & y) {
327 return atan2(ex(x),ex(y));
329 inline function atan2(ex const & x,numeric const & y) {
330 return atan2(ex(x),ex(y));
332 inline function atan2(ex const & x,int const & y) {
333 return atan2(ex(x),ex(y));
335 inline function atan2(ex const & x,double const & y) {
336 return atan2(ex(x),ex(y));
338 inline function atan2(numeric const & x,ex const & y) {
339 return atan2(ex(x),ex(y));
341 inline function atan2(int const & x,ex const & y) {
342 return atan2(ex(x),ex(y));
344 inline function atan2(double const & x,ex const & y) {
345 return atan2(ex(x),ex(y));
348 // fixes for ex pow(x,y)
349 inline ex pow(symbol const & x,symbol const & y) {
350 return pow(ex(x),ex(y));
352 inline ex pow(symbol const & x,function const & y) {
353 return pow(ex(x),ex(y));
355 inline ex pow(symbol const & x,constant const & y) {
356 return pow(ex(x),ex(y));
358 inline ex pow(symbol const & x,idx const & y) {
359 return pow(ex(x),ex(y));
361 inline ex pow(symbol const & x,lorentzidx const & y) {
362 return pow(ex(x),ex(y));
364 inline ex pow(symbol const & x,coloridx const & y) {
365 return pow(ex(x),ex(y));
367 inline ex pow(function const & x,symbol const & y) {
368 return pow(ex(x),ex(y));
370 inline ex pow(function const & x,function const & y) {
371 return pow(ex(x),ex(y));
373 inline ex pow(function const & x,constant const & y) {
374 return pow(ex(x),ex(y));
376 inline ex pow(function const & x,idx const & y) {
377 return pow(ex(x),ex(y));
379 inline ex pow(function const & x,lorentzidx const & y) {
380 return pow(ex(x),ex(y));
382 inline ex pow(function const & x,coloridx const & y) {
383 return pow(ex(x),ex(y));
385 inline ex pow(constant const & x,symbol const & y) {
386 return pow(ex(x),ex(y));
388 inline ex pow(constant const & x,function const & y) {
389 return pow(ex(x),ex(y));
391 inline ex pow(constant const & x,constant const & y) {
392 return pow(ex(x),ex(y));
394 inline ex pow(constant const & x,idx const & y) {
395 return pow(ex(x),ex(y));
397 inline ex pow(constant const & x,lorentzidx const & y) {
398 return pow(ex(x),ex(y));
400 inline ex pow(constant const & x,coloridx const & y) {
401 return pow(ex(x),ex(y));
403 inline ex pow(idx const & x,symbol const & y) {
404 return pow(ex(x),ex(y));
406 inline ex pow(idx const & x,function const & y) {
407 return pow(ex(x),ex(y));
409 inline ex pow(idx const & x,constant const & y) {
410 return pow(ex(x),ex(y));
412 inline ex pow(idx const & x,idx const & y) {
413 return pow(ex(x),ex(y));
415 inline ex pow(idx const & x,lorentzidx const & y) {
416 return pow(ex(x),ex(y));
418 inline ex pow(idx const & x,coloridx const & y) {
419 return pow(ex(x),ex(y));
421 inline ex pow(lorentzidx const & x,symbol const & y) {
422 return pow(ex(x),ex(y));
424 inline ex pow(lorentzidx const & x,function const & y) {
425 return pow(ex(x),ex(y));
427 inline ex pow(lorentzidx const & x,constant const & y) {
428 return pow(ex(x),ex(y));
430 inline ex pow(lorentzidx const & x,idx const & y) {
431 return pow(ex(x),ex(y));
433 inline ex pow(lorentzidx const & x,lorentzidx const & y) {
434 return pow(ex(x),ex(y));
436 inline ex pow(lorentzidx const & x,coloridx const & y) {
437 return pow(ex(x),ex(y));
439 inline ex pow(coloridx const & x,symbol const & y) {
440 return pow(ex(x),ex(y));
442 inline ex pow(coloridx const & x,function const & y) {
443 return pow(ex(x),ex(y));
445 inline ex pow(coloridx const & x,constant const & y) {
446 return pow(ex(x),ex(y));
448 inline ex pow(coloridx const & x,idx const & y) {
449 return pow(ex(x),ex(y));
451 inline ex pow(coloridx const & x,lorentzidx const & y) {
452 return pow(ex(x),ex(y));
454 inline ex pow(coloridx const & x,coloridx const & y) {
455 return pow(ex(x),ex(y));
457 inline ex pow(symbol const & x,numeric const & y) {
458 return pow(ex(x),ex(y));
460 inline ex pow(symbol const & x,int const & y) {
461 return pow(ex(x),ex(y));
463 inline ex pow(symbol const & x,double const & y) {
464 return pow(ex(x),ex(y));
466 inline ex pow(function const & x,numeric const & y) {
467 return pow(ex(x),ex(y));
469 inline ex pow(function const & x,int const & y) {
470 return pow(ex(x),ex(y));
472 inline ex pow(function const & x,double const & y) {
473 return pow(ex(x),ex(y));
475 inline ex pow(constant const & x,numeric const & y) {
476 return pow(ex(x),ex(y));
478 inline ex pow(constant const & x,int const & y) {
479 return pow(ex(x),ex(y));
481 inline ex pow(constant const & x,double const & y) {
482 return pow(ex(x),ex(y));
484 inline ex pow(idx const & x,numeric const & y) {
485 return pow(ex(x),ex(y));
487 inline ex pow(idx const & x,int const & y) {
488 return pow(ex(x),ex(y));
490 inline ex pow(idx const & x,double const & y) {
491 return pow(ex(x),ex(y));
493 inline ex pow(lorentzidx const & x,numeric const & y) {
494 return pow(ex(x),ex(y));
496 inline ex pow(lorentzidx const & x,int const & y) {
497 return pow(ex(x),ex(y));
499 inline ex pow(lorentzidx const & x,double const & y) {
500 return pow(ex(x),ex(y));
502 inline ex pow(coloridx const & x,numeric const & y) {
503 return pow(ex(x),ex(y));
505 inline ex pow(coloridx const & x,int const & y) {
506 return pow(ex(x),ex(y));
508 inline ex pow(coloridx const & x,double const & y) {
509 return pow(ex(x),ex(y));
511 inline ex pow(numeric const & x,symbol const & y) {
512 return pow(ex(x),ex(y));
514 inline ex pow(numeric const & x,function const & y) {
515 return pow(ex(x),ex(y));
517 inline ex pow(numeric const & x,constant const & y) {
518 return pow(ex(x),ex(y));
520 inline ex pow(numeric const & x,idx const & y) {
521 return pow(ex(x),ex(y));
523 inline ex pow(numeric const & x,lorentzidx const & y) {
524 return pow(ex(x),ex(y));
526 inline ex pow(numeric const & x,coloridx const & y) {
527 return pow(ex(x),ex(y));
529 inline ex pow(int const & x,symbol const & y) {
530 return pow(ex(x),ex(y));
532 inline ex pow(int const & x,function const & y) {
533 return pow(ex(x),ex(y));
535 inline ex pow(int const & x,constant const & y) {
536 return pow(ex(x),ex(y));
538 inline ex pow(int const & x,idx const & y) {
539 return pow(ex(x),ex(y));
541 inline ex pow(int const & x,lorentzidx const & y) {
542 return pow(ex(x),ex(y));
544 inline ex pow(int const & x,coloridx const & y) {
545 return pow(ex(x),ex(y));
547 inline ex pow(double const & x,symbol const & y) {
548 return pow(ex(x),ex(y));
550 inline ex pow(double const & x,function const & y) {
551 return pow(ex(x),ex(y));
553 inline ex pow(double const & x,constant const & y) {
554 return pow(ex(x),ex(y));
556 inline ex pow(double const & x,idx const & y) {
557 return pow(ex(x),ex(y));
559 inline ex pow(double const & x,lorentzidx const & y) {
560 return pow(ex(x),ex(y));
562 inline ex pow(double const & x,coloridx const & y) {
563 return pow(ex(x),ex(y));
565 inline ex pow(ex const & x,numeric const & y) {
566 return pow(ex(x),ex(y));
568 inline ex pow(ex const & x,int const & y) {
569 return pow(ex(x),ex(y));
571 inline ex pow(ex const & x,double const & y) {
572 return pow(ex(x),ex(y));
574 inline ex pow(numeric const & x,ex const & y) {
575 return pow(ex(x),ex(y));
577 inline ex pow(int const & x,ex const & y) {
578 return pow(ex(x),ex(y));
580 inline ex pow(double const & x,ex const & y) {
581 return pow(ex(x),ex(y));
584 // fixes for ex operator+(x,y)
585 inline ex operator+(ex const & x, basic const & y) {
586 return operator+((x),ex(y));
588 inline ex operator+(basic const & x, ex const & y) {
589 return operator+(ex(x),(y));
591 inline ex operator+(basic const & x, basic const & y) {
592 return operator+(ex(x),ex(y));
595 // fixes for ex operator-(x,y)
596 inline ex operator-(ex const & x, basic const & y) {
597 return operator-((x),ex(y));
599 inline ex operator-(basic const & x, ex const & y) {
600 return operator-(ex(x),(y));
602 inline ex operator-(basic const & x, basic const & y) {
603 return operator-(ex(x),ex(y));
606 // fixes for ex operator*(x,y)
607 inline ex operator*(ex const & x, basic const & y) {
608 return operator*((x),ex(y));
610 inline ex operator*(basic const & x, ex const & y) {
611 return operator*(ex(x),(y));
613 inline ex operator*(basic const & x, basic const & y) {
614 return operator*(ex(x),ex(y));
617 // fixes for ex operator/(x,y)
618 inline ex operator/(ex const & x, basic const & y) {
619 return operator/((x),ex(y));
621 inline ex operator/(basic const & x, ex const & y) {
622 return operator/(ex(x),(y));
624 inline ex operator/(basic const & x, basic const & y) {
625 return operator/(ex(x),ex(y));
628 // fixes for ex operator%(x,y)
629 inline ex operator%(ex const & x, basic const & y) {
630 return operator%((x),ex(y));
632 inline ex operator%(basic const & x, ex const & y) {
633 return operator%(ex(x),(y));
635 inline ex operator%(basic const & x, basic const & y) {
636 return operator%(ex(x),ex(y));
639 // fixes for relational operator==(x,y)
640 inline relational operator==(ex const & x, basic const & y) {
641 return operator==((x),ex(y));
643 inline relational operator==(basic const & x, ex const & y) {
644 return operator==(ex(x),(y));
646 inline relational operator==(basic const & x, basic const & y) {
647 return operator==(ex(x),ex(y));
650 // fixes for relational operator!=(x,y)
651 inline relational operator!=(ex const & x, basic const & y) {
652 return operator!=((x),ex(y));
654 inline relational operator!=(basic const & x, ex const & y) {
655 return operator!=(ex(x),(y));
657 inline relational operator!=(basic const & x, basic const & y) {
658 return operator!=(ex(x),ex(y));
661 // fixes for relational operator<(x,y)
662 inline relational operator<(ex const & x, basic const & y) {
663 return operator<((x),ex(y));
665 inline relational operator<(basic const & x, ex const & y) {
666 return operator<(ex(x),(y));
668 inline relational operator<(basic const & x, basic const & y) {
669 return operator<(ex(x),ex(y));
672 // fixes for relational operator<=(x,y)
673 inline relational operator<=(ex const & x, basic const & y) {
674 return operator<=((x),ex(y));
676 inline relational operator<=(basic const & x, ex const & y) {
677 return operator<=(ex(x),(y));
679 inline relational operator<=(basic const & x, basic const & y) {
680 return operator<=(ex(x),ex(y));
683 // fixes for relational operator>(x,y)
684 inline relational operator>(ex const & x, basic const & y) {
685 return operator>((x),ex(y));
687 inline relational operator>(basic const & x, ex const & y) {
688 return operator>(ex(x),(y));
690 inline relational operator>(basic const & x, basic const & y) {
691 return operator>(ex(x),ex(y));
694 // fixes for relational operator>=(x,y)
695 inline relational operator>=(ex const & x, basic const & y) {
696 return operator>=((x),ex(y));
698 inline relational operator>=(basic const & x, ex const & y) {
699 return operator>=(ex(x),(y));
701 inline relational operator>=(basic const & x, basic const & y) {
702 return operator>=(ex(x),ex(y));
705 // fixes for ex const & operator+=(x,y)
706 inline ex const & operator+=(ex & x, basic const & y) {
707 return operator+=((x),ex(y));
709 // fixes for ex const & operator-=(x,y)
710 inline ex const & operator-=(ex & x, basic const & y) {
711 return operator-=((x),ex(y));
713 // fixes for ex const & operator*=(x,y)
714 inline ex const & operator*=(ex & x, basic const & y) {
715 return operator*=((x),ex(y));
717 // fixes for ex const & operator/=(x,y)
718 inline ex const & operator/=(ex & x, basic const & y) {
719 return operator/=((x),ex(y));
721 // fixes for other operators
722 inline ex operator+(basic const & x) {
723 return operator+(ex(x));
725 inline ex operator-(basic const & x) {
726 return operator-(ex(x));
728 inline ostream & operator<<(ostream & os, basic const & x) {
729 return operator<<(os,ex(x));
731 // fixes for functions
732 // fixes for bool are_ex_trivially_equal(x,y)
733 inline bool are_ex_trivially_equal(ex const & x, basic const & y) {
734 return are_ex_trivially_equal((x),ex(y));
736 inline bool are_ex_trivially_equal(basic const & x, ex const & y) {
737 return are_ex_trivially_equal(ex(x),(y));
739 inline bool are_ex_trivially_equal(basic const & x, basic const & y) {
740 return are_ex_trivially_equal(ex(x),ex(y));
743 inline unsigned nops(basic const & x) {
746 inline ex expand(basic const & x) {
747 return expand(ex(x));
749 // fixes for bool has(x,y)
750 inline bool has(ex const & x, basic const & y) {
751 return has((x),ex(y));
753 inline bool has(basic const & x, ex const & y) {
754 return has(ex(x),(y));
756 inline bool has(basic const & x, basic const & y) {
757 return has(ex(x),ex(y));
760 inline int degree(basic const & x, symbol const & y) {
761 return degree(ex(x),(y));
763 inline int ldegree(basic const & x, symbol const & y) {
764 return ldegree(ex(x),(y));
766 inline ex coeff(basic const & x, symbol const & y, int z=1) {
767 return coeff(ex(x),(y),z);
769 inline ex numer(basic const & x) {
772 inline ex denom(basic const & x) {
775 inline ex normal(basic const & x, int y=0) {
776 return normal(ex(x),y);
778 inline ex collect(basic const & x, symbol const & y) {
779 return collect(ex(x),(y));
781 inline ex eval(basic const & x, int y=0) {
782 return eval(ex(x),y);
784 inline ex evalf(basic const & x, int y=0) {
785 return evalf(ex(x),y);
787 inline ex diff(basic const & x, symbol const & y, int z=1) {
788 return diff(ex(x),(y),z);
790 inline ex series(const basic & x, const relational & y, int z) {
791 return series(ex(x),ex(y),(z));
793 inline ex series(const basic & x, const symbol & y, int z) {
794 return series(ex(x),ex(y),(z));
796 // fixes for ex subs(x,y)
797 inline ex subs(ex const & x, basic const & y) {
798 return subs((x),ex(y));
800 inline ex subs(basic const & x, ex const & y) {
801 return subs(ex(x),(y));
803 inline ex subs(basic const & x, basic const & y) {
804 return subs(ex(x),ex(y));
807 inline ex subs(basic const & x, lst const & y, lst const & z) {
808 return subs(ex(x),(y),(z));
810 inline ex op(basic const & x, int y) {
811 return op(ex(x),(y));
813 inline ex lhs(basic const & x) {
816 inline ex rhs(basic const & x) {
819 inline bool is_zero(basic const & x) {
820 return is_zero(ex(x));
822 // fixes for simp_lor lor_g(x,y)
823 inline simp_lor lor_g(ex const & x, basic const & y) {
824 return lor_g((x),ex(y));
826 inline simp_lor lor_g(basic const & x, ex const & y) {
827 return lor_g(ex(x),(y));
829 inline simp_lor lor_g(basic const & x, basic const & y) {
830 return lor_g(ex(x),ex(y));
833 inline simp_lor lor_vec(const string & x, const basic & y) {
834 return lor_vec((x),ex(y));