]> www.ginac.de Git - ginac.git/blob - cint/dummies.h
- set micro_version to 2.
[ginac.git] / cint / dummies.h
1 /*  dummies.h
2  *
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!
6  */
7
8 // fixes for sin(x)
9 inline ex sin(symbol const & x) { return sin(ex(x)); }
10 inline ex sin(function const & x) { return sin(ex(x)); }
11 inline ex sin(constant const & x) { return sin(ex(x)); }
12 inline ex sin(idx const & x) { return sin(ex(x)); }
13 inline ex sin(lorentzidx const & x) { return sin(ex(x)); }
14 inline ex sin(coloridx const & x) { return sin(ex(x)); }
15
16 // fixes for cos(x)
17 inline ex cos(symbol const & x) { return cos(ex(x)); }
18 inline ex cos(function const & x) { return cos(ex(x)); }
19 inline ex cos(constant const & x) { return cos(ex(x)); }
20 inline ex cos(idx const & x) { return cos(ex(x)); }
21 inline ex cos(lorentzidx const & x) { return cos(ex(x)); }
22 inline ex cos(coloridx const & x) { return cos(ex(x)); }
23
24 // fixes for tan(x)
25 inline ex tan(symbol const & x) { return tan(ex(x)); }
26 inline ex tan(function const & x) { return tan(ex(x)); }
27 inline ex tan(constant const & x) { return tan(ex(x)); }
28 inline ex tan(idx const & x) { return tan(ex(x)); }
29 inline ex tan(lorentzidx const & x) { return tan(ex(x)); }
30 inline ex tan(coloridx const & x) { return tan(ex(x)); }
31
32 // fixes for asin(x)
33 inline ex asin(symbol const & x) { return asin(ex(x)); }
34 inline ex asin(function const & x) { return asin(ex(x)); }
35 inline ex asin(constant const & x) { return asin(ex(x)); }
36 inline ex asin(idx const & x) { return asin(ex(x)); }
37 inline ex asin(lorentzidx const & x) { return asin(ex(x)); }
38 inline ex asin(coloridx const & x) { return asin(ex(x)); }
39
40 // fixes for acos(x)
41 inline ex acos(symbol const & x) { return acos(ex(x)); }
42 inline ex acos(function const & x) { return acos(ex(x)); }
43 inline ex acos(constant const & x) { return acos(ex(x)); }
44 inline ex acos(idx const & x) { return acos(ex(x)); }
45 inline ex acos(lorentzidx const & x) { return acos(ex(x)); }
46 inline ex acos(coloridx const & x) { return acos(ex(x)); }
47
48 // fixes for atan(x)
49 inline ex atan(symbol const & x) { return atan(ex(x)); }
50 inline ex atan(function const & x) { return atan(ex(x)); }
51 inline ex atan(constant const & x) { return atan(ex(x)); }
52 inline ex atan(idx const & x) { return atan(ex(x)); }
53 inline ex atan(lorentzidx const & x) { return atan(ex(x)); }
54 inline ex atan(coloridx const & x) { return atan(ex(x)); }
55
56 // fixes for exp(x)
57 inline ex exp(symbol const & x) { return exp(ex(x)); }
58 inline ex exp(function const & x) { return exp(ex(x)); }
59 inline ex exp(constant const & x) { return exp(ex(x)); }
60 inline ex exp(idx const & x) { return exp(ex(x)); }
61 inline ex exp(lorentzidx const & x) { return exp(ex(x)); }
62 inline ex exp(coloridx const & x) { return exp(ex(x)); }
63
64 // fixes for log(x)
65 inline ex log(symbol const & x) { return log(ex(x)); }
66 inline ex log(function const & x) { return log(ex(x)); }
67 inline ex log(constant const & x) { return log(ex(x)); }
68 inline ex log(idx const & x) { return log(ex(x)); }
69 inline ex log(lorentzidx const & x) { return log(ex(x)); }
70 inline ex log(coloridx const & x) { return log(ex(x)); }
71
72 // fixes for sqrt(x)
73 inline ex sqrt(symbol const & x) { return sqrt(ex(x)); }
74 inline ex sqrt(function const & x) { return sqrt(ex(x)); }
75 inline ex sqrt(constant const & x) { return sqrt(ex(x)); }
76 inline ex sqrt(idx const & x) { return sqrt(ex(x)); }
77 inline ex sqrt(lorentzidx const & x) { return sqrt(ex(x)); }
78 inline ex sqrt(coloridx const & x) { return sqrt(ex(x)); }
79
80 // fixes for sinh(x)
81 inline ex sinh(symbol const & x) { return sinh(ex(x)); }
82 inline ex sinh(function const & x) { return sinh(ex(x)); }
83 inline ex sinh(constant const & x) { return sinh(ex(x)); }
84 inline ex sinh(idx const & x) { return sinh(ex(x)); }
85 inline ex sinh(lorentzidx const & x) { return sinh(ex(x)); }
86 inline ex sinh(coloridx const & x) { return sinh(ex(x)); }
87
88 // fixes for cosh(x)
89 inline ex cosh(symbol const & x) { return cosh(ex(x)); }
90 inline ex cosh(function const & x) { return cosh(ex(x)); }
91 inline ex cosh(constant const & x) { return cosh(ex(x)); }
92 inline ex cosh(idx const & x) { return cosh(ex(x)); }
93 inline ex cosh(lorentzidx const & x) { return cosh(ex(x)); }
94 inline ex cosh(coloridx const & x) { return cosh(ex(x)); }
95
96 // fixes for tanh(x)
97 inline ex tanh(symbol const & x) { return tanh(ex(x)); }
98 inline ex tanh(function const & x) { return tanh(ex(x)); }
99 inline ex tanh(constant const & x) { return tanh(ex(x)); }
100 inline ex tanh(idx const & x) { return tanh(ex(x)); }
101 inline ex tanh(lorentzidx const & x) { return tanh(ex(x)); }
102 inline ex tanh(coloridx const & x) { return tanh(ex(x)); }
103
104 // fixes for abs(x)
105 inline ex abs(symbol const & x) { return abs(ex(x)); }
106 inline ex abs(function const & x) { return abs(ex(x)); }
107 inline ex abs(constant const & x) { return abs(ex(x)); }
108 inline ex abs(idx const & x) { return abs(ex(x)); }
109 inline ex abs(lorentzidx const & x) { return abs(ex(x)); }
110 inline ex abs(coloridx const & x) { return abs(ex(x)); }
111
112 // fixes for pow(x,y)
113 inline ex pow(symbol const & x,symbol const & y) {
114     return pow(ex(x),ex(y));
115 }
116 inline ex pow(symbol const & x,function const & y) {
117     return pow(ex(x),ex(y));
118 }
119 inline ex pow(symbol const & x,constant const & y) {
120     return pow(ex(x),ex(y));
121 }
122 inline ex pow(symbol const & x,idx const & y) {
123     return pow(ex(x),ex(y));
124 }
125 inline ex pow(symbol const & x,lorentzidx const & y) {
126     return pow(ex(x),ex(y));
127 }
128 inline ex pow(symbol const & x,coloridx const & y) {
129     return pow(ex(x),ex(y));
130 }
131 inline ex pow(function const & x,symbol const & y) {
132     return pow(ex(x),ex(y));
133 }
134 inline ex pow(function const & x,function const & y) {
135     return pow(ex(x),ex(y));
136 }
137 inline ex pow(function const & x,constant const & y) {
138     return pow(ex(x),ex(y));
139 }
140 inline ex pow(function const & x,idx const & y) {
141     return pow(ex(x),ex(y));
142 }
143 inline ex pow(function const & x,lorentzidx const & y) {
144     return pow(ex(x),ex(y));
145 }
146 inline ex pow(function const & x,coloridx const & y) {
147     return pow(ex(x),ex(y));
148 }
149 inline ex pow(constant const & x,symbol const & y) {
150     return pow(ex(x),ex(y));
151 }
152 inline ex pow(constant const & x,function const & y) {
153     return pow(ex(x),ex(y));
154 }
155 inline ex pow(constant const & x,constant const & y) {
156     return pow(ex(x),ex(y));
157 }
158 inline ex pow(constant const & x,idx const & y) {
159     return pow(ex(x),ex(y));
160 }
161 inline ex pow(constant const & x,lorentzidx const & y) {
162     return pow(ex(x),ex(y));
163 }
164 inline ex pow(constant const & x,coloridx const & y) {
165     return pow(ex(x),ex(y));
166 }
167 inline ex pow(idx const & x,symbol const & y) {
168     return pow(ex(x),ex(y));
169 }
170 inline ex pow(idx const & x,function const & y) {
171     return pow(ex(x),ex(y));
172 }
173 inline ex pow(idx const & x,constant const & y) {
174     return pow(ex(x),ex(y));
175 }
176 inline ex pow(idx const & x,idx const & y) {
177     return pow(ex(x),ex(y));
178 }
179 inline ex pow(idx const & x,lorentzidx const & y) {
180     return pow(ex(x),ex(y));
181 }
182 inline ex pow(idx const & x,coloridx const & y) {
183     return pow(ex(x),ex(y));
184 }
185 inline ex pow(lorentzidx const & x,symbol const & y) {
186     return pow(ex(x),ex(y));
187 }
188 inline ex pow(lorentzidx const & x,function const & y) {
189     return pow(ex(x),ex(y));
190 }
191 inline ex pow(lorentzidx const & x,constant const & y) {
192     return pow(ex(x),ex(y));
193 }
194 inline ex pow(lorentzidx const & x,idx const & y) {
195     return pow(ex(x),ex(y));
196 }
197 inline ex pow(lorentzidx const & x,lorentzidx const & y) {
198     return pow(ex(x),ex(y));
199 }
200 inline ex pow(lorentzidx const & x,coloridx const & y) {
201     return pow(ex(x),ex(y));
202 }
203 inline ex pow(coloridx const & x,symbol const & y) {
204     return pow(ex(x),ex(y));
205 }
206 inline ex pow(coloridx const & x,function const & y) {
207     return pow(ex(x),ex(y));
208 }
209 inline ex pow(coloridx const & x,constant const & y) {
210     return pow(ex(x),ex(y));
211 }
212 inline ex pow(coloridx const & x,idx const & y) {
213     return pow(ex(x),ex(y));
214 }
215 inline ex pow(coloridx const & x,lorentzidx const & y) {
216     return pow(ex(x),ex(y));
217 }
218 inline ex pow(coloridx const & x,coloridx const & y) {
219     return pow(ex(x),ex(y));
220 }
221 inline ex pow(symbol const & x,numeric const & y) {
222     return pow(ex(x),ex(y));
223 }
224 inline ex pow(symbol const & x,int const & y) {
225     return pow(ex(x),ex(y));
226 }
227 inline ex pow(symbol const & x,double const & y) {
228     return pow(ex(x),ex(y));
229 }
230 inline ex pow(function const & x,numeric const & y) {
231     return pow(ex(x),ex(y));
232 }
233 inline ex pow(function const & x,int const & y) {
234     return pow(ex(x),ex(y));
235 }
236 inline ex pow(function const & x,double const & y) {
237     return pow(ex(x),ex(y));
238 }
239 inline ex pow(constant const & x,numeric const & y) {
240     return pow(ex(x),ex(y));
241 }
242 inline ex pow(constant const & x,int const & y) {
243     return pow(ex(x),ex(y));
244 }
245 inline ex pow(constant const & x,double const & y) {
246     return pow(ex(x),ex(y));
247 }
248 inline ex pow(idx const & x,numeric const & y) {
249     return pow(ex(x),ex(y));
250 }
251 inline ex pow(idx const & x,int const & y) {
252     return pow(ex(x),ex(y));
253 }
254 inline ex pow(idx const & x,double const & y) {
255     return pow(ex(x),ex(y));
256 }
257 inline ex pow(lorentzidx const & x,numeric const & y) {
258     return pow(ex(x),ex(y));
259 }
260 inline ex pow(lorentzidx const & x,int const & y) {
261     return pow(ex(x),ex(y));
262 }
263 inline ex pow(lorentzidx const & x,double const & y) {
264     return pow(ex(x),ex(y));
265 }
266 inline ex pow(coloridx const & x,numeric const & y) {
267     return pow(ex(x),ex(y));
268 }
269 inline ex pow(coloridx const & x,int const & y) {
270     return pow(ex(x),ex(y));
271 }
272 inline ex pow(coloridx const & x,double const & y) {
273     return pow(ex(x),ex(y));
274 }
275 inline ex pow(numeric const & x,symbol const & y) {
276     return pow(ex(x),ex(y));
277 }
278 inline ex pow(numeric const & x,function const & y) {
279     return pow(ex(x),ex(y));
280 }
281 inline ex pow(numeric const & x,constant const & y) {
282     return pow(ex(x),ex(y));
283 }
284 inline ex pow(numeric const & x,idx const & y) {
285     return pow(ex(x),ex(y));
286 }
287 inline ex pow(numeric const & x,lorentzidx const & y) {
288     return pow(ex(x),ex(y));
289 }
290 inline ex pow(numeric const & x,coloridx const & y) {
291     return pow(ex(x),ex(y));
292 }
293 inline ex pow(int const & x,symbol const & y) {
294     return pow(ex(x),ex(y));
295 }
296 inline ex pow(int const & x,function const & y) {
297     return pow(ex(x),ex(y));
298 }
299 inline ex pow(int const & x,constant const & y) {
300     return pow(ex(x),ex(y));
301 }
302 inline ex pow(int const & x,idx const & y) {
303     return pow(ex(x),ex(y));
304 }
305 inline ex pow(int const & x,lorentzidx const & y) {
306     return pow(ex(x),ex(y));
307 }
308 inline ex pow(int const & x,coloridx const & y) {
309     return pow(ex(x),ex(y));
310 }
311 inline ex pow(double const & x,symbol const & y) {
312     return pow(ex(x),ex(y));
313 }
314 inline ex pow(double const & x,function const & y) {
315     return pow(ex(x),ex(y));
316 }
317 inline ex pow(double const & x,constant const & y) {
318     return pow(ex(x),ex(y));
319 }
320 inline ex pow(double const & x,idx const & y) {
321     return pow(ex(x),ex(y));
322 }
323 inline ex pow(double const & x,lorentzidx const & y) {
324     return pow(ex(x),ex(y));
325 }
326 inline ex pow(double const & x,coloridx const & y) {
327     return pow(ex(x),ex(y));
328 }
329 inline ex pow(ex const & x,numeric const & y) {
330     return pow(ex(x),ex(y));
331 }
332 inline ex pow(ex const & x,int const & y) {
333     return pow(ex(x),ex(y));
334 }
335 inline ex pow(ex const & x,double const & y) {
336     return pow(ex(x),ex(y));
337 }
338 inline ex pow(numeric const & x,ex const & y) {
339     return pow(ex(x),ex(y));
340 }
341 inline ex pow(int const & x,ex const & y) {
342     return pow(ex(x),ex(y));
343 }
344 inline ex pow(double const & x,ex const & y) {
345     return pow(ex(x),ex(y));
346 }
347
348 // fixes for atan2(x,y)
349 inline ex atan2(symbol const & x,symbol const & y) {
350     return atan2(ex(x),ex(y));
351 }
352 inline ex atan2(symbol const & x,function const & y) {
353     return atan2(ex(x),ex(y));
354 }
355 inline ex atan2(symbol const & x,constant const & y) {
356     return atan2(ex(x),ex(y));
357 }
358 inline ex atan2(symbol const & x,idx const & y) {
359     return atan2(ex(x),ex(y));
360 }
361 inline ex atan2(symbol const & x,lorentzidx const & y) {
362     return atan2(ex(x),ex(y));
363 }
364 inline ex atan2(symbol const & x,coloridx const & y) {
365     return atan2(ex(x),ex(y));
366 }
367 inline ex atan2(function const & x,symbol const & y) {
368     return atan2(ex(x),ex(y));
369 }
370 inline ex atan2(function const & x,function const & y) {
371     return atan2(ex(x),ex(y));
372 }
373 inline ex atan2(function const & x,constant const & y) {
374     return atan2(ex(x),ex(y));
375 }
376 inline ex atan2(function const & x,idx const & y) {
377     return atan2(ex(x),ex(y));
378 }
379 inline ex atan2(function const & x,lorentzidx const & y) {
380     return atan2(ex(x),ex(y));
381 }
382 inline ex atan2(function const & x,coloridx const & y) {
383     return atan2(ex(x),ex(y));
384 }
385 inline ex atan2(constant const & x,symbol const & y) {
386     return atan2(ex(x),ex(y));
387 }
388 inline ex atan2(constant const & x,function const & y) {
389     return atan2(ex(x),ex(y));
390 }
391 inline ex atan2(constant const & x,constant const & y) {
392     return atan2(ex(x),ex(y));
393 }
394 inline ex atan2(constant const & x,idx const & y) {
395     return atan2(ex(x),ex(y));
396 }
397 inline ex atan2(constant const & x,lorentzidx const & y) {
398     return atan2(ex(x),ex(y));
399 }
400 inline ex atan2(constant const & x,coloridx const & y) {
401     return atan2(ex(x),ex(y));
402 }
403 inline ex atan2(idx const & x,symbol const & y) {
404     return atan2(ex(x),ex(y));
405 }
406 inline ex atan2(idx const & x,function const & y) {
407     return atan2(ex(x),ex(y));
408 }
409 inline ex atan2(idx const & x,constant const & y) {
410     return atan2(ex(x),ex(y));
411 }
412 inline ex atan2(idx const & x,idx const & y) {
413     return atan2(ex(x),ex(y));
414 }
415 inline ex atan2(idx const & x,lorentzidx const & y) {
416     return atan2(ex(x),ex(y));
417 }
418 inline ex atan2(idx const & x,coloridx const & y) {
419     return atan2(ex(x),ex(y));
420 }
421 inline ex atan2(lorentzidx const & x,symbol const & y) {
422     return atan2(ex(x),ex(y));
423 }
424 inline ex atan2(lorentzidx const & x,function const & y) {
425     return atan2(ex(x),ex(y));
426 }
427 inline ex atan2(lorentzidx const & x,constant const & y) {
428     return atan2(ex(x),ex(y));
429 }
430 inline ex atan2(lorentzidx const & x,idx const & y) {
431     return atan2(ex(x),ex(y));
432 }
433 inline ex atan2(lorentzidx const & x,lorentzidx const & y) {
434     return atan2(ex(x),ex(y));
435 }
436 inline ex atan2(lorentzidx const & x,coloridx const & y) {
437     return atan2(ex(x),ex(y));
438 }
439 inline ex atan2(coloridx const & x,symbol const & y) {
440     return atan2(ex(x),ex(y));
441 }
442 inline ex atan2(coloridx const & x,function const & y) {
443     return atan2(ex(x),ex(y));
444 }
445 inline ex atan2(coloridx const & x,constant const & y) {
446     return atan2(ex(x),ex(y));
447 }
448 inline ex atan2(coloridx const & x,idx const & y) {
449     return atan2(ex(x),ex(y));
450 }
451 inline ex atan2(coloridx const & x,lorentzidx const & y) {
452     return atan2(ex(x),ex(y));
453 }
454 inline ex atan2(coloridx const & x,coloridx const & y) {
455     return atan2(ex(x),ex(y));
456 }
457 inline ex atan2(symbol const & x,numeric const & y) {
458     return atan2(ex(x),ex(y));
459 }
460 inline ex atan2(symbol const & x,int const & y) {
461     return atan2(ex(x),ex(y));
462 }
463 inline ex atan2(symbol const & x,double const & y) {
464     return atan2(ex(x),ex(y));
465 }
466 inline ex atan2(function const & x,numeric const & y) {
467     return atan2(ex(x),ex(y));
468 }
469 inline ex atan2(function const & x,int const & y) {
470     return atan2(ex(x),ex(y));
471 }
472 inline ex atan2(function const & x,double const & y) {
473     return atan2(ex(x),ex(y));
474 }
475 inline ex atan2(constant const & x,numeric const & y) {
476     return atan2(ex(x),ex(y));
477 }
478 inline ex atan2(constant const & x,int const & y) {
479     return atan2(ex(x),ex(y));
480 }
481 inline ex atan2(constant const & x,double const & y) {
482     return atan2(ex(x),ex(y));
483 }
484 inline ex atan2(idx const & x,numeric const & y) {
485     return atan2(ex(x),ex(y));
486 }
487 inline ex atan2(idx const & x,int const & y) {
488     return atan2(ex(x),ex(y));
489 }
490 inline ex atan2(idx const & x,double const & y) {
491     return atan2(ex(x),ex(y));
492 }
493 inline ex atan2(lorentzidx const & x,numeric const & y) {
494     return atan2(ex(x),ex(y));
495 }
496 inline ex atan2(lorentzidx const & x,int const & y) {
497     return atan2(ex(x),ex(y));
498 }
499 inline ex atan2(lorentzidx const & x,double const & y) {
500     return atan2(ex(x),ex(y));
501 }
502 inline ex atan2(coloridx const & x,numeric const & y) {
503     return atan2(ex(x),ex(y));
504 }
505 inline ex atan2(coloridx const & x,int const & y) {
506     return atan2(ex(x),ex(y));
507 }
508 inline ex atan2(coloridx const & x,double const & y) {
509     return atan2(ex(x),ex(y));
510 }
511 inline ex atan2(numeric const & x,symbol const & y) {
512     return atan2(ex(x),ex(y));
513 }
514 inline ex atan2(numeric const & x,function const & y) {
515     return atan2(ex(x),ex(y));
516 }
517 inline ex atan2(numeric const & x,constant const & y) {
518     return atan2(ex(x),ex(y));
519 }
520 inline ex atan2(numeric const & x,idx const & y) {
521     return atan2(ex(x),ex(y));
522 }
523 inline ex atan2(numeric const & x,lorentzidx const & y) {
524     return atan2(ex(x),ex(y));
525 }
526 inline ex atan2(numeric const & x,coloridx const & y) {
527     return atan2(ex(x),ex(y));
528 }
529 inline ex atan2(int const & x,symbol const & y) {
530     return atan2(ex(x),ex(y));
531 }
532 inline ex atan2(int const & x,function const & y) {
533     return atan2(ex(x),ex(y));
534 }
535 inline ex atan2(int const & x,constant const & y) {
536     return atan2(ex(x),ex(y));
537 }
538 inline ex atan2(int const & x,idx const & y) {
539     return atan2(ex(x),ex(y));
540 }
541 inline ex atan2(int const & x,lorentzidx const & y) {
542     return atan2(ex(x),ex(y));
543 }
544 inline ex atan2(int const & x,coloridx const & y) {
545     return atan2(ex(x),ex(y));
546 }
547 inline ex atan2(double const & x,symbol const & y) {
548     return atan2(ex(x),ex(y));
549 }
550 inline ex atan2(double const & x,function const & y) {
551     return atan2(ex(x),ex(y));
552 }
553 inline ex atan2(double const & x,constant const & y) {
554     return atan2(ex(x),ex(y));
555 }
556 inline ex atan2(double const & x,idx const & y) {
557     return atan2(ex(x),ex(y));
558 }
559 inline ex atan2(double const & x,lorentzidx const & y) {
560     return atan2(ex(x),ex(y));
561 }
562 inline ex atan2(double const & x,coloridx const & y) {
563     return atan2(ex(x),ex(y));
564 }
565 inline ex atan2(ex const & x,numeric const & y) {
566     return atan2(ex(x),ex(y));
567 }
568 inline ex atan2(ex const & x,int const & y) {
569     return atan2(ex(x),ex(y));
570 }
571 inline ex atan2(ex const & x,double const & y) {
572     return atan2(ex(x),ex(y));
573 }
574 inline ex atan2(numeric const & x,ex const & y) {
575     return atan2(ex(x),ex(y));
576 }
577 inline ex atan2(int const & x,ex const & y) {
578     return atan2(ex(x),ex(y));
579 }
580 inline ex atan2(double const & x,ex const & y) {
581     return atan2(ex(x),ex(y));
582 }
583