/usr/share/pyshared/swiginac.py is in python-swiginac 1.5.1.1-1build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 1.3.40
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
# This file is compatible with both classic and new-style classes.
from sys import version_info
if version_info >= (2,6,0):
def swig_import_helper():
from os.path import dirname
import imp
fp = None
try:
fp, pathname, description = imp.find_module('_swiginac', [dirname(__file__)])
except ImportError:
import _swiginac
return _swiginac
if fp is not None:
try:
_mod = imp.load_module('_swiginac', fp, pathname, description)
finally:
fp.close()
return _mod
_swiginac = swig_import_helper()
del swig_import_helper
else:
import _swiginac
del version_info
try:
_swig_property = property
except NameError:
pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "thisown"): return self.this.own(value)
if (name == "this"):
if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static) or hasattr(self,name):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
if (name == "thisown"): return self.this.own()
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError(name)
def _swig_repr(self):
try: strthis = "proxy of " + self.this.__repr__()
except: strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
try:
_object = object
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
class SwigPyIterator(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SwigPyIterator, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SwigPyIterator, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _swiginac.delete_SwigPyIterator
__del__ = lambda self : None;
def value(self): return _swiginac.SwigPyIterator_value(self)
def incr(self, n = 1): return _swiginac.SwigPyIterator_incr(self, n)
def decr(self, n = 1): return _swiginac.SwigPyIterator_decr(self, n)
def distance(self, *args): return _swiginac.SwigPyIterator_distance(self, *args)
def equal(self, *args): return _swiginac.SwigPyIterator_equal(self, *args)
def copy(self): return _swiginac.SwigPyIterator_copy(self)
def next(self): return _swiginac.SwigPyIterator_next(self)
def __next__(self): return _swiginac.SwigPyIterator___next__(self)
def previous(self): return _swiginac.SwigPyIterator_previous(self)
def advance(self, *args): return _swiginac.SwigPyIterator_advance(self, *args)
def __eq__(self, *args): return _swiginac.SwigPyIterator___eq__(self, *args)
def __ne__(self, *args): return _swiginac.SwigPyIterator___ne__(self, *args)
def __iadd__(self, *args): return _swiginac.SwigPyIterator___iadd__(self, *args)
def __isub__(self, *args): return _swiginac.SwigPyIterator___isub__(self, *args)
def __add__(self, *args): return _swiginac.SwigPyIterator___add__(self, *args)
def __sub__(self, *args): return _swiginac.SwigPyIterator___sub__(self, *args)
def __iter__(self): return self
SwigPyIterator_swigregister = _swiginac.SwigPyIterator_swigregister
SwigPyIterator_swigregister(SwigPyIterator)
class string(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, string, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, string, name)
__repr__ = _swig_repr
def length(self): return _swiginac.string_length(self)
def max_size(self): return _swiginac.string_max_size(self)
def capacity(self): return _swiginac.string_capacity(self)
def reserve(self, __res_arg = 0): return _swiginac.string_reserve(self, __res_arg)
def copy(self, *args): return _swiginac.string_copy(self, *args)
def c_str(self): return _swiginac.string_c_str(self)
def find(self, *args): return _swiginac.string_find(self, *args)
def rfind(self, *args): return _swiginac.string_rfind(self, *args)
def find_first_of(self, *args): return _swiginac.string_find_first_of(self, *args)
def find_last_of(self, *args): return _swiginac.string_find_last_of(self, *args)
def find_first_not_of(self, *args): return _swiginac.string_find_first_not_of(self, *args)
def find_last_not_of(self, *args): return _swiginac.string_find_last_not_of(self, *args)
def substr(self, *args): return _swiginac.string_substr(self, *args)
def empty(self): return _swiginac.string_empty(self)
def size(self): return _swiginac.string_size(self)
def swap(self, *args): return _swiginac.string_swap(self, *args)
def get_allocator(self): return _swiginac.string_get_allocator(self)
def begin(self): return _swiginac.string_begin(self)
def end(self): return _swiginac.string_end(self)
def rbegin(self): return _swiginac.string_rbegin(self)
def rend(self): return _swiginac.string_rend(self)
def erase(self, *args): return _swiginac.string_erase(self, *args)
def __init__(self, *args):
this = _swiginac.new_string(*args)
try: self.this.append(this)
except: self.this = this
def assign(self, *args): return _swiginac.string_assign(self, *args)
def resize(self, *args): return _swiginac.string_resize(self, *args)
def iterator(self): return _swiginac.string_iterator(self)
def __iter__(self): return self.iterator()
def __nonzero__(self): return _swiginac.string___nonzero__(self)
def __bool__(self): return _swiginac.string___bool__(self)
def __len__(self): return _swiginac.string___len__(self)
def __getslice__(self, *args): return _swiginac.string___getslice__(self, *args)
def __setslice__(self, *args): return _swiginac.string___setslice__(self, *args)
def __delslice__(self, *args): return _swiginac.string___delslice__(self, *args)
def __delitem__(self, *args): return _swiginac.string___delitem__(self, *args)
def __getitem__(self, *args): return _swiginac.string___getitem__(self, *args)
def __setitem__(self, *args): return _swiginac.string___setitem__(self, *args)
def insert(self, *args): return _swiginac.string_insert(self, *args)
def replace(self, *args): return _swiginac.string_replace(self, *args)
def __iadd__(self, *args): return _swiginac.string___iadd__(self, *args)
def __add__(self, *args): return _swiginac.string___add__(self, *args)
def __radd__(self, *args): return _swiginac.string___radd__(self, *args)
def __str__(self): return _swiginac.string___str__(self)
def __rlshift__(self, *args): return _swiginac.string___rlshift__(self, *args)
def __eq__(self, *args): return _swiginac.string___eq__(self, *args)
def __ne__(self, *args): return _swiginac.string___ne__(self, *args)
def __gt__(self, *args): return _swiginac.string___gt__(self, *args)
def __lt__(self, *args): return _swiginac.string___lt__(self, *args)
def __ge__(self, *args): return _swiginac.string___ge__(self, *args)
def __le__(self, *args): return _swiginac.string___le__(self, *args)
__swig_destroy__ = _swiginac.delete_string
__del__ = lambda self : None;
string_swigregister = _swiginac.string_swigregister
string_swigregister(string)
cvar = _swiginac.cvar
string.npos = _swiginac.cvar.string_npos
class ios_base(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ios_base, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ios_base, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
erase_event = _swiginac.ios_base_erase_event
imbue_event = _swiginac.ios_base_imbue_event
copyfmt_event = _swiginac.ios_base_copyfmt_event
def register_callback(self, *args): return _swiginac.ios_base_register_callback(self, *args)
def flags(self, *args): return _swiginac.ios_base_flags(self, *args)
def setf(self, *args): return _swiginac.ios_base_setf(self, *args)
def unsetf(self, *args): return _swiginac.ios_base_unsetf(self, *args)
def precision(self, *args): return _swiginac.ios_base_precision(self, *args)
def width(self, *args): return _swiginac.ios_base_width(self, *args)
__swig_getmethods__["sync_with_stdio"] = lambda x: _swiginac.ios_base_sync_with_stdio
if _newclass:sync_with_stdio = staticmethod(_swiginac.ios_base_sync_with_stdio)
def imbue(self, *args): return _swiginac.ios_base_imbue(self, *args)
def getloc(self): return _swiginac.ios_base_getloc(self)
__swig_getmethods__["xalloc"] = lambda x: _swiginac.ios_base_xalloc
if _newclass:xalloc = staticmethod(_swiginac.ios_base_xalloc)
def iword(self, *args): return _swiginac.ios_base_iword(self, *args)
def pword(self, *args): return _swiginac.ios_base_pword(self, *args)
__swig_destroy__ = _swiginac.delete_ios_base
__del__ = lambda self : None;
ios_base_swigregister = _swiginac.ios_base_swigregister
ios_base_swigregister(ios_base)
ios_base.boolalpha = _swiginac.cvar.ios_base_boolalpha
ios_base.dec = _swiginac.cvar.ios_base_dec
ios_base.fixed = _swiginac.cvar.ios_base_fixed
ios_base.hex = _swiginac.cvar.ios_base_hex
ios_base.internal = _swiginac.cvar.ios_base_internal
ios_base.left = _swiginac.cvar.ios_base_left
ios_base.oct = _swiginac.cvar.ios_base_oct
ios_base.right = _swiginac.cvar.ios_base_right
ios_base.scientific = _swiginac.cvar.ios_base_scientific
ios_base.showbase = _swiginac.cvar.ios_base_showbase
ios_base.showpoint = _swiginac.cvar.ios_base_showpoint
ios_base.showpos = _swiginac.cvar.ios_base_showpos
ios_base.skipws = _swiginac.cvar.ios_base_skipws
ios_base.unitbuf = _swiginac.cvar.ios_base_unitbuf
ios_base.uppercase = _swiginac.cvar.ios_base_uppercase
ios_base.adjustfield = _swiginac.cvar.ios_base_adjustfield
ios_base.basefield = _swiginac.cvar.ios_base_basefield
ios_base.floatfield = _swiginac.cvar.ios_base_floatfield
ios_base.badbit = _swiginac.cvar.ios_base_badbit
ios_base.eofbit = _swiginac.cvar.ios_base_eofbit
ios_base.failbit = _swiginac.cvar.ios_base_failbit
ios_base.goodbit = _swiginac.cvar.ios_base_goodbit
ios_base.app = _swiginac.cvar.ios_base_app
ios_base.ate = _swiginac.cvar.ios_base_ate
ios_base.binary = _swiginac.cvar.ios_base_binary
ios_base.ios_base_in = _swiginac.cvar.ios_base_ios_base_in
ios_base.out = _swiginac.cvar.ios_base_out
ios_base.trunc = _swiginac.cvar.ios_base_trunc
ios_base.beg = _swiginac.cvar.ios_base_beg
ios_base.cur = _swiginac.cvar.ios_base_cur
ios_base.end = _swiginac.cvar.ios_base_end
def ios_base_sync_with_stdio(__sync = True):
return _swiginac.ios_base_sync_with_stdio(__sync)
ios_base_sync_with_stdio = _swiginac.ios_base_sync_with_stdio
def ios_base_xalloc():
return _swiginac.ios_base_xalloc()
ios_base_xalloc = _swiginac.ios_base_xalloc
class ios(ios_base):
__swig_setmethods__ = {}
for _s in [ios_base]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ios, name, value)
__swig_getmethods__ = {}
for _s in [ios_base]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, ios, name)
__repr__ = _swig_repr
def rdstate(self): return _swiginac.ios_rdstate(self)
def clear(self, *args): return _swiginac.ios_clear(self, *args)
def setstate(self, *args): return _swiginac.ios_setstate(self, *args)
def good(self): return _swiginac.ios_good(self)
def eof(self): return _swiginac.ios_eof(self)
def fail(self): return _swiginac.ios_fail(self)
def bad(self): return _swiginac.ios_bad(self)
def exceptions(self, *args): return _swiginac.ios_exceptions(self, *args)
def __init__(self, *args):
this = _swiginac.new_ios(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_ios
__del__ = lambda self : None;
def tie(self, *args): return _swiginac.ios_tie(self, *args)
def rdbuf(self, *args): return _swiginac.ios_rdbuf(self, *args)
def copyfmt(self, *args): return _swiginac.ios_copyfmt(self, *args)
def fill(self, *args): return _swiginac.ios_fill(self, *args)
def imbue(self, *args): return _swiginac.ios_imbue(self, *args)
def narrow(self, *args): return _swiginac.ios_narrow(self, *args)
def widen(self, *args): return _swiginac.ios_widen(self, *args)
ios_swigregister = _swiginac.ios_swigregister
ios_swigregister(ios)
class streambuf(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, streambuf, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, streambuf, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
__repr__ = _swig_repr
__swig_destroy__ = _swiginac.delete_streambuf
__del__ = lambda self : None;
def pubimbue(self, *args): return _swiginac.streambuf_pubimbue(self, *args)
def getloc(self): return _swiginac.streambuf_getloc(self)
def pubsetbuf(self, *args): return _swiginac.streambuf_pubsetbuf(self, *args)
def pubseekoff(self, *args): return _swiginac.streambuf_pubseekoff(self, *args)
def pubseekpos(self, *args): return _swiginac.streambuf_pubseekpos(self, *args)
def pubsync(self): return _swiginac.streambuf_pubsync(self)
def in_avail(self): return _swiginac.streambuf_in_avail(self)
def snextc(self): return _swiginac.streambuf_snextc(self)
def sbumpc(self): return _swiginac.streambuf_sbumpc(self)
def sgetc(self): return _swiginac.streambuf_sgetc(self)
def sgetn(self, *args): return _swiginac.streambuf_sgetn(self, *args)
def sputbackc(self, *args): return _swiginac.streambuf_sputbackc(self, *args)
def sungetc(self): return _swiginac.streambuf_sungetc(self)
def sputc(self, *args): return _swiginac.streambuf_sputc(self, *args)
def sputn(self, *args): return _swiginac.streambuf_sputn(self, *args)
streambuf_swigregister = _swiginac.streambuf_swigregister
streambuf_swigregister(streambuf)
class ostream(ios):
__swig_setmethods__ = {}
for _s in [ios]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ostream, name, value)
__swig_getmethods__ = {}
for _s in [ios]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, ostream, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _swiginac.new_ostream(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_ostream
__del__ = lambda self : None;
def __lshift__(self, *args): return _swiginac.ostream___lshift__(self, *args)
def put(self, *args): return _swiginac.ostream_put(self, *args)
def write(self, *args): return _swiginac.ostream_write(self, *args)
def flush(self): return _swiginac.ostream_flush(self)
def tellp(self): return _swiginac.ostream_tellp(self)
def seekp(self, *args): return _swiginac.ostream_seekp(self, *args)
ostream_swigregister = _swiginac.ostream_swigregister
ostream_swigregister(ostream)
cin = cvar.cin
cout = cvar.cout
cerr = cvar.cerr
clog = cvar.clog
class istream(ios):
__swig_setmethods__ = {}
for _s in [ios]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, istream, name, value)
__swig_getmethods__ = {}
for _s in [ios]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, istream, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _swiginac.new_istream(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_istream
__del__ = lambda self : None;
def __rshift__(self, *args): return _swiginac.istream___rshift__(self, *args)
def gcount(self): return _swiginac.istream_gcount(self)
def get(self, *args): return _swiginac.istream_get(self, *args)
def getline(self, *args): return _swiginac.istream_getline(self, *args)
def ignore(self, *args): return _swiginac.istream_ignore(self, *args)
def peek(self): return _swiginac.istream_peek(self)
def read(self, *args): return _swiginac.istream_read(self, *args)
def readsome(self, *args): return _swiginac.istream_readsome(self, *args)
def putback(self, *args): return _swiginac.istream_putback(self, *args)
def unget(self): return _swiginac.istream_unget(self)
def sync(self): return _swiginac.istream_sync(self)
def tellg(self): return _swiginac.istream_tellg(self)
def seekg(self, *args): return _swiginac.istream_seekg(self, *args)
istream_swigregister = _swiginac.istream_swigregister
istream_swigregister(istream)
class iostream(istream,ostream):
__swig_setmethods__ = {}
for _s in [istream,ostream]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, iostream, name, value)
__swig_getmethods__ = {}
for _s in [istream,ostream]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, iostream, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _swiginac.new_iostream(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_iostream
__del__ = lambda self : None;
iostream_swigregister = _swiginac.iostream_swigregister
iostream_swigregister(iostream)
endl_cb_ptr = _swiginac.endl_cb_ptr
def endl(*args):
return _swiginac.endl(*args)
endl = _swiginac.endl
ends_cb_ptr = _swiginac.ends_cb_ptr
def ends(*args):
return _swiginac.ends(*args)
ends = _swiginac.ends
flush_cb_ptr = _swiginac.flush_cb_ptr
def flush(*args):
return _swiginac.flush(*args)
flush = _swiginac.flush
class istringstream(istream):
__swig_setmethods__ = {}
for _s in [istream]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, istringstream, name, value)
__swig_getmethods__ = {}
for _s in [istream]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, istringstream, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _swiginac.new_istringstream(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_istringstream
__del__ = lambda self : None;
def rdbuf(self): return _swiginac.istringstream_rdbuf(self)
def str(self, *args): return _swiginac.istringstream_str(self, *args)
istringstream_swigregister = _swiginac.istringstream_swigregister
istringstream_swigregister(istringstream)
class ostringstream(ostream):
__swig_setmethods__ = {}
for _s in [ostream]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ostringstream, name, value)
__swig_getmethods__ = {}
for _s in [ostream]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, ostringstream, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _swiginac.new_ostringstream(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_ostringstream
__del__ = lambda self : None;
def rdbuf(self): return _swiginac.ostringstream_rdbuf(self)
def str(self): return _swiginac.ostringstream_str(self)
ostringstream_swigregister = _swiginac.ostringstream_swigregister
ostringstream_swigregister(ostringstream)
class stringstream(iostream):
__swig_setmethods__ = {}
for _s in [iostream]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, stringstream, name, value)
__swig_getmethods__ = {}
for _s in [iostream]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, stringstream, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _swiginac.new_stringstream(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_stringstream
__del__ = lambda self : None;
def rdbuf(self): return _swiginac.stringstream_rdbuf(self)
def str(self, *args): return _swiginac.stringstream_str(self, *args)
stringstream_swigregister = _swiginac.stringstream_swigregister
stringstream_swigregister(stringstream)
class refcounted(_object):
"""Proxy of C++ GiNaC::refcounted class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, refcounted, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, refcounted, name)
__repr__ = _swig_repr
def __init__(self):
"""__init__(self) -> refcounted"""
this = _swiginac.new_refcounted()
try: self.this.append(this)
except: self.this = this
def add_reference(self):
"""add_reference(self) -> size_t"""
return _swiginac.refcounted_add_reference(self)
def remove_reference(self):
"""remove_reference(self) -> size_t"""
return _swiginac.refcounted_remove_reference(self)
def get_refcount(self):
"""get_refcount(self) -> size_t"""
return _swiginac.refcounted_get_refcount(self)
def set_refcount(self, *args):
"""set_refcount(self, size_t r)"""
return _swiginac.refcounted_set_refcount(self, *args)
__swig_destroy__ = _swiginac.delete_refcounted
__del__ = lambda self : None;
refcounted_swigregister = _swiginac.refcounted_swigregister
refcounted_swigregister(refcounted)
class registered_class_options(_object):
"""Proxy of C++ GiNaC::registered_class_options class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, registered_class_options, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, registered_class_options, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""__init__(self, char n, char p, std::type_info ti) -> registered_class_options"""
this = _swiginac.new_registered_class_options(*args)
try: self.this.append(this)
except: self.this = this
def get_name(self):
"""get_name(self) -> char"""
return _swiginac.registered_class_options_get_name(self)
def get_parent_name(self):
"""get_parent_name(self) -> char"""
return _swiginac.registered_class_options_get_parent_name(self)
def get_id(self):
"""get_id(self) -> std::type_info"""
return _swiginac.registered_class_options_get_id(self)
def get_print_dispatch_table(self):
"""get_print_dispatch_table(self) -> std::vector<(print_functor,std::allocator<(print_functor)>)>"""
return _swiginac.registered_class_options_get_print_dispatch_table(self)
def set_print_func(self, *args):
"""set_print_func(self, unsigned int id, print_functor f)"""
return _swiginac.registered_class_options_set_print_func(self, *args)
__swig_destroy__ = _swiginac.delete_registered_class_options
__del__ = lambda self : None;
registered_class_options_swigregister = _swiginac.registered_class_options_swigregister
registered_class_options_swigregister(registered_class_options)
class ex(_object):
"""Proxy of C++ GiNaC::ex class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ex, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ex, name)
__repr__ = _swig_repr
def eval(self, level = 0):
"""
eval(self, int level = 0) -> ex
eval(self) -> ex
"""
return _swiginac.ex_eval(self, level)
def __init__(self):
"""__init__(self) -> ex"""
this = _swiginac.new_ex()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_ex
__del__ = lambda self : None;
ex_swigregister = _swiginac.ex_swigregister
ex_swigregister(ex)
class lst(_object):
"""Proxy of C++ GiNaC::lst class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, lst, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, lst, name)
__repr__ = _swig_repr
def __init__(self):
"""__init__(self) -> lst"""
this = _swiginac.new_lst()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_lst
__del__ = lambda self : None;
lst_swigregister = _swiginac.lst_swigregister
lst_swigregister(lst)
class basic(refcounted):
"""Proxy of C++ GiNaC::basic class"""
__swig_setmethods__ = {}
for _s in [refcounted]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, basic, name, value)
__swig_getmethods__ = {}
for _s in [refcounted]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, basic, name)
__repr__ = _swig_repr
__swig_destroy__ = _swiginac.delete_basic
__del__ = lambda self : None;
def __init__(self, *args):
"""__init__(self, basic other) -> basic"""
this = _swiginac.new_basic(*args)
try: self.this.append(this)
except: self.this = this
def duplicate(self):
"""duplicate(self) -> basic"""
return _swiginac.basic_duplicate(self)
def eval(self, level = 0):
"""
eval(self, int level = 0) -> ex
eval(self) -> ex
"""
return _swiginac.basic_eval(self, level)
def evalf(self, level = 0):
"""
evalf(self, int level = 0) -> ex
evalf(self) -> ex
"""
return _swiginac.basic_evalf(self, level)
def evalm(self):
"""evalm(self) -> ex"""
return _swiginac.basic_evalm(self)
def eval_indexed(self, *args):
"""eval_indexed(self, basic i) -> ex"""
return _swiginac.basic_eval_indexed(self, *args)
def dbgprint(self):
"""dbgprint(self)"""
return _swiginac.basic_dbgprint(self)
def dbgprinttree(self):
"""dbgprinttree(self)"""
return _swiginac.basic_dbgprinttree(self)
def precedence(self):
"""precedence(self) -> unsigned int"""
return _swiginac.basic_precedence(self)
def info(self, *args):
"""info(self, unsigned int inf) -> bool"""
return _swiginac.basic_info(self, *args)
def nops(self):
"""nops(self) -> size_t"""
return _swiginac.basic_nops(self)
def op(self, *args):
"""op(self, size_t i) -> ex"""
return _swiginac.basic_op(self, *args)
def let_op(self, *args):
"""let_op(self, size_t i) -> ex"""
return _swiginac.basic_let_op(self, *args)
def has(self, *args):
"""
has(self, ex other, unsigned int options = 0) -> bool
has(self, ex other) -> bool
"""
return _swiginac.basic_has(self, *args)
def match(self, *args):
"""match(self, ex pattern, exmap repls) -> bool"""
return _swiginac.basic_match(self, *args)
def map(self, *args):
"""map(self, map_function f) -> ex"""
return _swiginac.basic_map(self, *args)
def accept(self, *args):
"""accept(self, GiNaC::visitor v)"""
return _swiginac.basic_accept(self, *args)
def is_polynomial(self, *args):
"""is_polynomial(self, ex var) -> bool"""
return _swiginac.basic_is_polynomial(self, *args)
def degree(self, *args):
"""degree(self, ex s) -> int"""
return _swiginac.basic_degree(self, *args)
def ldegree(self, *args):
"""ldegree(self, ex s) -> int"""
return _swiginac.basic_ldegree(self, *args)
def coeff(self, *args):
"""
coeff(self, ex s, int n = 1) -> ex
coeff(self, ex s) -> ex
"""
return _swiginac.basic_coeff(self, *args)
def expand(self, options = 0):
"""
expand(self, unsigned int options = 0) -> ex
expand(self) -> ex
"""
return _swiginac.basic_expand(self, options)
def collect(self, *args):
"""
collect(self, ex s, bool distributed = False) -> ex
collect(self, ex s) -> ex
"""
return _swiginac.basic_collect(self, *args)
def series(self, *args):
"""
series(self, relational r, int order, unsigned int options = 0) -> ex
series(self, relational r, int order) -> ex
"""
return _swiginac.basic_series(self, *args)
def to_rational(self, *args):
"""to_rational(self, exmap repl) -> ex"""
return _swiginac.basic_to_rational(self, *args)
def to_polynomial(self, *args):
"""to_polynomial(self, exmap repl) -> ex"""
return _swiginac.basic_to_polynomial(self, *args)
def integer_content(self):
"""integer_content(self) -> numeric"""
return _swiginac.basic_integer_content(self)
def smod(self, *args):
"""smod(self, numeric xi) -> ex"""
return _swiginac.basic_smod(self, *args)
def max_coefficient(self):
"""max_coefficient(self) -> numeric"""
return _swiginac.basic_max_coefficient(self)
def get_free_indices(self):
"""get_free_indices(self) -> exvector"""
return _swiginac.basic_get_free_indices(self)
def add_indexed(self, *args):
"""add_indexed(self, ex self, ex other) -> ex"""
return _swiginac.basic_add_indexed(self, *args)
def scalar_mul_indexed(self, *args):
"""scalar_mul_indexed(self, ex self, numeric other) -> ex"""
return _swiginac.basic_scalar_mul_indexed(self, *args)
def contract_with(self, *args):
"""
contract_with(self, exvector::iterator self, exvector::iterator other,
exvector v) -> bool
"""
return _swiginac.basic_contract_with(self, *args)
def return_type(self):
"""return_type(self) -> unsigned int"""
return _swiginac.basic_return_type(self)
def return_type_tinfo(self):
"""return_type_tinfo(self) -> return_type_t"""
return _swiginac.basic_return_type_tinfo(self)
def conjugate(self):
"""conjugate(self) -> ex"""
return _swiginac.basic_conjugate(self)
def real_part(self):
"""real_part(self) -> ex"""
return _swiginac.basic_real_part(self)
def imag_part(self):
"""imag_part(self) -> ex"""
return _swiginac.basic_imag_part(self)
def print_dispatch(self, *args):
"""print_dispatch(self, registered_class_info ri, print_context c, unsigned int level)"""
return _swiginac.basic_print_dispatch(self, *args)
def subs_one_level(self, *args):
"""subs_one_level(self, exmap m, unsigned int options) -> ex"""
return _swiginac.basic_subs_one_level(self, *args)
def diff(self, *args):
"""
diff(self, symbol s, unsigned int nth = 1) -> ex
diff(self, symbol s) -> ex
"""
return _swiginac.basic_diff(self, *args)
def compare(self, *args):
"""compare(self, basic other) -> int"""
return _swiginac.basic_compare(self, *args)
def is_equal(self, *args):
"""is_equal(self, basic other) -> bool"""
return _swiginac.basic_is_equal(self, *args)
def hold(self):
"""hold(self) -> basic"""
return _swiginac.basic_hold(self)
def gethash(self):
"""gethash(self) -> unsigned int"""
return _swiginac.basic_gethash(self)
def setflag(self, *args):
"""setflag(self, unsigned int f) -> basic"""
return _swiginac.basic_setflag(self, *args)
def clearflag(self, *args):
"""clearflag(self, unsigned int f) -> basic"""
return _swiginac.basic_clearflag(self, *args)
def printpython(self):
"""printpython(self) -> string"""
return _swiginac.basic_printpython(self)
def printlatex(self):
"""printlatex(self) -> string"""
return _swiginac.basic_printlatex(self)
def printc(self):
"""printc(self) -> string"""
return _swiginac.basic_printc(self)
def __hash__(self):
"""__hash__(self) -> unsigned int"""
return _swiginac.basic___hash__(self)
def __nonzero__(self):
"""__nonzero__(self) -> bool"""
return _swiginac.basic___nonzero__(self)
def __add__(self, *args):
"""
__add__(self, basic b) -> ex
__add__(self, int b) -> ex
__add__(self, double b) -> ex
"""
return _swiginac.basic___add__(self, *args)
def __radd__(self, *args):
"""
__radd__(self, basic b) -> ex
__radd__(self, int b) -> ex
__radd__(self, double b) -> ex
"""
return _swiginac.basic___radd__(self, *args)
def __sub__(self, *args):
"""
__sub__(self, basic b) -> ex
__sub__(self, int b) -> ex
__sub__(self, double b) -> ex
"""
return _swiginac.basic___sub__(self, *args)
def __rsub__(self, *args):
"""
__rsub__(self, basic b) -> ex
__rsub__(self, int b) -> ex
__rsub__(self, double b) -> ex
"""
return _swiginac.basic___rsub__(self, *args)
def __mul__(self, *args):
"""
__mul__(self, basic b) -> ex
__mul__(self, int b) -> ex
__mul__(self, double b) -> ex
"""
return _swiginac.basic___mul__(self, *args)
def __rmul__(self, *args):
"""
__rmul__(self, basic b) -> ex
__rmul__(self, int b) -> ex
__rmul__(self, double b) -> ex
"""
return _swiginac.basic___rmul__(self, *args)
def __div__(self, *args):
"""
__div__(self, basic b) -> ex
__div__(self, int b) -> ex
__div__(self, double b) -> ex
"""
return _swiginac.basic___div__(self, *args)
def __rdiv__(self, *args):
"""
__rdiv__(self, basic b) -> ex
__rdiv__(self, int b) -> ex
__rdiv__(self, double b) -> ex
"""
return _swiginac.basic___rdiv__(self, *args)
def __pow__(self, *args):
"""
__pow__(self, basic b) -> ex
__pow__(self, int b) -> ex
__pow__(self, double b) -> ex
"""
return _swiginac.basic___pow__(self, *args)
def __rpow__(self, *args):
"""
__rpow__(self, basic b) -> ex
__rpow__(self, int b) -> ex
__rpow__(self, double b) -> ex
"""
return _swiginac.basic___rpow__(self, *args)
def __pos__(self):
"""__pos__(self) -> ex"""
return _swiginac.basic___pos__(self)
def __neg__(self):
"""__neg__(self) -> ex"""
return _swiginac.basic___neg__(self)
def __lt__(self, *args):
"""
__lt__(self, basic b) -> ex
__lt__(self, int b) -> ex
__lt__(self, double b) -> ex
"""
return _swiginac.basic___lt__(self, *args)
def __le__(self, *args):
"""
__le__(self, basic b) -> ex
__le__(self, int b) -> ex
__le__(self, double b) -> ex
"""
return _swiginac.basic___le__(self, *args)
def __eq__(self, *args):
"""
__eq__(self, basic b) -> ex
__eq__(self, int b) -> ex
__eq__(self, double b) -> ex
"""
return _swiginac.basic___eq__(self, *args)
def __ne__(self, *args):
"""
__ne__(self, basic b) -> ex
__ne__(self, int b) -> ex
__ne__(self, double b) -> ex
"""
return _swiginac.basic___ne__(self, *args)
def __gt__(self, *args):
"""
__gt__(self, basic b) -> ex
__gt__(self, int b) -> ex
__gt__(self, double b) -> ex
"""
return _swiginac.basic___gt__(self, *args)
def __ge__(self, *args):
"""
__ge__(self, basic b) -> ex
__ge__(self, int b) -> ex
__ge__(self, double b) -> ex
"""
return _swiginac.basic___ge__(self, *args)
def set_print_context(self, context_type):
if context_type == "python":
self.str = self.printpython
elif context_type == "tex":
self.str = self.printlatex
elif context_type == "c":
self.str = self.printc
def __str__(self):
if not self.__dict__.has_key("str"):
self.str = self.printpython
return self.str()
def __copy__(self):
return self.copy()
def subs(self, *args):
"""
subs(self, exmap m, unsigned int options = 0) -> ex
subs(self, exmap m) -> ex
subs(self, lst ls, lst lr) -> ex
subs(self, ex e, unsigned int options = 0) -> ex
subs(self, ex e) -> ex
"""
return _swiginac.basic_subs(self, *args)
def normal(self, *args):
"""
normal(self, exmap repl, exmap rev_lookup, int level = 0) -> ex
normal(self, exmap repl, exmap rev_lookup) -> ex
normal(self, int level = 0) -> ex
normal(self) -> ex
"""
return _swiginac.basic_normal(self, *args)
def denom(self):
"""denom(self) -> ex"""
return _swiginac.basic_denom(self)
def is_zero(self):
"""is_zero(self) -> bool"""
return _swiginac.basic_is_zero(self)
def content(self, *args):
"""content(self, ex x) -> ex"""
return _swiginac.basic_content(self, *args)
def primpart(self, *args):
"""primpart(self, ex x) -> ex"""
return _swiginac.basic_primpart(self, *args)
def unit(self, *args):
"""unit(self, ex x) -> ex"""
return _swiginac.basic_unit(self, *args)
def simplify_indexed(self, *args):
"""
simplify_indexed(self, unsigned int options = 0) -> ex
simplify_indexed(self) -> ex
simplify_indexed(self, scalar_products sp, unsigned int options = 0) -> ex
simplify_indexed(self, scalar_products sp) -> ex
"""
return _swiginac.basic_simplify_indexed(self, *args)
def copy(self):
"""copy(self) -> ex"""
return _swiginac.basic_copy(self)
def toex(self):
"""toex(self) -> ex"""
return _swiginac.basic_toex(self)
basic_swigregister = _swiginac.basic_swigregister
basic_swigregister(basic)
class symbol(basic):
"""Proxy of C++ GiNaC::symbol class"""
__swig_setmethods__ = {}
for _s in [basic]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, symbol, name, value)
__swig_getmethods__ = {}
for _s in [basic]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, symbol, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(self) -> symbol
__init__(self, string initname) -> symbol
__init__(self, string initname, string texname) -> symbol
"""
this = _swiginac.new_symbol(*args)
try: self.this.append(this)
except: self.this = this
def conjugate(self):
"""conjugate(self) -> ex"""
return _swiginac.symbol_conjugate(self)
def real_part(self):
"""real_part(self) -> ex"""
return _swiginac.symbol_real_part(self)
def imag_part(self):
"""imag_part(self) -> ex"""
return _swiginac.symbol_imag_part(self)
def __repr__(self):
return self.__str__()
__swig_destroy__ = _swiginac.delete_symbol
__del__ = lambda self : None;
symbol_swigregister = _swiginac.symbol_swigregister
symbol_swigregister(symbol)
class realsymbol(symbol):
"""Proxy of C++ GiNaC::realsymbol class"""
__swig_setmethods__ = {}
for _s in [symbol]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, realsymbol, name, value)
__swig_getmethods__ = {}
for _s in [symbol]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, realsymbol, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(self) -> realsymbol
__init__(self, string initname) -> realsymbol
__init__(self, string initname, string texname) -> realsymbol
"""
this = _swiginac.new_realsymbol(*args)
try: self.this.append(this)
except: self.this = this
def conjugate(self):
"""conjugate(self) -> ex"""
return _swiginac.realsymbol_conjugate(self)
def real_part(self):
"""real_part(self) -> ex"""
return _swiginac.realsymbol_real_part(self)
def imag_part(self):
"""imag_part(self) -> ex"""
return _swiginac.realsymbol_imag_part(self)
__swig_destroy__ = _swiginac.delete_realsymbol
__del__ = lambda self : None;
realsymbol_swigregister = _swiginac.realsymbol_swigregister
realsymbol_swigregister(realsymbol)
class numeric(basic):
"""Proxy of C++ GiNaC::numeric class"""
__swig_setmethods__ = {}
for _s in [basic]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, numeric, name, value)
__swig_getmethods__ = {}
for _s in [basic]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, numeric, name)
__repr__ = _swig_repr
def add(self, *args):
"""add(self, numeric other) -> numeric"""
return _swiginac.numeric_add(self, *args)
def sub(self, *args):
"""sub(self, numeric other) -> numeric"""
return _swiginac.numeric_sub(self, *args)
def mul(self, *args):
"""mul(self, numeric other) -> numeric"""
return _swiginac.numeric_mul(self, *args)
def div(self, *args):
"""div(self, numeric other) -> numeric"""
return _swiginac.numeric_div(self, *args)
def power(self, *args):
"""power(self, numeric other) -> numeric"""
return _swiginac.numeric_power(self, *args)
def add_dyn(self, *args):
"""add_dyn(self, numeric other) -> numeric"""
return _swiginac.numeric_add_dyn(self, *args)
def sub_dyn(self, *args):
"""sub_dyn(self, numeric other) -> numeric"""
return _swiginac.numeric_sub_dyn(self, *args)
def mul_dyn(self, *args):
"""mul_dyn(self, numeric other) -> numeric"""
return _swiginac.numeric_mul_dyn(self, *args)
def div_dyn(self, *args):
"""div_dyn(self, numeric other) -> numeric"""
return _swiginac.numeric_div_dyn(self, *args)
def power_dyn(self, *args):
"""power_dyn(self, numeric other) -> numeric"""
return _swiginac.numeric_power_dyn(self, *args)
def inverse(self):
"""inverse(self) -> numeric"""
return _swiginac.numeric_inverse(self)
def csgn(self):
"""csgn(self) -> int"""
return _swiginac.numeric_csgn(self)
def compare(self, *args):
"""compare(self, numeric other) -> int"""
return _swiginac.numeric_compare(self, *args)
def is_equal(self, *args):
"""is_equal(self, numeric other) -> bool"""
return _swiginac.numeric_is_equal(self, *args)
def is_zero(self):
"""is_zero(self) -> bool"""
return _swiginac.numeric_is_zero(self)
def is_positive(self):
"""is_positive(self) -> bool"""
return _swiginac.numeric_is_positive(self)
def is_negative(self):
"""is_negative(self) -> bool"""
return _swiginac.numeric_is_negative(self)
def is_integer(self):
"""is_integer(self) -> bool"""
return _swiginac.numeric_is_integer(self)
def is_pos_integer(self):
"""is_pos_integer(self) -> bool"""
return _swiginac.numeric_is_pos_integer(self)
def is_nonneg_integer(self):
"""is_nonneg_integer(self) -> bool"""
return _swiginac.numeric_is_nonneg_integer(self)
def is_even(self):
"""is_even(self) -> bool"""
return _swiginac.numeric_is_even(self)
def is_odd(self):
"""is_odd(self) -> bool"""
return _swiginac.numeric_is_odd(self)
def is_prime(self):
"""is_prime(self) -> bool"""
return _swiginac.numeric_is_prime(self)
def is_rational(self):
"""is_rational(self) -> bool"""
return _swiginac.numeric_is_rational(self)
def is_real(self):
"""is_real(self) -> bool"""
return _swiginac.numeric_is_real(self)
def is_cinteger(self):
"""is_cinteger(self) -> bool"""
return _swiginac.numeric_is_cinteger(self)
def is_crational(self):
"""is_crational(self) -> bool"""
return _swiginac.numeric_is_crational(self)
def to_int(self):
"""to_int(self) -> int"""
return _swiginac.numeric_to_int(self)
def to_long(self):
"""to_long(self) -> long"""
return _swiginac.numeric_to_long(self)
def to_double(self):
"""to_double(self) -> double"""
return _swiginac.numeric_to_double(self)
def to_cl_N(self):
"""to_cl_N(self) -> cln::cl_N"""
return _swiginac.numeric_to_cl_N(self)
def real(self):
"""real(self) -> numeric"""
return _swiginac.numeric_real(self)
def imag(self):
"""imag(self) -> numeric"""
return _swiginac.numeric_imag(self)
def numer(self):
"""numer(self) -> numeric"""
return _swiginac.numeric_numer(self)
def denom(self):
"""denom(self) -> numeric"""
return _swiginac.numeric_denom(self)
def int_length(self):
"""int_length(self) -> int"""
return _swiginac.numeric_int_length(self)
def __init__(self, *args):
"""
__init__(self, int i) -> numeric
__init__(self, unsigned int i) -> numeric
__init__(self, long i) -> numeric
__init__(self, unsigned long i) -> numeric
__init__(self, long numer, long denom) -> numeric
__init__(self, double d) -> numeric
__init__(self, char arg0) -> numeric
__init__(self, cln::cl_N z) -> numeric
"""
this = _swiginac.new_numeric(*args)
try: self.this.append(this)
except: self.this = this
def __float__(self):
"""__float__(self) -> double"""
return _swiginac.numeric___float__(self)
def __int__(self):
"""__int__(self) -> int"""
return _swiginac.numeric___int__(self)
def __repr__(self):
return self.__str__()
__swig_destroy__ = _swiginac.delete_numeric
__del__ = lambda self : None;
numeric_swigregister = _swiginac.numeric_swigregister
numeric_swigregister(numeric)
def PiEvalf():
"""PiEvalf() -> ex"""
return _swiginac.PiEvalf()
def EulerEvalf():
"""EulerEvalf() -> ex"""
return _swiginac.EulerEvalf()
def CatalanEvalf():
"""CatalanEvalf() -> ex"""
return _swiginac.CatalanEvalf()
class relational(basic):
"""Proxy of C++ GiNaC::relational class"""
__swig_setmethods__ = {}
for _s in [basic]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, relational, name, value)
__swig_getmethods__ = {}
for _s in [basic]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, relational, name)
__repr__ = _swig_repr
equal = _swiginac.relational_equal
not_equal = _swiginac.relational_not_equal
less = _swiginac.relational_less
less_or_equal = _swiginac.relational_less_or_equal
greater = _swiginac.relational_greater
greater_or_equal = _swiginac.relational_greater_or_equal
def __init__(self, *args):
"""
__init__(self, ex lhs, ex rhs, operators oper = equal) -> relational
__init__(self, ex lhs, ex rhs) -> relational
"""
this = _swiginac.new_relational(*args)
try: self.this.append(this)
except: self.this = this
def lhs(self):
"""lhs(self) -> ex"""
return _swiginac.relational_lhs(self)
def rhs(self):
"""rhs(self) -> ex"""
return _swiginac.relational_rhs(self)
def __repr__(self):
return self.__str__()
__swig_destroy__ = _swiginac.delete_relational
__del__ = lambda self : None;
relational_swigregister = _swiginac.relational_swigregister
relational_swigregister(relational)
def decomp_rational(*args):
"""decomp_rational(ex a, ex x) -> ex"""
return _swiginac.decomp_rational(*args)
def sqrfree_parfrac(*args):
"""sqrfree_parfrac(ex a, symbol x) -> ex"""
return _swiginac.sqrfree_parfrac(*args)
def collect_common_factors(*args):
"""collect_common_factors(ex e) -> ex"""
return _swiginac.collect_common_factors(*args)
def resultant(*args):
"""resultant(ex e1, ex e2, ex s) -> ex"""
return _swiginac.resultant(*args)
class constant(basic):
"""Proxy of C++ GiNaC::constant class"""
__swig_setmethods__ = {}
for _s in [basic]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, constant, name, value)
__swig_getmethods__ = {}
for _s in [basic]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, constant, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(self) -> constant
__init__(self, string initname, evalffunctype efun = 0, string texname = std::string()) -> constant
__init__(self, string initname, evalffunctype efun = 0) -> constant
__init__(self, string initname) -> constant
__init__(self, string initname, numeric initnumber, string texname = std::string()) -> constant
__init__(self, string initname, numeric initnumber) -> constant
"""
this = _swiginac.new_constant(*args)
try: self.this.append(this)
except: self.this = this
def __repr__(self):
return self.__str__()
__swig_destroy__ = _swiginac.delete_constant
__del__ = lambda self : None;
constant_swigregister = _swiginac.constant_swigregister
constant_swigregister(constant)
def quo(*args):
"""
quo(ex a, ex b, ex x, bool check_args = True) -> ex
quo(ex a, ex b, ex x) -> ex
"""
return _swiginac.quo(*args)
def rem(*args):
"""
rem(ex a, ex b, ex x, bool check_args = True) -> ex
rem(ex a, ex b, ex x) -> ex
"""
return _swiginac.rem(*args)
def prem(*args):
"""
prem(ex a, ex b, ex x, bool check_args = True) -> ex
prem(ex a, ex b, ex x) -> ex
"""
return _swiginac.prem(*args)
def sprem(*args):
"""
sprem(ex a, ex b, ex x, bool check_args = True) -> ex
sprem(ex a, ex b, ex x) -> ex
"""
return _swiginac.sprem(*args)
def divide(*args):
"""
divide(ex a, ex b, ex q, bool check_args = True) -> bool
divide(ex a, ex b, ex q) -> bool
"""
return _swiginac.divide(*args)
def gcd(*args):
"""
gcd(ex a, ex b, ex ca = None, ex cb = None, bool check_args = True) -> ex
gcd(ex a, ex b, ex ca = None, ex cb = None) -> ex
gcd(ex a, ex b, ex ca = None) -> ex
gcd(ex a, ex b) -> ex
"""
return _swiginac.gcd(*args)
def lcm(*args):
"""
lcm(ex a, ex b, bool check_args = True) -> ex
lcm(ex a, ex b) -> ex
"""
return _swiginac.lcm(*args)
def sqrfree(*args):
"""
sqrfree(ex a, lst l = GiNaC::lst()) -> ex
sqrfree(ex a) -> ex
"""
return _swiginac.sqrfree(*args)
Pi=cvar.Pi
I=cvar.I
class integral(basic):
"""Proxy of C++ GiNaC::integral class"""
__swig_setmethods__ = {}
for _s in [basic]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, integral, name, value)
__swig_getmethods__ = {}
for _s in [basic]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, integral, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""__init__(self, ex x_, ex a_, ex b_, ex f_) -> integral"""
this = _swiginac.new_integral(*args)
try: self.this.append(this)
except: self.this = this
def get_free_indices(self):
"""get_free_indices(self) -> exvector"""
return _swiginac.integral_get_free_indices(self)
def return_type(self):
"""return_type(self) -> unsigned int"""
return _swiginac.integral_return_type(self)
def return_type_tinfo(self):
"""return_type_tinfo(self) -> return_type_t"""
return _swiginac.integral_return_type_tinfo(self)
def eval_integ(self):
"""eval_integ(self) -> ex"""
return _swiginac.integral_eval_integ(self)
__swig_setmethods__["max_integration_level"] = _swiginac.integral_max_integration_level_set
__swig_getmethods__["max_integration_level"] = _swiginac.integral_max_integration_level_get
if _newclass:max_integration_level = _swig_property(_swiginac.integral_max_integration_level_get, _swiginac.integral_max_integration_level_set)
__swig_setmethods__["relative_integration_error"] = _swiginac.integral_relative_integration_error_set
__swig_getmethods__["relative_integration_error"] = _swiginac.integral_relative_integration_error_get
if _newclass:relative_integration_error = _swig_property(_swiginac.integral_relative_integration_error_get, _swiginac.integral_relative_integration_error_set)
def __repr__(self):
return self.__str__()
__swig_destroy__ = _swiginac.delete_integral
__del__ = lambda self : None;
integral_swigregister = _swiginac.integral_swigregister
integral_swigregister(integral)
Pi = cvar.Pi
Catalan = cvar.Catalan
Euler = cvar.Euler
I = cvar.I
class matrix(basic):
"""Proxy of C++ GiNaC::matrix class"""
__swig_setmethods__ = {}
for _s in [basic]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, matrix, name, value)
__swig_getmethods__ = {}
for _s in [basic]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, matrix, name)
__repr__ = _swig_repr
def eval_indexed(self, *args):
"""eval_indexed(self, basic i) -> ex"""
return _swiginac.matrix_eval_indexed(self, *args)
def add_indexed(self, *args):
"""add_indexed(self, ex self, ex other) -> ex"""
return _swiginac.matrix_add_indexed(self, *args)
def scalar_mul_indexed(self, *args):
"""scalar_mul_indexed(self, ex self, numeric other) -> ex"""
return _swiginac.matrix_scalar_mul_indexed(self, *args)
def contract_with(self, *args):
"""
contract_with(self, exvector::iterator self, exvector::iterator other,
exvector v) -> bool
"""
return _swiginac.matrix_contract_with(self, *args)
def rows(self):
"""rows(self) -> unsigned int"""
return _swiginac.matrix_rows(self)
def cols(self):
"""cols(self) -> unsigned int"""
return _swiginac.matrix_cols(self)
def add(self, *args):
"""add(self, matrix other) -> matrix"""
return _swiginac.matrix_add(self, *args)
def sub(self, *args):
"""sub(self, matrix other) -> matrix"""
return _swiginac.matrix_sub(self, *args)
def mul(self, *args):
"""
mul(self, matrix other) -> matrix
mul(self, numeric other) -> matrix
"""
return _swiginac.matrix_mul(self, *args)
def mul_scalar(self, *args):
"""mul_scalar(self, ex other) -> matrix"""
return _swiginac.matrix_mul_scalar(self, *args)
def pow(self, *args):
"""pow(self, ex expn) -> matrix"""
return _swiginac.matrix_pow(self, *args)
def __call__(self, *args):
"""
__call__(self, unsigned int ro, unsigned int co) -> ex
__call__(self, unsigned int ro, unsigned int co) -> ex
"""
return _swiginac.matrix___call__(self, *args)
def set(self, *args):
"""set(self, unsigned int ro, unsigned int co, ex value) -> matrix"""
return _swiginac.matrix_set(self, *args)
def transpose(self):
"""transpose(self) -> matrix"""
return _swiginac.matrix_transpose(self)
def determinant(self, *args):
"""
determinant(self, unsigned int algo = automatic) -> ex
determinant(self) -> ex
"""
return _swiginac.matrix_determinant(self, *args)
def trace(self):
"""trace(self) -> ex"""
return _swiginac.matrix_trace(self)
def charpoly(self, *args):
"""charpoly(self, ex _lambda) -> ex"""
return _swiginac.matrix_charpoly(self, *args)
def inverse(self):
"""inverse(self) -> matrix"""
return _swiginac.matrix_inverse(self)
def solve(self, *args):
"""
solve(self, matrix vars, matrix rhs, unsigned int algo = solve_algo::automatic) -> matrix
solve(self, matrix vars, matrix rhs) -> matrix
"""
return _swiginac.matrix_solve(self, *args)
def rank(self):
"""rank(self) -> unsigned int"""
return _swiginac.matrix_rank(self)
def __init__(self, *args):
"""
__init__(self, unsigned int r, unsigned int c) -> matrix
__init__(self, unsigned int r, unsigned int c, lst l) -> matrix
__init__(self, lst l) -> matrix
"""
this = _swiginac.new_matrix(*args)
try: self.this.append(this)
except: self.this = this
def __len__(self):
"""__len__(self) -> int"""
return _swiginac.matrix___len__(self)
def __setitem__(self, *args):
"""__setitem__(self, int idx0, ex e)"""
return _swiginac.matrix___setitem__(self, *args)
def __getitem__(self, *args):
"""__getitem__(self, int idx0) -> ex"""
return _swiginac.matrix___getitem__(self, *args)
def __repr__(self):
return self.__str__()
__swig_destroy__ = _swiginac.delete_matrix
__del__ = lambda self : None;
matrix_swigregister = _swiginac.matrix_swigregister
matrix_swigregister(matrix)
def adaptivesimpson(*args):
"""
adaptivesimpson(ex x, ex a, ex b, ex f, ex error = relative_integration_error) -> ex
adaptivesimpson(ex x, ex a, ex b, ex f) -> ex
"""
return _swiginac.adaptivesimpson(*args)
def matrix2(x):
return lst_to_matrix(x)
def nops(*args):
"""nops(matrix m) -> size_t"""
return _swiginac.nops(*args)
def rows(*args):
"""rows(matrix m) -> unsigned int"""
return _swiginac.rows(*args)
def cols(*args):
"""cols(matrix m) -> unsigned int"""
return _swiginac.cols(*args)
def transpose(*args):
"""transpose(matrix m) -> matrix"""
return _swiginac.transpose(*args)
def trace(*args):
"""trace(matrix m) -> ex"""
return _swiginac.trace(*args)
def charpoly(*args):
"""charpoly(matrix m, ex _lambda) -> ex"""
return _swiginac.charpoly(*args)
def inverse(*args):
"""inverse(matrix m) -> matrix"""
return _swiginac.inverse(*args)
def rank(*args):
"""rank(matrix m) -> unsigned int"""
return _swiginac.rank(*args)
def lst_to_matrix(*args):
"""lst_to_matrix(lst l) -> ex"""
return _swiginac.lst_to_matrix(*args)
def diag_matrix(*args):
"""diag_matrix(lst l) -> ex"""
return _swiginac.diag_matrix(*args)
EXPAIRSEQ_USE_HASHTAB = _swiginac.EXPAIRSEQ_USE_HASHTAB
def conjugateepvector(*args):
"""conjugateepvector(epvector arg0) -> epvector"""
return _swiginac.conjugateepvector(*args)
class expairseq(basic):
"""Proxy of C++ GiNaC::expairseq class"""
__swig_setmethods__ = {}
for _s in [basic]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, expairseq, name, value)
__swig_getmethods__ = {}
for _s in [basic]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, expairseq, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(self, ex lh, ex rh) -> expairseq
__init__(self, exvector v) -> expairseq
"""
this = _swiginac.new_expairseq(*args)
try: self.this.append(this)
except: self.this = this
def precedence(self):
"""precedence(self) -> unsigned int"""
return _swiginac.expairseq_precedence(self)
__swig_destroy__ = _swiginac.delete_expairseq
__del__ = lambda self : None;
expairseq_swigregister = _swiginac.expairseq_swigregister
expairseq_swigregister(expairseq)
def eval(*args):
"""
eval(matrix m, int level = 0) -> ex
eval(matrix m) -> ex
"""
return _swiginac.eval(*args)
def evalf(*args):
"""
evalf(matrix m, int level = 0) -> ex
evalf(matrix m) -> ex
"""
return _swiginac.evalf(*args)
def determinant(*args):
"""
determinant(matrix m, unsigned int options = automatic) -> ex
determinant(matrix m) -> ex
"""
return _swiginac.determinant(*args)
def unit_matrix(*args):
"""
unit_matrix(unsigned int r, unsigned int c) -> ex
unit_matrix(unsigned int x) -> ex
"""
return _swiginac.unit_matrix(*args)
def symbolic_matrix(*args):
"""
symbolic_matrix(unsigned int r, unsigned int c, string base_name, string tex_base_name) -> ex
symbolic_matrix(unsigned int r, unsigned int c, string base_name) -> ex
"""
return _swiginac.symbolic_matrix(*args)
class mul(expairseq):
"""Proxy of C++ GiNaC::mul class"""
__swig_setmethods__ = {}
for _s in [expairseq]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, mul, name, value)
__swig_getmethods__ = {}
for _s in [expairseq]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, mul, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(self, ex lh, ex rh) -> mul
__init__(self, exvector v) -> mul
__init__(self, epvector v) -> mul
__init__(self, ex lh, ex mh, ex rh) -> mul
"""
this = _swiginac.new_mul(*args)
try: self.this.append(this)
except: self.this = this
def algebraic_subs_mul(self, *args):
"""algebraic_subs_mul(self, exmap m, unsigned int options) -> ex"""
return _swiginac.mul_algebraic_subs_mul(self, *args)
def __repr__(self):
return self.__str__()
__swig_destroy__ = _swiginac.delete_mul
__del__ = lambda self : None;
mul_swigregister = _swiginac.mul_swigregister
mul_swigregister(mul)
class ncmul(basic):
"""Proxy of C++ GiNaC::ncmul class"""
__swig_setmethods__ = {}
for _s in [basic]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ncmul, name, value)
__swig_getmethods__ = {}
for _s in [basic]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, ncmul, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(self, ex lh, ex rh) -> ncmul
__init__(self, ex f1, ex f2, ex f3) -> ncmul
__init__(self, ex f1, ex f2, ex f3, ex f4) -> ncmul
__init__(self, ex f1, ex f2, ex f3, ex f4, ex f5) -> ncmul
__init__(self, ex f1, ex f2, ex f3, ex f4, ex f5, ex f6) -> ncmul
"""
this = _swiginac.new_ncmul(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_ncmul
__del__ = lambda self : None;
ncmul_swigregister = _swiginac.ncmul_swigregister
ncmul_swigregister(ncmul)
class power(basic):
"""Proxy of C++ GiNaC::power class"""
__swig_setmethods__ = {}
for _s in [basic]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, power, name, value)
__swig_getmethods__ = {}
for _s in [basic]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, power, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""__init__(self, ex lh, ex rh) -> power"""
this = _swiginac.new_power(*args)
try: self.this.append(this)
except: self.this = this
def __repr__(self):
return self.__str__()
__swig_destroy__ = _swiginac.delete_power
__del__ = lambda self : None;
power_swigregister = _swiginac.power_swigregister
power_swigregister(power)
class add(expairseq):
"""Proxy of C++ GiNaC::add class"""
__swig_setmethods__ = {}
for _s in [expairseq]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, add, name, value)
__swig_getmethods__ = {}
for _s in [expairseq]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, add, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(self, ex lh, ex rh) -> add
__init__(self, exvector v) -> add
__init__(self, epvector v) -> add
"""
this = _swiginac.new_add(*args)
try: self.this.append(this)
except: self.this = this
def __repr__(self):
return self.__str__()
__swig_destroy__ = _swiginac.delete_add
__del__ = lambda self : None;
add_swigregister = _swiginac.add_swigregister
add_swigregister(add)
class function_options(_object):
"""Proxy of C++ GiNaC::function_options class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, function_options, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, function_options, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(self) -> function_options
__init__(self, string n, string tn = std::string()) -> function_options
__init__(self, string n) -> function_options
__init__(self, string n, unsigned int np) -> function_options
"""
this = _swiginac.new_function_options(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_function_options
__del__ = lambda self : None;
def initialize(self):
"""initialize(self)"""
return _swiginac.function_options_initialize(self)
def dummy(self):
"""dummy(self) -> function_options"""
return _swiginac.function_options_dummy(self)
def set_name(self, *args):
"""
set_name(self, string n, string tn = std::string()) -> function_options
set_name(self, string n) -> function_options
"""
return _swiginac.function_options_set_name(self, *args)
def latex_name(self, *args):
"""latex_name(self, string tn) -> function_options"""
return _swiginac.function_options_latex_name(self, *args)
def eval_func(self, *args):
"""
eval_func(self, eval_funcp_1 e) -> function_options
eval_func(self, eval_funcp_2 e) -> function_options
eval_func(self, eval_funcp_3 e) -> function_options
eval_func(self, eval_funcp_4 e) -> function_options
eval_func(self, eval_funcp_5 e) -> function_options
eval_func(self, eval_funcp_exvector e) -> function_options
"""
return _swiginac.function_options_eval_func(self, *args)
def evalf_func(self, *args):
"""
evalf_func(self, evalf_funcp_1 ef) -> function_options
evalf_func(self, evalf_funcp_2 ef) -> function_options
evalf_func(self, evalf_funcp_3 ef) -> function_options
evalf_func(self, evalf_funcp_4 ef) -> function_options
evalf_func(self, evalf_funcp_5 ef) -> function_options
evalf_func(self, evalf_funcp_exvector ef) -> function_options
"""
return _swiginac.function_options_evalf_func(self, *args)
def conjugate_func(self, *args):
"""
conjugate_func(self, conjugate_funcp_1 d) -> function_options
conjugate_func(self, conjugate_funcp_2 d) -> function_options
conjugate_func(self, conjugate_funcp_3 d) -> function_options
conjugate_func(self, conjugate_funcp_4 d) -> function_options
conjugate_func(self, conjugate_funcp_5 d) -> function_options
conjugate_func(self, conjugate_funcp_exvector d) -> function_options
"""
return _swiginac.function_options_conjugate_func(self, *args)
def derivative_func(self, *args):
"""
derivative_func(self, derivative_funcp_1 d) -> function_options
derivative_func(self, derivative_funcp_2 d) -> function_options
derivative_func(self, derivative_funcp_3 d) -> function_options
derivative_func(self, derivative_funcp_4 d) -> function_options
derivative_func(self, derivative_funcp_5 d) -> function_options
derivative_func(self, derivative_funcp_exvector d) -> function_options
"""
return _swiginac.function_options_derivative_func(self, *args)
def series_func(self, *args):
"""
series_func(self, series_funcp_1 s) -> function_options
series_func(self, series_funcp_2 s) -> function_options
series_func(self, series_funcp_3 s) -> function_options
series_func(self, series_funcp_4 s) -> function_options
series_func(self, series_funcp_5 s) -> function_options
series_func(self, series_funcp_exvector s) -> function_options
"""
return _swiginac.function_options_series_func(self, *args)
def set_return_type(self, *args):
"""
set_return_type(self, unsigned int rt, return_type_t rtt = None) -> function_options
set_return_type(self, unsigned int rt) -> function_options
"""
return _swiginac.function_options_set_return_type(self, *args)
def do_not_evalf_params(self):
"""do_not_evalf_params(self) -> function_options"""
return _swiginac.function_options_do_not_evalf_params(self)
def remember(self, *args):
"""
remember(self, unsigned int size, unsigned int assoc_size = 0, unsigned int strategy = remember_strategies::delete_never) -> function_options
remember(self, unsigned int size, unsigned int assoc_size = 0) -> function_options
remember(self, unsigned int size) -> function_options
"""
return _swiginac.function_options_remember(self, *args)
def overloaded(self, *args):
"""overloaded(self, unsigned int o) -> function_options"""
return _swiginac.function_options_overloaded(self, *args)
def set_symmetry(self, *args):
"""set_symmetry(self, symmetry s) -> function_options"""
return _swiginac.function_options_set_symmetry(self, *args)
def get_name(self):
"""get_name(self) -> string"""
return _swiginac.function_options_get_name(self)
def get_nparams(self):
"""get_nparams(self) -> unsigned int"""
return _swiginac.function_options_get_nparams(self)
function_options_swigregister = _swiginac.function_options_swigregister
function_options_swigregister(function_options)
class do_taylor(_object):
"""Proxy of C++ GiNaC::do_taylor class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, do_taylor, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, do_taylor, name)
__repr__ = _swig_repr
def __init__(self):
"""__init__(self) -> do_taylor"""
this = _swiginac.new_do_taylor()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_do_taylor
__del__ = lambda self : None;
do_taylor_swigregister = _swiginac.do_taylor_swigregister
do_taylor_swigregister(do_taylor)
class function(basic):
"""Proxy of C++ GiNaC::function class"""
__swig_setmethods__ = {}
for _s in [basic]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, function, name, value)
__swig_getmethods__ = {}
for _s in [basic]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, function, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(self, unsigned int ser) -> function
__init__(self, unsigned int ser, ex param1) -> function
__init__(self, unsigned int ser, ex param1, ex param2) -> function
__init__(self, unsigned int ser, ex param1, ex param2, ex param3) -> function
__init__(self, unsigned int ser, ex param1, ex param2, ex param3,
ex param4) -> function
__init__(self, unsigned int ser, ex param1, ex param2, ex param3,
ex param4, ex param5) -> function
"""
this = _swiginac.new_function(*args)
try: self.this.append(this)
except: self.this = this
def precedence(self):
"""precedence(self) -> unsigned int"""
return _swiginac.function_precedence(self)
def calchash(self):
"""calchash(self) -> unsigned int"""
return _swiginac.function_calchash(self)
def thiscontainer(self, *args):
"""thiscontainer(self, exvector v) -> ex"""
return _swiginac.function_thiscontainer(self, *args)
def register_new(*args):
"""register_new(function_options opt) -> unsigned int"""
return _swiginac.function_register_new(*args)
if _newclass:register_new = staticmethod(register_new)
__swig_getmethods__["register_new"] = lambda x: register_new
__swig_setmethods__["current_serial"] = _swiginac.function_current_serial_set
__swig_getmethods__["current_serial"] = _swiginac.function_current_serial_get
if _newclass:current_serial = _swig_property(_swiginac.function_current_serial_get, _swiginac.function_current_serial_set)
def find_function(*args):
"""find_function(string name, unsigned int nparams) -> unsigned int"""
return _swiginac.function_find_function(*args)
if _newclass:find_function = staticmethod(find_function)
__swig_getmethods__["find_function"] = lambda x: find_function
def get_serial(self):
"""get_serial(self) -> unsigned int"""
return _swiginac.function_get_serial(self)
def get_name(self):
"""get_name(self) -> string"""
return _swiginac.function_get_name(self)
def __repr__(self):
return self.__str__()
__swig_destroy__ = _swiginac.delete_function
__del__ = lambda self : None;
function_swigregister = _swiginac.function_swigregister
function_swigregister(function)
def function_register_new(*args):
"""function_register_new(function_options opt) -> unsigned int"""
return _swiginac.function_register_new(*args)
def function_find_function(*args):
"""function_find_function(string name, unsigned int nparams) -> unsigned int"""
return _swiginac.function_find_function(*args)
def conjugate(*args):
"""conjugate(ex thisex) -> ex"""
return _swiginac.conjugate(*args)
def has(*args):
"""has(ex thisex, ex pattern) -> bool"""
return _swiginac.has(*args)
def find(*args):
"""find(ex thisex, ex pattern, exset found) -> bool"""
return _swiginac.find(*args)
def degree(*args):
"""degree(ex thisex, ex s) -> int"""
return _swiginac.degree(*args)
def ldegree(*args):
"""ldegree(ex thisex, ex s) -> int"""
return _swiginac.ldegree(*args)
def numer(*args):
"""numer(ex thisex) -> ex"""
return _swiginac.numer(*args)
def denom(*args):
"""denom(ex thisex) -> ex"""
return _swiginac.denom(*args)
def numer_denom(*args):
"""numer_denom(ex thisex) -> ex"""
return _swiginac.numer_denom(*args)
def to_rational(*args):
"""to_rational(ex thisex, lst repl_lst) -> ex"""
return _swiginac.to_rational(*args)
def to_polynomial(*args):
"""to_polynomial(ex thisex, lst repl_lst) -> ex"""
return _swiginac.to_polynomial(*args)
def evalm(*args):
"""evalm(ex thisex) -> ex"""
return _swiginac.evalm(*args)
def eval_integ(*args):
"""eval_integ(ex thisex) -> ex"""
return _swiginac.eval_integ(*args)
def match(*args):
"""match(ex thisex, ex pattern, exmap repl_lst) -> bool"""
return _swiginac.match(*args)
def op(*args):
"""op(ex thisex, size_t i) -> ex"""
return _swiginac.op(*args)
def lhs(*args):
"""lhs(ex thisex) -> ex"""
return _swiginac.lhs(*args)
def rhs(*args):
"""rhs(ex thisex) -> ex"""
return _swiginac.rhs(*args)
def swap(*args):
"""swap(ex e1, ex e2)"""
return _swiginac.swap(*args)
def sqrt(*args):
"""sqrt(ex a) -> ex"""
return _swiginac.sqrt(*args)
def expand(*args):
"""expand(ex thisex) -> ex"""
return _swiginac.expand(*args)
class conjugate_function_SERIAL(_object):
"""Proxy of C++ GiNaC::conjugate_function_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, conjugate_function_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, conjugate_function_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.conjugate_function_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.conjugate_function_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.conjugate_function_SERIAL_serial_get, _swiginac.conjugate_function_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> conjugate_function_SERIAL"""
this = _swiginac.new_conjugate_function_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_conjugate_function_SERIAL
__del__ = lambda self : None;
conjugate_function_SERIAL_swigregister = _swiginac.conjugate_function_SERIAL_swigregister
conjugate_function_SERIAL_swigregister(conjugate_function_SERIAL)
def coeff(*args):
"""
coeff(ex thisex, ex s, int n = 1) -> ex
coeff(ex thisex, ex s) -> ex
"""
return _swiginac.coeff(*args)
def normal(*args):
"""
normal(ex thisex, int level = 0) -> ex
normal(ex thisex) -> ex
"""
return _swiginac.normal(*args)
def collect(*args):
"""
collect(ex thisex, ex s, bool distributed = False) -> ex
collect(ex thisex, ex s) -> ex
"""
return _swiginac.collect(*args)
def diff(*args):
"""
diff(ex thisex, symbol s, unsigned int nth = 1) -> ex
diff(ex thisex, symbol s) -> ex
"""
return _swiginac.diff(*args)
def series(*args):
"""
series(ex thisex, ex r, int order, unsigned int options = 0) -> ex
series(ex thisex, ex r, int order) -> ex
"""
return _swiginac.series(*args)
def simplify_indexed(*args):
"""
simplify_indexed(ex thisex, unsigned int options = 0) -> ex
simplify_indexed(ex thisex) -> ex
simplify_indexed(ex thisex, scalar_products sp, unsigned int options = 0) -> ex
simplify_indexed(ex thisex, scalar_products sp) -> ex
"""
return _swiginac.simplify_indexed(*args)
def subs(*args):
"""
subs(ex thisex, lst ls, lst lr, unsigned int options = 0) -> ex
subs(ex thisex, lst ls, lst lr) -> ex
subs(ex thisex, ex e) -> ex
"""
return _swiginac.subs(*args)
def conjugate_function_basic(*args):
"""conjugate_function_basic(basic p1) -> function"""
return _swiginac.conjugate_function_basic(*args)
def conjugate_function_int(*args):
"""conjugate_function_int(int p1) -> function"""
return _swiginac.conjugate_function_int(*args)
def conjugate_function_double(*args):
"""conjugate_function_double(double p1) -> function"""
return _swiginac.conjugate_function_double(*args)
def conjugate_function(x):
if isinstance(x,basic):
return conjugate_function_basic(x).eval()
elif isinstance(x,int):
return conjugate_function_int(x).eval()
elif isinstance(x,float):
return conjugate_function_double(x).eval()
else:
raise "Unimplented type. Fix in function.i."
class abs_SERIAL(_object):
"""Proxy of C++ GiNaC::abs_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, abs_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, abs_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.abs_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.abs_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.abs_SERIAL_serial_get, _swiginac.abs_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> abs_SERIAL"""
this = _swiginac.new_abs_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_abs_SERIAL
__del__ = lambda self : None;
abs_SERIAL_swigregister = _swiginac.abs_SERIAL_swigregister
abs_SERIAL_swigregister(abs_SERIAL)
conjugate_function_NPARAMS = cvar.conjugate_function_NPARAMS
def abs_basic(*args):
"""abs_basic(basic p1) -> function"""
return _swiginac.abs_basic(*args)
def abs_int(*args):
"""abs_int(int p1) -> function"""
return _swiginac.abs_int(*args)
def abs_double(*args):
"""abs_double(double p1) -> function"""
return _swiginac.abs_double(*args)
def abs(x):
if isinstance(x,basic):
return abs_basic(x).eval()
elif isinstance(x,int):
return abs_int(x).eval()
elif isinstance(x,float):
return abs_double(x).eval()
else:
raise "Unimplented type. Fix in function.i."
class csgn_SERIAL(_object):
"""Proxy of C++ GiNaC::csgn_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, csgn_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, csgn_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.csgn_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.csgn_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.csgn_SERIAL_serial_get, _swiginac.csgn_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> csgn_SERIAL"""
this = _swiginac.new_csgn_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_csgn_SERIAL
__del__ = lambda self : None;
csgn_SERIAL_swigregister = _swiginac.csgn_SERIAL_swigregister
csgn_SERIAL_swigregister(csgn_SERIAL)
abs_NPARAMS = cvar.abs_NPARAMS
def csgn_basic(*args):
"""csgn_basic(basic p1) -> function"""
return _swiginac.csgn_basic(*args)
def csgn_int(*args):
"""csgn_int(int p1) -> function"""
return _swiginac.csgn_int(*args)
def csgn_double(*args):
"""csgn_double(double p1) -> function"""
return _swiginac.csgn_double(*args)
def csgn(x):
if isinstance(x,basic):
return csgn_basic(x).eval()
elif isinstance(x,int):
return csgn_int(x).eval()
elif isinstance(x,float):
return csgn_double(x).eval()
else:
raise "Unimplented type. Fix in function.i."
class eta_SERIAL(_object):
"""Proxy of C++ GiNaC::eta_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, eta_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, eta_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.eta_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.eta_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.eta_SERIAL_serial_get, _swiginac.eta_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> eta_SERIAL"""
this = _swiginac.new_eta_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_eta_SERIAL
__del__ = lambda self : None;
eta_SERIAL_swigregister = _swiginac.eta_SERIAL_swigregister
eta_SERIAL_swigregister(eta_SERIAL)
csgn_NPARAMS = cvar.csgn_NPARAMS
def eta_basic_basic(*args):
"""eta_basic_basic(basic p1, basic p2) -> function"""
return _swiginac.eta_basic_basic(*args)
def eta_basic_int(*args):
"""eta_basic_int(basic p1, int p2) -> function"""
return _swiginac.eta_basic_int(*args)
def eta_basic_double(*args):
"""eta_basic_double(basic p1, double p2) -> function"""
return _swiginac.eta_basic_double(*args)
def eta_int_basic(*args):
"""eta_int_basic(int p1, basic p2) -> function"""
return _swiginac.eta_int_basic(*args)
def eta_int_int(*args):
"""eta_int_int(int p1, int p2) -> function"""
return _swiginac.eta_int_int(*args)
def eta_int_double(*args):
"""eta_int_double(int p1, double p2) -> function"""
return _swiginac.eta_int_double(*args)
def eta_double_basic(*args):
"""eta_double_basic(double p1, basic p2) -> function"""
return _swiginac.eta_double_basic(*args)
def eta_double_int(*args):
"""eta_double_int(double p1, int p2) -> function"""
return _swiginac.eta_double_int(*args)
def eta_double_double(*args):
"""eta_double_double(double p1, double p2) -> function"""
return _swiginac.eta_double_double(*args)
def eta(x,y):
def which(p):
types = [basic,int,float]
for t in types:
if isinstance(p,t):
return t
raise "Unimplemented type. Fix in function.i."
xt = which(x)
yt = which(y)
func_hash = {(basic,basic) : eta_basic_basic,
(basic,int) : eta_basic_int,
(basic,float) : eta_basic_double,
(int,basic) : eta_int_basic,
(int,int) : eta_int_int,
(int,float) : eta_int_double,
(float,basic) : eta_double_basic,
(float,int) : eta_double_int,
(float,float) : eta_double_double}
return func_hash[(xt,yt)](x,y)
class sin_SERIAL(_object):
"""Proxy of C++ GiNaC::sin_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, sin_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, sin_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.sin_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.sin_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.sin_SERIAL_serial_get, _swiginac.sin_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> sin_SERIAL"""
this = _swiginac.new_sin_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_sin_SERIAL
__del__ = lambda self : None;
sin_SERIAL_swigregister = _swiginac.sin_SERIAL_swigregister
sin_SERIAL_swigregister(sin_SERIAL)
eta_NPARAMS = cvar.eta_NPARAMS
def sin_basic(*args):
"""sin_basic(basic p1) -> function"""
return _swiginac.sin_basic(*args)
def sin_int(*args):
"""sin_int(int p1) -> function"""
return _swiginac.sin_int(*args)
def sin_double(*args):
"""sin_double(double p1) -> function"""
return _swiginac.sin_double(*args)
def sin(x):
if isinstance(x,basic):
return sin_basic(x).eval()
elif isinstance(x,int):
return sin_int(x).eval()
elif isinstance(x,float):
return sin_double(x).eval()
else:
raise "Unimplented type. Fix in function.i."
class cos_SERIAL(_object):
"""Proxy of C++ GiNaC::cos_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, cos_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, cos_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.cos_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.cos_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.cos_SERIAL_serial_get, _swiginac.cos_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> cos_SERIAL"""
this = _swiginac.new_cos_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_cos_SERIAL
__del__ = lambda self : None;
cos_SERIAL_swigregister = _swiginac.cos_SERIAL_swigregister
cos_SERIAL_swigregister(cos_SERIAL)
sin_NPARAMS = cvar.sin_NPARAMS
def cos_basic(*args):
"""cos_basic(basic p1) -> function"""
return _swiginac.cos_basic(*args)
def cos_int(*args):
"""cos_int(int p1) -> function"""
return _swiginac.cos_int(*args)
def cos_double(*args):
"""cos_double(double p1) -> function"""
return _swiginac.cos_double(*args)
def cos(x):
if isinstance(x,basic):
return cos_basic(x).eval()
elif isinstance(x,int):
return cos_int(x).eval()
elif isinstance(x,float):
return cos_double(x).eval()
else:
raise "Unimplented type. Fix in function.i."
class tan_SERIAL(_object):
"""Proxy of C++ GiNaC::tan_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, tan_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, tan_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.tan_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.tan_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.tan_SERIAL_serial_get, _swiginac.tan_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> tan_SERIAL"""
this = _swiginac.new_tan_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_tan_SERIAL
__del__ = lambda self : None;
tan_SERIAL_swigregister = _swiginac.tan_SERIAL_swigregister
tan_SERIAL_swigregister(tan_SERIAL)
cos_NPARAMS = cvar.cos_NPARAMS
def tan_basic(*args):
"""tan_basic(basic p1) -> function"""
return _swiginac.tan_basic(*args)
def tan_int(*args):
"""tan_int(int p1) -> function"""
return _swiginac.tan_int(*args)
def tan_double(*args):
"""tan_double(double p1) -> function"""
return _swiginac.tan_double(*args)
def tan(x):
if isinstance(x,basic):
return tan_basic(x).eval()
elif isinstance(x,int):
return tan_int(x).eval()
elif isinstance(x,float):
return tan_double(x).eval()
else:
raise "Unimplented type. Fix in function.i."
class exp_SERIAL(_object):
"""Proxy of C++ GiNaC::exp_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, exp_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, exp_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.exp_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.exp_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.exp_SERIAL_serial_get, _swiginac.exp_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> exp_SERIAL"""
this = _swiginac.new_exp_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_exp_SERIAL
__del__ = lambda self : None;
exp_SERIAL_swigregister = _swiginac.exp_SERIAL_swigregister
exp_SERIAL_swigregister(exp_SERIAL)
tan_NPARAMS = cvar.tan_NPARAMS
def exp_basic(*args):
"""exp_basic(basic p1) -> function"""
return _swiginac.exp_basic(*args)
def exp_int(*args):
"""exp_int(int p1) -> function"""
return _swiginac.exp_int(*args)
def exp_double(*args):
"""exp_double(double p1) -> function"""
return _swiginac.exp_double(*args)
def exp(x):
if isinstance(x,basic):
return exp_basic(x).eval()
elif isinstance(x,int):
return exp_int(x).eval()
elif isinstance(x,float):
return exp_double(x).eval()
else:
raise "Unimplented type. Fix in function.i."
class log_SERIAL(_object):
"""Proxy of C++ GiNaC::log_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, log_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, log_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.log_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.log_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.log_SERIAL_serial_get, _swiginac.log_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> log_SERIAL"""
this = _swiginac.new_log_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_log_SERIAL
__del__ = lambda self : None;
log_SERIAL_swigregister = _swiginac.log_SERIAL_swigregister
log_SERIAL_swigregister(log_SERIAL)
exp_NPARAMS = cvar.exp_NPARAMS
def log_basic(*args):
"""log_basic(basic p1) -> function"""
return _swiginac.log_basic(*args)
def log_int(*args):
"""log_int(int p1) -> function"""
return _swiginac.log_int(*args)
def log_double(*args):
"""log_double(double p1) -> function"""
return _swiginac.log_double(*args)
def log(x):
if isinstance(x,basic):
return log_basic(x).eval()
elif isinstance(x,int):
return log_int(x).eval()
elif isinstance(x,float):
return log_double(x).eval()
else:
raise "Unimplented type. Fix in function.i."
class asin_SERIAL(_object):
"""Proxy of C++ GiNaC::asin_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, asin_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, asin_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.asin_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.asin_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.asin_SERIAL_serial_get, _swiginac.asin_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> asin_SERIAL"""
this = _swiginac.new_asin_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_asin_SERIAL
__del__ = lambda self : None;
asin_SERIAL_swigregister = _swiginac.asin_SERIAL_swigregister
asin_SERIAL_swigregister(asin_SERIAL)
log_NPARAMS = cvar.log_NPARAMS
def asin_basic(*args):
"""asin_basic(basic p1) -> function"""
return _swiginac.asin_basic(*args)
def asin_int(*args):
"""asin_int(int p1) -> function"""
return _swiginac.asin_int(*args)
def asin_double(*args):
"""asin_double(double p1) -> function"""
return _swiginac.asin_double(*args)
def asin(x):
if isinstance(x,basic):
return asin_basic(x).eval()
elif isinstance(x,int):
return asin_int(x).eval()
elif isinstance(x,float):
return asin_double(x).eval()
else:
raise "Unimplented type. Fix in function.i."
class acos_SERIAL(_object):
"""Proxy of C++ GiNaC::acos_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, acos_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, acos_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.acos_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.acos_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.acos_SERIAL_serial_get, _swiginac.acos_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> acos_SERIAL"""
this = _swiginac.new_acos_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_acos_SERIAL
__del__ = lambda self : None;
acos_SERIAL_swigregister = _swiginac.acos_SERIAL_swigregister
acos_SERIAL_swigregister(acos_SERIAL)
asin_NPARAMS = cvar.asin_NPARAMS
def acos_basic(*args):
"""acos_basic(basic p1) -> function"""
return _swiginac.acos_basic(*args)
def acos_int(*args):
"""acos_int(int p1) -> function"""
return _swiginac.acos_int(*args)
def acos_double(*args):
"""acos_double(double p1) -> function"""
return _swiginac.acos_double(*args)
def acos(x):
if isinstance(x,basic):
return acos_basic(x).eval()
elif isinstance(x,int):
return acos_int(x).eval()
elif isinstance(x,float):
return acos_double(x).eval()
else:
raise "Unimplented type. Fix in function.i."
class atan_SERIAL(_object):
"""Proxy of C++ GiNaC::atan_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, atan_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, atan_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.atan_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.atan_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.atan_SERIAL_serial_get, _swiginac.atan_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> atan_SERIAL"""
this = _swiginac.new_atan_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_atan_SERIAL
__del__ = lambda self : None;
atan_SERIAL_swigregister = _swiginac.atan_SERIAL_swigregister
atan_SERIAL_swigregister(atan_SERIAL)
acos_NPARAMS = cvar.acos_NPARAMS
def atan_basic(*args):
"""atan_basic(basic p1) -> function"""
return _swiginac.atan_basic(*args)
def atan_int(*args):
"""atan_int(int p1) -> function"""
return _swiginac.atan_int(*args)
def atan_double(*args):
"""atan_double(double p1) -> function"""
return _swiginac.atan_double(*args)
def atan(x):
if isinstance(x,basic):
return atan_basic(x).eval()
elif isinstance(x,int):
return atan_int(x).eval()
elif isinstance(x,float):
return atan_double(x).eval()
else:
raise "Unimplented type. Fix in function.i."
class atan2_SERIAL(_object):
"""Proxy of C++ GiNaC::atan2_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, atan2_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, atan2_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.atan2_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.atan2_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.atan2_SERIAL_serial_get, _swiginac.atan2_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> atan2_SERIAL"""
this = _swiginac.new_atan2_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_atan2_SERIAL
__del__ = lambda self : None;
atan2_SERIAL_swigregister = _swiginac.atan2_SERIAL_swigregister
atan2_SERIAL_swigregister(atan2_SERIAL)
atan_NPARAMS = cvar.atan_NPARAMS
def atan2_basic_basic(*args):
"""atan2_basic_basic(basic p1, basic p2) -> function"""
return _swiginac.atan2_basic_basic(*args)
def atan2_basic_int(*args):
"""atan2_basic_int(basic p1, int p2) -> function"""
return _swiginac.atan2_basic_int(*args)
def atan2_basic_double(*args):
"""atan2_basic_double(basic p1, double p2) -> function"""
return _swiginac.atan2_basic_double(*args)
def atan2_int_basic(*args):
"""atan2_int_basic(int p1, basic p2) -> function"""
return _swiginac.atan2_int_basic(*args)
def atan2_int_int(*args):
"""atan2_int_int(int p1, int p2) -> function"""
return _swiginac.atan2_int_int(*args)
def atan2_int_double(*args):
"""atan2_int_double(int p1, double p2) -> function"""
return _swiginac.atan2_int_double(*args)
def atan2_double_basic(*args):
"""atan2_double_basic(double p1, basic p2) -> function"""
return _swiginac.atan2_double_basic(*args)
def atan2_double_int(*args):
"""atan2_double_int(double p1, int p2) -> function"""
return _swiginac.atan2_double_int(*args)
def atan2_double_double(*args):
"""atan2_double_double(double p1, double p2) -> function"""
return _swiginac.atan2_double_double(*args)
def atan2(x,y):
def which(p):
types = [basic,int,float]
for t in types:
if isinstance(p,t):
return t
raise "Unimplemented type. Fix in function.i."
xt = which(x)
yt = which(y)
func_hash = {(basic,basic) : atan2_basic_basic,
(basic,int) : atan2_basic_int,
(basic,float) : atan2_basic_double,
(int,basic) : atan2_int_basic,
(int,int) : atan2_int_int,
(int,float) : atan2_int_double,
(float,basic) : atan2_double_basic,
(float,int) : atan2_double_int,
(float,float) : atan2_double_double}
return func_hash[(xt,yt)](x,y)
class sinh_SERIAL(_object):
"""Proxy of C++ GiNaC::sinh_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, sinh_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, sinh_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.sinh_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.sinh_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.sinh_SERIAL_serial_get, _swiginac.sinh_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> sinh_SERIAL"""
this = _swiginac.new_sinh_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_sinh_SERIAL
__del__ = lambda self : None;
sinh_SERIAL_swigregister = _swiginac.sinh_SERIAL_swigregister
sinh_SERIAL_swigregister(sinh_SERIAL)
atan2_NPARAMS = cvar.atan2_NPARAMS
def sinh_basic(*args):
"""sinh_basic(basic p1) -> function"""
return _swiginac.sinh_basic(*args)
def sinh_int(*args):
"""sinh_int(int p1) -> function"""
return _swiginac.sinh_int(*args)
def sinh_double(*args):
"""sinh_double(double p1) -> function"""
return _swiginac.sinh_double(*args)
def sinh(x):
if isinstance(x,basic):
return sinh_basic(x).eval()
elif isinstance(x,int):
return sinh_int(x).eval()
elif isinstance(x,float):
return sinh_double(x).eval()
else:
raise "Unimplented type. Fix in function.i."
class cosh_SERIAL(_object):
"""Proxy of C++ GiNaC::cosh_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, cosh_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, cosh_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.cosh_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.cosh_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.cosh_SERIAL_serial_get, _swiginac.cosh_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> cosh_SERIAL"""
this = _swiginac.new_cosh_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_cosh_SERIAL
__del__ = lambda self : None;
cosh_SERIAL_swigregister = _swiginac.cosh_SERIAL_swigregister
cosh_SERIAL_swigregister(cosh_SERIAL)
sinh_NPARAMS = cvar.sinh_NPARAMS
def cosh_basic(*args):
"""cosh_basic(basic p1) -> function"""
return _swiginac.cosh_basic(*args)
def cosh_int(*args):
"""cosh_int(int p1) -> function"""
return _swiginac.cosh_int(*args)
def cosh_double(*args):
"""cosh_double(double p1) -> function"""
return _swiginac.cosh_double(*args)
def cosh(x):
if isinstance(x,basic):
return cosh_basic(x).eval()
elif isinstance(x,int):
return cosh_int(x).eval()
elif isinstance(x,float):
return cosh_double(x).eval()
else:
raise "Unimplented type. Fix in function.i."
class tanh_SERIAL(_object):
"""Proxy of C++ GiNaC::tanh_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, tanh_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, tanh_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.tanh_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.tanh_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.tanh_SERIAL_serial_get, _swiginac.tanh_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> tanh_SERIAL"""
this = _swiginac.new_tanh_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_tanh_SERIAL
__del__ = lambda self : None;
tanh_SERIAL_swigregister = _swiginac.tanh_SERIAL_swigregister
tanh_SERIAL_swigregister(tanh_SERIAL)
cosh_NPARAMS = cvar.cosh_NPARAMS
def tanh_basic(*args):
"""tanh_basic(basic p1) -> function"""
return _swiginac.tanh_basic(*args)
def tanh_int(*args):
"""tanh_int(int p1) -> function"""
return _swiginac.tanh_int(*args)
def tanh_double(*args):
"""tanh_double(double p1) -> function"""
return _swiginac.tanh_double(*args)
def tanh(x):
if isinstance(x,basic):
return tanh_basic(x).eval()
elif isinstance(x,int):
return tanh_int(x).eval()
elif isinstance(x,float):
return tanh_double(x).eval()
else:
raise "Unimplented type. Fix in function.i."
class asinh_SERIAL(_object):
"""Proxy of C++ GiNaC::asinh_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, asinh_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, asinh_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.asinh_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.asinh_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.asinh_SERIAL_serial_get, _swiginac.asinh_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> asinh_SERIAL"""
this = _swiginac.new_asinh_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_asinh_SERIAL
__del__ = lambda self : None;
asinh_SERIAL_swigregister = _swiginac.asinh_SERIAL_swigregister
asinh_SERIAL_swigregister(asinh_SERIAL)
tanh_NPARAMS = cvar.tanh_NPARAMS
def asinh_basic(*args):
"""asinh_basic(basic p1) -> function"""
return _swiginac.asinh_basic(*args)
def asinh_int(*args):
"""asinh_int(int p1) -> function"""
return _swiginac.asinh_int(*args)
def asinh_double(*args):
"""asinh_double(double p1) -> function"""
return _swiginac.asinh_double(*args)
def asinh(x):
if isinstance(x,basic):
return asinh_basic(x).eval()
elif isinstance(x,int):
return asinh_int(x).eval()
elif isinstance(x,float):
return asinh_double(x).eval()
else:
raise "Unimplented type. Fix in function.i."
class acosh_SERIAL(_object):
"""Proxy of C++ GiNaC::acosh_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, acosh_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, acosh_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.acosh_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.acosh_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.acosh_SERIAL_serial_get, _swiginac.acosh_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> acosh_SERIAL"""
this = _swiginac.new_acosh_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_acosh_SERIAL
__del__ = lambda self : None;
acosh_SERIAL_swigregister = _swiginac.acosh_SERIAL_swigregister
acosh_SERIAL_swigregister(acosh_SERIAL)
asinh_NPARAMS = cvar.asinh_NPARAMS
def acosh_basic(*args):
"""acosh_basic(basic p1) -> function"""
return _swiginac.acosh_basic(*args)
def acosh_int(*args):
"""acosh_int(int p1) -> function"""
return _swiginac.acosh_int(*args)
def acosh_double(*args):
"""acosh_double(double p1) -> function"""
return _swiginac.acosh_double(*args)
def acosh(x):
if isinstance(x,basic):
return acosh_basic(x).eval()
elif isinstance(x,int):
return acosh_int(x).eval()
elif isinstance(x,float):
return acosh_double(x).eval()
else:
raise "Unimplented type. Fix in function.i."
class atanh_SERIAL(_object):
"""Proxy of C++ GiNaC::atanh_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, atanh_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, atanh_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.atanh_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.atanh_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.atanh_SERIAL_serial_get, _swiginac.atanh_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> atanh_SERIAL"""
this = _swiginac.new_atanh_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_atanh_SERIAL
__del__ = lambda self : None;
atanh_SERIAL_swigregister = _swiginac.atanh_SERIAL_swigregister
atanh_SERIAL_swigregister(atanh_SERIAL)
acosh_NPARAMS = cvar.acosh_NPARAMS
def atanh_basic(*args):
"""atanh_basic(basic p1) -> function"""
return _swiginac.atanh_basic(*args)
def atanh_int(*args):
"""atanh_int(int p1) -> function"""
return _swiginac.atanh_int(*args)
def atanh_double(*args):
"""atanh_double(double p1) -> function"""
return _swiginac.atanh_double(*args)
def atanh(x):
if isinstance(x,basic):
return atanh_basic(x).eval()
elif isinstance(x,int):
return atanh_int(x).eval()
elif isinstance(x,float):
return atanh_double(x).eval()
else:
raise "Unimplented type. Fix in function.i."
class Li2_SERIAL(_object):
"""Proxy of C++ GiNaC::Li2_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Li2_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Li2_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.Li2_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.Li2_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.Li2_SERIAL_serial_get, _swiginac.Li2_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> Li2_SERIAL"""
this = _swiginac.new_Li2_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_Li2_SERIAL
__del__ = lambda self : None;
Li2_SERIAL_swigregister = _swiginac.Li2_SERIAL_swigregister
Li2_SERIAL_swigregister(Li2_SERIAL)
atanh_NPARAMS = cvar.atanh_NPARAMS
def Li2_basic(*args):
"""Li2_basic(basic p1) -> function"""
return _swiginac.Li2_basic(*args)
def Li2_int(*args):
"""Li2_int(int p1) -> function"""
return _swiginac.Li2_int(*args)
def Li2_double(*args):
"""Li2_double(double p1) -> function"""
return _swiginac.Li2_double(*args)
def Li2(x):
if isinstance(x,basic):
return Li2_basic(x).eval()
elif isinstance(x,int):
return Li2_int(x).eval()
elif isinstance(x,float):
return Li2_double(x).eval()
else:
raise "Unimplented type. Fix in function.i."
class Li3_SERIAL(_object):
"""Proxy of C++ GiNaC::Li3_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Li3_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Li3_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.Li3_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.Li3_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.Li3_SERIAL_serial_get, _swiginac.Li3_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> Li3_SERIAL"""
this = _swiginac.new_Li3_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_Li3_SERIAL
__del__ = lambda self : None;
Li3_SERIAL_swigregister = _swiginac.Li3_SERIAL_swigregister
Li3_SERIAL_swigregister(Li3_SERIAL)
Li2_NPARAMS = cvar.Li2_NPARAMS
def Li3_basic(*args):
"""Li3_basic(basic p1) -> function"""
return _swiginac.Li3_basic(*args)
def Li3_int(*args):
"""Li3_int(int p1) -> function"""
return _swiginac.Li3_int(*args)
def Li3_double(*args):
"""Li3_double(double p1) -> function"""
return _swiginac.Li3_double(*args)
def Li3(x):
if isinstance(x,basic):
return Li3_basic(x).eval()
elif isinstance(x,int):
return Li3_int(x).eval()
elif isinstance(x,float):
return Li3_double(x).eval()
else:
raise "Unimplented type. Fix in function.i."
class zetaderiv_SERIAL(_object):
"""Proxy of C++ GiNaC::zetaderiv_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, zetaderiv_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, zetaderiv_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.zetaderiv_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.zetaderiv_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.zetaderiv_SERIAL_serial_get, _swiginac.zetaderiv_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> zetaderiv_SERIAL"""
this = _swiginac.new_zetaderiv_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_zetaderiv_SERIAL
__del__ = lambda self : None;
zetaderiv_SERIAL_swigregister = _swiginac.zetaderiv_SERIAL_swigregister
zetaderiv_SERIAL_swigregister(zetaderiv_SERIAL)
Li3_NPARAMS = cvar.Li3_NPARAMS
def zetaderiv_basic_basic(*args):
"""zetaderiv_basic_basic(basic p1, basic p2) -> function"""
return _swiginac.zetaderiv_basic_basic(*args)
def zetaderiv_basic_int(*args):
"""zetaderiv_basic_int(basic p1, int p2) -> function"""
return _swiginac.zetaderiv_basic_int(*args)
def zetaderiv_basic_double(*args):
"""zetaderiv_basic_double(basic p1, double p2) -> function"""
return _swiginac.zetaderiv_basic_double(*args)
def zetaderiv_int_basic(*args):
"""zetaderiv_int_basic(int p1, basic p2) -> function"""
return _swiginac.zetaderiv_int_basic(*args)
def zetaderiv_int_int(*args):
"""zetaderiv_int_int(int p1, int p2) -> function"""
return _swiginac.zetaderiv_int_int(*args)
def zetaderiv_int_double(*args):
"""zetaderiv_int_double(int p1, double p2) -> function"""
return _swiginac.zetaderiv_int_double(*args)
def zetaderiv_double_basic(*args):
"""zetaderiv_double_basic(double p1, basic p2) -> function"""
return _swiginac.zetaderiv_double_basic(*args)
def zetaderiv_double_int(*args):
"""zetaderiv_double_int(double p1, int p2) -> function"""
return _swiginac.zetaderiv_double_int(*args)
def zetaderiv_double_double(*args):
"""zetaderiv_double_double(double p1, double p2) -> function"""
return _swiginac.zetaderiv_double_double(*args)
def zetaderiv(x,y):
def which(p):
types = [basic,int,float]
for t in types:
if isinstance(p,t):
return t
raise "Unimplemented type. Fix in function.i."
xt = which(x)
yt = which(y)
func_hash = {(basic,basic) : zetaderiv_basic_basic,
(basic,int) : zetaderiv_basic_int,
(basic,float) : zetaderiv_basic_double,
(int,basic) : zetaderiv_int_basic,
(int,int) : zetaderiv_int_int,
(int,float) : zetaderiv_int_double,
(float,basic) : zetaderiv_double_basic,
(float,int) : zetaderiv_double_int,
(float,float) : zetaderiv_double_double}
return func_hash[(xt,yt)](x,y)
class Li_SERIAL(_object):
"""Proxy of C++ GiNaC::Li_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Li_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Li_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.Li_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.Li_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.Li_SERIAL_serial_get, _swiginac.Li_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> Li_SERIAL"""
this = _swiginac.new_Li_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_Li_SERIAL
__del__ = lambda self : None;
Li_SERIAL_swigregister = _swiginac.Li_SERIAL_swigregister
Li_SERIAL_swigregister(Li_SERIAL)
zetaderiv_NPARAMS = cvar.zetaderiv_NPARAMS
def Li_basic_basic(*args):
"""Li_basic_basic(basic p1, basic p2) -> function"""
return _swiginac.Li_basic_basic(*args)
def Li_basic_int(*args):
"""Li_basic_int(basic p1, int p2) -> function"""
return _swiginac.Li_basic_int(*args)
def Li_basic_double(*args):
"""Li_basic_double(basic p1, double p2) -> function"""
return _swiginac.Li_basic_double(*args)
def Li_int_basic(*args):
"""Li_int_basic(int p1, basic p2) -> function"""
return _swiginac.Li_int_basic(*args)
def Li_int_int(*args):
"""Li_int_int(int p1, int p2) -> function"""
return _swiginac.Li_int_int(*args)
def Li_int_double(*args):
"""Li_int_double(int p1, double p2) -> function"""
return _swiginac.Li_int_double(*args)
def Li_double_basic(*args):
"""Li_double_basic(double p1, basic p2) -> function"""
return _swiginac.Li_double_basic(*args)
def Li_double_int(*args):
"""Li_double_int(double p1, int p2) -> function"""
return _swiginac.Li_double_int(*args)
def Li_double_double(*args):
"""Li_double_double(double p1, double p2) -> function"""
return _swiginac.Li_double_double(*args)
def Li(x,y):
def which(p):
types = [basic,int,float]
for t in types:
if isinstance(p,t):
return t
raise "Unimplemented type. Fix in function.i."
xt = which(x)
yt = which(y)
func_hash = {(basic,basic) : Li_basic_basic,
(basic,int) : Li_basic_int,
(basic,float) : Li_basic_double,
(int,basic) : Li_int_basic,
(int,int) : Li_int_int,
(int,float) : Li_int_double,
(float,basic) : Li_double_basic,
(float,int) : Li_double_int,
(float,float) : Li_double_double}
return func_hash[(xt,yt)](x,y)
class S_SERIAL(_object):
"""Proxy of C++ GiNaC::S_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, S_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, S_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.S_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.S_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.S_SERIAL_serial_get, _swiginac.S_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> S_SERIAL"""
this = _swiginac.new_S_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_S_SERIAL
__del__ = lambda self : None;
S_SERIAL_swigregister = _swiginac.S_SERIAL_swigregister
S_SERIAL_swigregister(S_SERIAL)
Li_NPARAMS = cvar.Li_NPARAMS
def S_basic_basic_basic(*args):
"""S_basic_basic_basic(basic p1, basic p2, basic p3) -> function"""
return _swiginac.S_basic_basic_basic(*args)
def S_basic_basic_int(*args):
"""S_basic_basic_int(basic p1, basic p2, int p3) -> function"""
return _swiginac.S_basic_basic_int(*args)
def S_basic_basic_double(*args):
"""S_basic_basic_double(basic p1, basic p2, double p3) -> function"""
return _swiginac.S_basic_basic_double(*args)
def S_basic_int_basic(*args):
"""S_basic_int_basic(basic p1, int p2, basic p3) -> function"""
return _swiginac.S_basic_int_basic(*args)
def S_basic_int_int(*args):
"""S_basic_int_int(basic p1, int p2, int p3) -> function"""
return _swiginac.S_basic_int_int(*args)
def S_basic_int_double(*args):
"""S_basic_int_double(basic p1, int p2, double p3) -> function"""
return _swiginac.S_basic_int_double(*args)
def S_basic_double_basic(*args):
"""S_basic_double_basic(basic p1, double p2, basic p3) -> function"""
return _swiginac.S_basic_double_basic(*args)
def S_basic_double_int(*args):
"""S_basic_double_int(basic p1, double p2, int p3) -> function"""
return _swiginac.S_basic_double_int(*args)
def S_basic_double_double(*args):
"""S_basic_double_double(basic p1, double p2, double p3) -> function"""
return _swiginac.S_basic_double_double(*args)
def S_int_basic_basic(*args):
"""S_int_basic_basic(int p1, basic p2, basic p3) -> function"""
return _swiginac.S_int_basic_basic(*args)
def S_int_basic_int(*args):
"""S_int_basic_int(int p1, basic p2, int p3) -> function"""
return _swiginac.S_int_basic_int(*args)
def S_int_basic_double(*args):
"""S_int_basic_double(int p1, basic p2, double p3) -> function"""
return _swiginac.S_int_basic_double(*args)
def S_int_int_basic(*args):
"""S_int_int_basic(int p1, int p2, basic p3) -> function"""
return _swiginac.S_int_int_basic(*args)
def S_int_int_int(*args):
"""S_int_int_int(int p1, int p2, int p3) -> function"""
return _swiginac.S_int_int_int(*args)
def S_int_int_double(*args):
"""S_int_int_double(int p1, int p2, double p3) -> function"""
return _swiginac.S_int_int_double(*args)
def S_int_double_basic(*args):
"""S_int_double_basic(int p1, double p2, basic p3) -> function"""
return _swiginac.S_int_double_basic(*args)
def S_int_double_int(*args):
"""S_int_double_int(int p1, double p2, int p3) -> function"""
return _swiginac.S_int_double_int(*args)
def S_int_double_double(*args):
"""S_int_double_double(int p1, double p2, double p3) -> function"""
return _swiginac.S_int_double_double(*args)
def S_double_basic_basic(*args):
"""S_double_basic_basic(double p1, basic p2, basic p3) -> function"""
return _swiginac.S_double_basic_basic(*args)
def S_double_basic_int(*args):
"""S_double_basic_int(double p1, basic p2, int p3) -> function"""
return _swiginac.S_double_basic_int(*args)
def S_double_basic_double(*args):
"""S_double_basic_double(double p1, basic p2, double p3) -> function"""
return _swiginac.S_double_basic_double(*args)
def S_double_int_basic(*args):
"""S_double_int_basic(double p1, int p2, basic p3) -> function"""
return _swiginac.S_double_int_basic(*args)
def S_double_int_int(*args):
"""S_double_int_int(double p1, int p2, int p3) -> function"""
return _swiginac.S_double_int_int(*args)
def S_double_int_double(*args):
"""S_double_int_double(double p1, int p2, double p3) -> function"""
return _swiginac.S_double_int_double(*args)
def S_double_double_basic(*args):
"""S_double_double_basic(double p1, double p2, basic p3) -> function"""
return _swiginac.S_double_double_basic(*args)
def S_double_double_int(*args):
"""S_double_double_int(double p1, double p2, int p3) -> function"""
return _swiginac.S_double_double_int(*args)
def S_double_double_double(*args):
"""S_double_double_double(double p1, double p2, double p3) -> function"""
return _swiginac.S_double_double_double(*args)
def S(x,y,z):
def which(p):
types = [basic,int,float]
for t in types:
if isinstance(p,t):
return t
raise "Unimplemented type. Fix in function.i."
xt = which(x)
yt = which(y)
zt = which(z)
func_hash = {(basic,basic,basic) : S_basic_basic_basic,
(basic,basic,int) : S_basic_basic_int,
(basic,basic,float) : S_basic_basic_double,
(basic,int,basic) : S_basic_int_basic,
(basic,int,int) : S_basic_int_int,
(basic,int,float) : S_basic_int_double,
(basic,float,basic) : S_basic_double_basic,
(basic,float,int) : S_basic_double_int,
(basic,float,float) : S_basic_double_double,
(int,basic,basic) : S_int_basic_basic,
(int,basic,int) : S_int_basic_int,
(int,basic,float) : S_int_basic_double,
(int,int,basic) : S_int_int_basic,
(int,int,int) : S_int_int_int,
(int,int,float) : S_int_int_double,
(int,float,basic) : S_int_double_basic,
(int,float,int) : S_int_double_int,
(int,float,float) : S_int_double_double,
(float,basic,basic) : S_double_basic_basic,
(float,basic,int) : S_double_basic_int,
(float,basic,float) : S_double_basic_double,
(float,int,basic) : S_double_int_basic,
(float,int,int) : S_double_int_int,
(float,int,float) : S_double_int_double,
(float,float,basic) : S_double_double_basic,
(float,float,int) : S_double_double_int,
(float,float,float) : S_double_double_double}
return func_hash[(xt,yt,zt)](x,y,z)
class H_SERIAL(_object):
"""Proxy of C++ GiNaC::H_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, H_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, H_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.H_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.H_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.H_SERIAL_serial_get, _swiginac.H_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> H_SERIAL"""
this = _swiginac.new_H_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_H_SERIAL
__del__ = lambda self : None;
H_SERIAL_swigregister = _swiginac.H_SERIAL_swigregister
H_SERIAL_swigregister(H_SERIAL)
S_NPARAMS = cvar.S_NPARAMS
def H_basic_basic(*args):
"""H_basic_basic(basic p1, basic p2) -> function"""
return _swiginac.H_basic_basic(*args)
def H_basic_int(*args):
"""H_basic_int(basic p1, int p2) -> function"""
return _swiginac.H_basic_int(*args)
def H_basic_double(*args):
"""H_basic_double(basic p1, double p2) -> function"""
return _swiginac.H_basic_double(*args)
def H_int_basic(*args):
"""H_int_basic(int p1, basic p2) -> function"""
return _swiginac.H_int_basic(*args)
def H_int_int(*args):
"""H_int_int(int p1, int p2) -> function"""
return _swiginac.H_int_int(*args)
def H_int_double(*args):
"""H_int_double(int p1, double p2) -> function"""
return _swiginac.H_int_double(*args)
def H_double_basic(*args):
"""H_double_basic(double p1, basic p2) -> function"""
return _swiginac.H_double_basic(*args)
def H_double_int(*args):
"""H_double_int(double p1, int p2) -> function"""
return _swiginac.H_double_int(*args)
def H_double_double(*args):
"""H_double_double(double p1, double p2) -> function"""
return _swiginac.H_double_double(*args)
def H(x,y):
def which(p):
types = [basic,int,float]
for t in types:
if isinstance(p,t):
return t
raise "Unimplemented type. Fix in function.i."
xt = which(x)
yt = which(y)
func_hash = {(basic,basic) : H_basic_basic,
(basic,int) : H_basic_int,
(basic,float) : H_basic_double,
(int,basic) : H_int_basic,
(int,int) : H_int_int,
(int,float) : H_int_double,
(float,basic) : H_double_basic,
(float,int) : H_double_int,
(float,float) : H_double_double}
return func_hash[(xt,yt)](x,y)
class lgamma_SERIAL(_object):
"""Proxy of C++ GiNaC::lgamma_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, lgamma_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, lgamma_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.lgamma_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.lgamma_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.lgamma_SERIAL_serial_get, _swiginac.lgamma_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> lgamma_SERIAL"""
this = _swiginac.new_lgamma_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_lgamma_SERIAL
__del__ = lambda self : None;
lgamma_SERIAL_swigregister = _swiginac.lgamma_SERIAL_swigregister
lgamma_SERIAL_swigregister(lgamma_SERIAL)
H_NPARAMS = cvar.H_NPARAMS
def lgamma_basic(*args):
"""lgamma_basic(basic p1) -> function"""
return _swiginac.lgamma_basic(*args)
def lgamma_int(*args):
"""lgamma_int(int p1) -> function"""
return _swiginac.lgamma_int(*args)
def lgamma_double(*args):
"""lgamma_double(double p1) -> function"""
return _swiginac.lgamma_double(*args)
def lgamma(x):
if isinstance(x,basic):
return lgamma_basic(x).eval()
elif isinstance(x,int):
return lgamma_int(x).eval()
elif isinstance(x,float):
return lgamma_double(x).eval()
else:
raise "Unimplented type. Fix in function.i."
class tgamma_SERIAL(_object):
"""Proxy of C++ GiNaC::tgamma_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, tgamma_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, tgamma_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.tgamma_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.tgamma_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.tgamma_SERIAL_serial_get, _swiginac.tgamma_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> tgamma_SERIAL"""
this = _swiginac.new_tgamma_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_tgamma_SERIAL
__del__ = lambda self : None;
tgamma_SERIAL_swigregister = _swiginac.tgamma_SERIAL_swigregister
tgamma_SERIAL_swigregister(tgamma_SERIAL)
lgamma_NPARAMS = cvar.lgamma_NPARAMS
def tgamma_basic(*args):
"""tgamma_basic(basic p1) -> function"""
return _swiginac.tgamma_basic(*args)
def tgamma_int(*args):
"""tgamma_int(int p1) -> function"""
return _swiginac.tgamma_int(*args)
def tgamma_double(*args):
"""tgamma_double(double p1) -> function"""
return _swiginac.tgamma_double(*args)
def tgamma(x):
if isinstance(x,basic):
return tgamma_basic(x).eval()
elif isinstance(x,int):
return tgamma_int(x).eval()
elif isinstance(x,float):
return tgamma_double(x).eval()
else:
raise "Unimplented type. Fix in function.i."
class beta_SERIAL(_object):
"""Proxy of C++ GiNaC::beta_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, beta_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, beta_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.beta_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.beta_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.beta_SERIAL_serial_get, _swiginac.beta_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> beta_SERIAL"""
this = _swiginac.new_beta_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_beta_SERIAL
__del__ = lambda self : None;
beta_SERIAL_swigregister = _swiginac.beta_SERIAL_swigregister
beta_SERIAL_swigregister(beta_SERIAL)
tgamma_NPARAMS = cvar.tgamma_NPARAMS
def beta_basic_basic(*args):
"""beta_basic_basic(basic p1, basic p2) -> function"""
return _swiginac.beta_basic_basic(*args)
def beta_basic_int(*args):
"""beta_basic_int(basic p1, int p2) -> function"""
return _swiginac.beta_basic_int(*args)
def beta_basic_double(*args):
"""beta_basic_double(basic p1, double p2) -> function"""
return _swiginac.beta_basic_double(*args)
def beta_int_basic(*args):
"""beta_int_basic(int p1, basic p2) -> function"""
return _swiginac.beta_int_basic(*args)
def beta_int_int(*args):
"""beta_int_int(int p1, int p2) -> function"""
return _swiginac.beta_int_int(*args)
def beta_int_double(*args):
"""beta_int_double(int p1, double p2) -> function"""
return _swiginac.beta_int_double(*args)
def beta_double_basic(*args):
"""beta_double_basic(double p1, basic p2) -> function"""
return _swiginac.beta_double_basic(*args)
def beta_double_int(*args):
"""beta_double_int(double p1, int p2) -> function"""
return _swiginac.beta_double_int(*args)
def beta_double_double(*args):
"""beta_double_double(double p1, double p2) -> function"""
return _swiginac.beta_double_double(*args)
def beta(x,y):
def which(p):
types = [basic,int,float]
for t in types:
if isinstance(p,t):
return t
raise "Unimplemented type. Fix in function.i."
xt = which(x)
yt = which(y)
func_hash = {(basic,basic) : beta_basic_basic,
(basic,int) : beta_basic_int,
(basic,float) : beta_basic_double,
(int,basic) : beta_int_basic,
(int,int) : beta_int_int,
(int,float) : beta_int_double,
(float,basic) : beta_double_basic,
(float,int) : beta_double_int,
(float,float) : beta_double_double}
return func_hash[(xt,yt)](x,y)
class factorial_SERIAL(_object):
"""Proxy of C++ GiNaC::factorial_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, factorial_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, factorial_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.factorial_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.factorial_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.factorial_SERIAL_serial_get, _swiginac.factorial_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> factorial_SERIAL"""
this = _swiginac.new_factorial_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_factorial_SERIAL
__del__ = lambda self : None;
factorial_SERIAL_swigregister = _swiginac.factorial_SERIAL_swigregister
factorial_SERIAL_swigregister(factorial_SERIAL)
beta_NPARAMS = cvar.beta_NPARAMS
def factorial_basic(*args):
"""factorial_basic(basic p1) -> function"""
return _swiginac.factorial_basic(*args)
def factorial_int(*args):
"""factorial_int(int p1) -> function"""
return _swiginac.factorial_int(*args)
def factorial_double(*args):
"""factorial_double(double p1) -> function"""
return _swiginac.factorial_double(*args)
def factorial(x):
if isinstance(x,basic):
return factorial_basic(x).eval()
elif isinstance(x,int):
return factorial_int(x).eval()
elif isinstance(x,float):
return factorial_double(x).eval()
else:
raise "Unimplented type. Fix in function.i."
class binomial_SERIAL(_object):
"""Proxy of C++ GiNaC::binomial_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, binomial_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, binomial_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.binomial_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.binomial_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.binomial_SERIAL_serial_get, _swiginac.binomial_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> binomial_SERIAL"""
this = _swiginac.new_binomial_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_binomial_SERIAL
__del__ = lambda self : None;
binomial_SERIAL_swigregister = _swiginac.binomial_SERIAL_swigregister
binomial_SERIAL_swigregister(binomial_SERIAL)
factorial_NPARAMS = cvar.factorial_NPARAMS
def binomial_basic_basic(*args):
"""binomial_basic_basic(basic p1, basic p2) -> function"""
return _swiginac.binomial_basic_basic(*args)
def binomial_basic_int(*args):
"""binomial_basic_int(basic p1, int p2) -> function"""
return _swiginac.binomial_basic_int(*args)
def binomial_basic_double(*args):
"""binomial_basic_double(basic p1, double p2) -> function"""
return _swiginac.binomial_basic_double(*args)
def binomial_int_basic(*args):
"""binomial_int_basic(int p1, basic p2) -> function"""
return _swiginac.binomial_int_basic(*args)
def binomial_int_int(*args):
"""binomial_int_int(int p1, int p2) -> function"""
return _swiginac.binomial_int_int(*args)
def binomial_int_double(*args):
"""binomial_int_double(int p1, double p2) -> function"""
return _swiginac.binomial_int_double(*args)
def binomial_double_basic(*args):
"""binomial_double_basic(double p1, basic p2) -> function"""
return _swiginac.binomial_double_basic(*args)
def binomial_double_int(*args):
"""binomial_double_int(double p1, int p2) -> function"""
return _swiginac.binomial_double_int(*args)
def binomial_double_double(*args):
"""binomial_double_double(double p1, double p2) -> function"""
return _swiginac.binomial_double_double(*args)
def binomial(x,y):
def which(p):
types = [basic,int,float]
for t in types:
if isinstance(p,t):
return t
raise "Unimplemented type. Fix in function.i."
xt = which(x)
yt = which(y)
func_hash = {(basic,basic) : binomial_basic_basic,
(basic,int) : binomial_basic_int,
(basic,float) : binomial_basic_double,
(int,basic) : binomial_int_basic,
(int,int) : binomial_int_int,
(int,float) : binomial_int_double,
(float,basic) : binomial_double_basic,
(float,int) : binomial_double_int,
(float,float) : binomial_double_double}
return func_hash[(xt,yt)](x,y)
class Order_SERIAL(_object):
"""Proxy of C++ GiNaC::Order_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Order_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Order_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.Order_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.Order_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.Order_SERIAL_serial_get, _swiginac.Order_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> Order_SERIAL"""
this = _swiginac.new_Order_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_Order_SERIAL
__del__ = lambda self : None;
Order_SERIAL_swigregister = _swiginac.Order_SERIAL_swigregister
Order_SERIAL_swigregister(Order_SERIAL)
binomial_NPARAMS = cvar.binomial_NPARAMS
def Order_basic(*args):
"""Order_basic(basic p1) -> function"""
return _swiginac.Order_basic(*args)
def Order_int(*args):
"""Order_int(int p1) -> function"""
return _swiginac.Order_int(*args)
def Order_double(*args):
"""Order_double(double p1) -> function"""
return _swiginac.Order_double(*args)
def Order(x):
if isinstance(x,basic):
return Order_basic(x).eval()
elif isinstance(x,int):
return Order_int(x).eval()
elif isinstance(x,float):
return Order_double(x).eval()
else:
raise "Unimplented type. Fix in function.i."
class zeta1_SERIAL(_object):
"""Proxy of C++ GiNaC::zeta1_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, zeta1_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, zeta1_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.zeta1_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.zeta1_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.zeta1_SERIAL_serial_get, _swiginac.zeta1_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> zeta1_SERIAL"""
this = _swiginac.new_zeta1_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_zeta1_SERIAL
__del__ = lambda self : None;
zeta1_SERIAL_swigregister = _swiginac.zeta1_SERIAL_swigregister
zeta1_SERIAL_swigregister(zeta1_SERIAL)
Order_NPARAMS = cvar.Order_NPARAMS
class zeta2_SERIAL(_object):
"""Proxy of C++ GiNaC::zeta2_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, zeta2_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, zeta2_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.zeta2_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.zeta2_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.zeta2_SERIAL_serial_get, _swiginac.zeta2_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> zeta2_SERIAL"""
this = _swiginac.new_zeta2_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_zeta2_SERIAL
__del__ = lambda self : None;
zeta2_SERIAL_swigregister = _swiginac.zeta2_SERIAL_swigregister
zeta2_SERIAL_swigregister(zeta2_SERIAL)
def zeta_basic(*args):
"""zeta_basic(basic p1) -> function"""
return _swiginac.zeta_basic(*args)
def zeta_int(*args):
"""zeta_int(int p1) -> function"""
return _swiginac.zeta_int(*args)
def zeta_double(*args):
"""zeta_double(double p1) -> function"""
return _swiginac.zeta_double(*args)
def zeta1(x):
if isinstance(x,basic):
return zeta_basic(x).eval()
elif isinstance(x,int):
return zeta_int(x).eval()
elif isinstance(x,float):
return zeta_double(x).eval()
else:
raise "Unimplented type. Fix in function.i."
def zeta_basic_basic(*args):
"""zeta_basic_basic(basic p1, basic p2) -> function"""
return _swiginac.zeta_basic_basic(*args)
def zeta_basic_int(*args):
"""zeta_basic_int(basic p1, int p2) -> function"""
return _swiginac.zeta_basic_int(*args)
def zeta_basic_double(*args):
"""zeta_basic_double(basic p1, double p2) -> function"""
return _swiginac.zeta_basic_double(*args)
def zeta_int_basic(*args):
"""zeta_int_basic(int p1, basic p2) -> function"""
return _swiginac.zeta_int_basic(*args)
def zeta_int_int(*args):
"""zeta_int_int(int p1, int p2) -> function"""
return _swiginac.zeta_int_int(*args)
def zeta_int_double(*args):
"""zeta_int_double(int p1, double p2) -> function"""
return _swiginac.zeta_int_double(*args)
def zeta_double_basic(*args):
"""zeta_double_basic(double p1, basic p2) -> function"""
return _swiginac.zeta_double_basic(*args)
def zeta_double_int(*args):
"""zeta_double_int(double p1, int p2) -> function"""
return _swiginac.zeta_double_int(*args)
def zeta_double_double(*args):
"""zeta_double_double(double p1, double p2) -> function"""
return _swiginac.zeta_double_double(*args)
def zeta2(x,y):
def which(p):
types = [basic,int,float]
for t in types:
if isinstance(p,t):
return t
raise "Unimplemented type. Fix in function.i."
xt = which(x)
yt = which(y)
func_hash = {(basic,basic) : zeta_basic_basic,
(basic,int) : zeta_basic_int,
(basic,float) : zeta_basic_double,
(int,basic) : zeta_int_basic,
(int,int) : zeta_int_int,
(int,float) : zeta_int_double,
(float,basic) : zeta_double_basic,
(float,int) : zeta_double_int,
(float,float) : zeta_double_double}
return func_hash[(xt,yt)](x,y)
def zeta(*args):
if len(args)==1:
return zeta1(*args)
elif len(args)==2:
return zeta2(*args)
else:
raise "zeta() takes 1 or 2 arguments"
class G2_SERIAL(_object):
"""Proxy of C++ GiNaC::G2_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, G2_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, G2_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.G2_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.G2_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.G2_SERIAL_serial_get, _swiginac.G2_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> G2_SERIAL"""
this = _swiginac.new_G2_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_G2_SERIAL
__del__ = lambda self : None;
G2_SERIAL_swigregister = _swiginac.G2_SERIAL_swigregister
G2_SERIAL_swigregister(G2_SERIAL)
class G3_SERIAL(_object):
"""Proxy of C++ GiNaC::G3_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, G3_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, G3_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.G3_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.G3_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.G3_SERIAL_serial_get, _swiginac.G3_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> G3_SERIAL"""
this = _swiginac.new_G3_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_G3_SERIAL
__del__ = lambda self : None;
G3_SERIAL_swigregister = _swiginac.G3_SERIAL_swigregister
G3_SERIAL_swigregister(G3_SERIAL)
def G_basic_basic(*args):
"""G_basic_basic(basic x, basic y) -> function"""
return _swiginac.G_basic_basic(*args)
def G_basic_int(*args):
"""G_basic_int(basic x, int y) -> function"""
return _swiginac.G_basic_int(*args)
def G_basic_double(*args):
"""G_basic_double(basic x, double y) -> function"""
return _swiginac.G_basic_double(*args)
def G_int_basic(*args):
"""G_int_basic(int x, basic y) -> function"""
return _swiginac.G_int_basic(*args)
def G_int_int(*args):
"""G_int_int(int x, int y) -> function"""
return _swiginac.G_int_int(*args)
def G_int_double(*args):
"""G_int_double(int x, double y) -> function"""
return _swiginac.G_int_double(*args)
def G_double_basic(*args):
"""G_double_basic(double x, basic y) -> function"""
return _swiginac.G_double_basic(*args)
def G_double_int(*args):
"""G_double_int(double x, int y) -> function"""
return _swiginac.G_double_int(*args)
def G_double_double(*args):
"""G_double_double(double x, double y) -> function"""
return _swiginac.G_double_double(*args)
def G2(x,y):
def which(p):
types = [basic,int,float]
for t in types:
if isinstance(p,t):
return t
raise "Unimplemented type. Fix in function.i."
xt = which(x)
yt = which(y)
func_hash = {(basic,basic) : G_basic_basic,
(basic,int) : G_basic_int,
(basic,float) : G_basic_double,
(int,basic) : G_int_basic,
(int,int) : G_int_int,
(int,float) : G_int_double,
(float,basic) : G_double_basic,
(float,int) : G_double_int,
(float,float) : G_double_double}
return func_hash[(xt,yt)](x,y)
def G_basic_basic_basic(*args):
"""G_basic_basic_basic(basic x, basic s, basic y) -> function"""
return _swiginac.G_basic_basic_basic(*args)
def G_basic_basic_int(*args):
"""G_basic_basic_int(basic x, basic s, int y) -> function"""
return _swiginac.G_basic_basic_int(*args)
def G_basic_basic_double(*args):
"""G_basic_basic_double(basic x, basic s, double y) -> function"""
return _swiginac.G_basic_basic_double(*args)
def G_basic_int_basic(*args):
"""G_basic_int_basic(basic x, int s, basic y) -> function"""
return _swiginac.G_basic_int_basic(*args)
def G_basic_int_int(*args):
"""G_basic_int_int(basic x, int s, int y) -> function"""
return _swiginac.G_basic_int_int(*args)
def G_basic_int_double(*args):
"""G_basic_int_double(basic x, int s, double y) -> function"""
return _swiginac.G_basic_int_double(*args)
def G_basic_double_basic(*args):
"""G_basic_double_basic(basic x, double s, basic y) -> function"""
return _swiginac.G_basic_double_basic(*args)
def G_basic_double_int(*args):
"""G_basic_double_int(basic x, double s, int y) -> function"""
return _swiginac.G_basic_double_int(*args)
def G_basic_double_double(*args):
"""G_basic_double_double(basic x, double s, double y) -> function"""
return _swiginac.G_basic_double_double(*args)
def G_int_basic_basic(*args):
"""G_int_basic_basic(int x, basic s, basic y) -> function"""
return _swiginac.G_int_basic_basic(*args)
def G_int_basic_int(*args):
"""G_int_basic_int(int x, basic s, int y) -> function"""
return _swiginac.G_int_basic_int(*args)
def G_int_basic_double(*args):
"""G_int_basic_double(int x, basic s, double y) -> function"""
return _swiginac.G_int_basic_double(*args)
def G_int_int_basic(*args):
"""G_int_int_basic(int x, int s, basic y) -> function"""
return _swiginac.G_int_int_basic(*args)
def G_int_int_int(*args):
"""G_int_int_int(int x, int s, int y) -> function"""
return _swiginac.G_int_int_int(*args)
def G_int_int_double(*args):
"""G_int_int_double(int x, int s, double y) -> function"""
return _swiginac.G_int_int_double(*args)
def G_int_double_basic(*args):
"""G_int_double_basic(int x, double s, basic y) -> function"""
return _swiginac.G_int_double_basic(*args)
def G_int_double_int(*args):
"""G_int_double_int(int x, double s, int y) -> function"""
return _swiginac.G_int_double_int(*args)
def G_int_double_double(*args):
"""G_int_double_double(int x, double s, double y) -> function"""
return _swiginac.G_int_double_double(*args)
def G_double_basic_basic(*args):
"""G_double_basic_basic(double x, basic s, basic y) -> function"""
return _swiginac.G_double_basic_basic(*args)
def G_double_basic_int(*args):
"""G_double_basic_int(double x, basic s, int y) -> function"""
return _swiginac.G_double_basic_int(*args)
def G_double_basic_double(*args):
"""G_double_basic_double(double x, basic s, double y) -> function"""
return _swiginac.G_double_basic_double(*args)
def G_double_int_basic(*args):
"""G_double_int_basic(double x, int s, basic y) -> function"""
return _swiginac.G_double_int_basic(*args)
def G_double_int_int(*args):
"""G_double_int_int(double x, int s, int y) -> function"""
return _swiginac.G_double_int_int(*args)
def G_double_int_double(*args):
"""G_double_int_double(double x, int s, double y) -> function"""
return _swiginac.G_double_int_double(*args)
def G_double_double_basic(*args):
"""G_double_double_basic(double x, double s, basic y) -> function"""
return _swiginac.G_double_double_basic(*args)
def G_double_double_int(*args):
"""G_double_double_int(double x, double s, int y) -> function"""
return _swiginac.G_double_double_int(*args)
def G_double_double_double(*args):
"""G_double_double_double(double x, double s, double y) -> function"""
return _swiginac.G_double_double_double(*args)
def G3(x,y,z):
def which(p):
types = [basic,int,float]
for t in types:
if isinstance(p,t):
return t
raise "Unimplemented type. Fix in function.i."
xt = which(x)
yt = which(y)
zt = which(z)
func_hash = {(basic,basic,basic) : G_basic_basic_basic,
(basic,basic,int) : G_basic_basic_int,
(basic,basic,float) : G_basic_basic_double,
(basic,int,basic) : G_basic_int_basic,
(basic,int,int) : G_basic_int_int,
(basic,int,float) : G_basic_int_double,
(basic,float,basic) : G_basic_double_basic,
(basic,float,int) : G_basic_double_int,
(basic,float,float) : G_basic_double_double,
(int,basic,basic) : G_int_basic_basic,
(int,basic,int) : G_int_basic_int,
(int,basic,float) : G_int_basic_double,
(int,int,basic) : G_int_int_basic,
(int,int,int) : G_int_int_int,
(int,int,float) : G_int_int_double,
(int,float,basic) : G_int_double_basic,
(int,float,int) : G_int_double_int,
(int,float,float) : G_int_double_double,
(float,basic,basic) : G_double_basic_basic,
(float,basic,int) : G_double_basic_int,
(float,basic,float) : G_double_basic_double,
(float,int,basic) : G_double_int_basic,
(float,int,int) : G_double_int_int,
(float,int,float) : G_double_int_double,
(float,float,basic) : G_double_double_basic,
(float,float,int) : G_double_double_int,
(float,float,float) : G_double_double_double}
return func_hash[(xt,yt,zt)](x,y,z)
def G(*args):
if len(args)==2:
return G2(*args)
elif len(args)==3:
return G3(*args)
else:
raise "G() takes 2 or 3 arguments"
class psi1_SERIAL(_object):
"""Proxy of C++ GiNaC::psi1_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, psi1_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, psi1_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.psi1_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.psi1_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.psi1_SERIAL_serial_get, _swiginac.psi1_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> psi1_SERIAL"""
this = _swiginac.new_psi1_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_psi1_SERIAL
__del__ = lambda self : None;
psi1_SERIAL_swigregister = _swiginac.psi1_SERIAL_swigregister
psi1_SERIAL_swigregister(psi1_SERIAL)
class psi2_SERIAL(_object):
"""Proxy of C++ GiNaC::psi2_SERIAL class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, psi2_SERIAL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, psi2_SERIAL, name)
__repr__ = _swig_repr
__swig_setmethods__["serial"] = _swiginac.psi2_SERIAL_serial_set
__swig_getmethods__["serial"] = _swiginac.psi2_SERIAL_serial_get
if _newclass:serial = _swig_property(_swiginac.psi2_SERIAL_serial_get, _swiginac.psi2_SERIAL_serial_set)
def __init__(self):
"""__init__(self) -> psi2_SERIAL"""
this = _swiginac.new_psi2_SERIAL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_psi2_SERIAL
__del__ = lambda self : None;
psi2_SERIAL_swigregister = _swiginac.psi2_SERIAL_swigregister
psi2_SERIAL_swigregister(psi2_SERIAL)
def psi_basic(*args):
"""psi_basic(basic p1) -> function"""
return _swiginac.psi_basic(*args)
def psi_int(*args):
"""psi_int(int p1) -> function"""
return _swiginac.psi_int(*args)
def psi_double(*args):
"""psi_double(double p1) -> function"""
return _swiginac.psi_double(*args)
def psi1(x):
if isinstance(x,basic):
return psi_basic(x).eval()
elif isinstance(x,int):
return psi_int(x).eval()
elif isinstance(x,float):
return psi_double(x).eval()
else:
raise "Unimplented type. Fix in function.i."
def psi_basic_basic(*args):
"""psi_basic_basic(basic p1, basic p2) -> function"""
return _swiginac.psi_basic_basic(*args)
def psi_basic_int(*args):
"""psi_basic_int(basic p1, int p2) -> function"""
return _swiginac.psi_basic_int(*args)
def psi_basic_double(*args):
"""psi_basic_double(basic p1, double p2) -> function"""
return _swiginac.psi_basic_double(*args)
def psi_int_basic(*args):
"""psi_int_basic(int p1, basic p2) -> function"""
return _swiginac.psi_int_basic(*args)
def psi_int_int(*args):
"""psi_int_int(int p1, int p2) -> function"""
return _swiginac.psi_int_int(*args)
def psi_int_double(*args):
"""psi_int_double(int p1, double p2) -> function"""
return _swiginac.psi_int_double(*args)
def psi_double_basic(*args):
"""psi_double_basic(double p1, basic p2) -> function"""
return _swiginac.psi_double_basic(*args)
def psi_double_int(*args):
"""psi_double_int(double p1, int p2) -> function"""
return _swiginac.psi_double_int(*args)
def psi_double_double(*args):
"""psi_double_double(double p1, double p2) -> function"""
return _swiginac.psi_double_double(*args)
def psi2(x,y):
def which(p):
types = [basic,int,float]
for t in types:
if isinstance(p,t):
return t
raise "Unimplemented type. Fix in function.i."
xt = which(x)
yt = which(y)
func_hash = {(basic,basic) : psi_basic_basic,
(basic,int) : psi_basic_int,
(basic,float) : psi_basic_double,
(int,basic) : psi_int_basic,
(int,int) : psi_int_int,
(int,float) : psi_int_double,
(float,basic) : psi_double_basic,
(float,int) : psi_double_int,
(float,float) : psi_double_double}
return func_hash[(xt,yt)](x,y)
def psi(*args):
if len(args)==1:
return psi1(*args)
elif len(args)==2:
return psi2(*args)
else:
raise "psi() takes 1 or 2 arguments"
class tensor(basic):
"""Proxy of C++ GiNaC::tensor class"""
__swig_setmethods__ = {}
for _s in [basic]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, tensor, name, value)
__swig_getmethods__ = {}
for _s in [basic]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, tensor, name)
__repr__ = _swig_repr
def __init__(self):
"""__init__(self) -> tensor"""
this = _swiginac.new_tensor()
try: self.this.append(this)
except: self.this = this
def replace_contr_index(self, *args):
"""replace_contr_index(self, exvector::iterator self, exvector::iterator other) -> bool"""
return _swiginac.tensor_replace_contr_index(self, *args)
__swig_destroy__ = _swiginac.delete_tensor
__del__ = lambda self : None;
tensor_swigregister = _swiginac.tensor_swigregister
tensor_swigregister(tensor)
def lsolve(*args):
"""
lsolve(ex eqns, ex symbols, unsigned int options = solve_algo::automatic) -> ex
lsolve(ex eqns, ex symbols) -> ex
"""
return _swiginac.lsolve(*args)
class tensdelta(tensor):
"""Proxy of C++ GiNaC::tensdelta class"""
__swig_setmethods__ = {}
for _s in [tensor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, tensdelta, name, value)
__swig_getmethods__ = {}
for _s in [tensor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, tensdelta, name)
__repr__ = _swig_repr
def __init__(self):
"""__init__(self) -> tensdelta"""
this = _swiginac.new_tensdelta()
try: self.this.append(this)
except: self.this = this
def eval_indexed(self, *args):
"""eval_indexed(self, basic i) -> ex"""
return _swiginac.tensdelta_eval_indexed(self, *args)
def contract_with(self, *args):
"""
contract_with(self, exvector::iterator self, exvector::iterator other,
exvector v) -> bool
"""
return _swiginac.tensdelta_contract_with(self, *args)
__swig_destroy__ = _swiginac.delete_tensdelta
__del__ = lambda self : None;
tensdelta_swigregister = _swiginac.tensdelta_swigregister
tensdelta_swigregister(tensdelta)
class tensmetric(tensor):
"""Proxy of C++ GiNaC::tensmetric class"""
__swig_setmethods__ = {}
for _s in [tensor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, tensmetric, name, value)
__swig_getmethods__ = {}
for _s in [tensor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, tensmetric, name)
__repr__ = _swig_repr
def __init__(self):
"""__init__(self) -> tensmetric"""
this = _swiginac.new_tensmetric()
try: self.this.append(this)
except: self.this = this
def eval_indexed(self, *args):
"""eval_indexed(self, basic i) -> ex"""
return _swiginac.tensmetric_eval_indexed(self, *args)
def contract_with(self, *args):
"""
contract_with(self, exvector::iterator self, exvector::iterator other,
exvector v) -> bool
"""
return _swiginac.tensmetric_contract_with(self, *args)
__swig_destroy__ = _swiginac.delete_tensmetric
__del__ = lambda self : None;
tensmetric_swigregister = _swiginac.tensmetric_swigregister
tensmetric_swigregister(tensmetric)
class minkmetric(tensmetric):
"""Proxy of C++ GiNaC::minkmetric class"""
__swig_setmethods__ = {}
for _s in [tensmetric]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, minkmetric, name, value)
__swig_getmethods__ = {}
for _s in [tensmetric]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, minkmetric, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(self) -> minkmetric
__init__(self, bool pos_sig) -> minkmetric
"""
this = _swiginac.new_minkmetric(*args)
try: self.this.append(this)
except: self.this = this
def eval_indexed(self, *args):
"""eval_indexed(self, basic i) -> ex"""
return _swiginac.minkmetric_eval_indexed(self, *args)
__swig_destroy__ = _swiginac.delete_minkmetric
__del__ = lambda self : None;
minkmetric_swigregister = _swiginac.minkmetric_swigregister
minkmetric_swigregister(minkmetric)
class spinmetric(tensmetric):
"""Proxy of C++ GiNaC::spinmetric class"""
__swig_setmethods__ = {}
for _s in [tensmetric]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, spinmetric, name, value)
__swig_getmethods__ = {}
for _s in [tensmetric]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, spinmetric, name)
__repr__ = _swig_repr
def __init__(self):
"""__init__(self) -> spinmetric"""
this = _swiginac.new_spinmetric()
try: self.this.append(this)
except: self.this = this
def eval_indexed(self, *args):
"""eval_indexed(self, basic i) -> ex"""
return _swiginac.spinmetric_eval_indexed(self, *args)
def contract_with(self, *args):
"""
contract_with(self, exvector::iterator self, exvector::iterator other,
exvector v) -> bool
"""
return _swiginac.spinmetric_contract_with(self, *args)
__swig_destroy__ = _swiginac.delete_spinmetric
__del__ = lambda self : None;
spinmetric_swigregister = _swiginac.spinmetric_swigregister
spinmetric_swigregister(spinmetric)
class tensepsilon(tensor):
"""Proxy of C++ GiNaC::tensepsilon class"""
__swig_setmethods__ = {}
for _s in [tensor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, tensepsilon, name, value)
__swig_getmethods__ = {}
for _s in [tensor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, tensepsilon, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(self) -> tensepsilon
__init__(self, bool minkowski, bool pos_sig) -> tensepsilon
"""
this = _swiginac.new_tensepsilon(*args)
try: self.this.append(this)
except: self.this = this
def eval_indexed(self, *args):
"""eval_indexed(self, basic i) -> ex"""
return _swiginac.tensepsilon_eval_indexed(self, *args)
def contract_with(self, *args):
"""
contract_with(self, exvector::iterator self, exvector::iterator other,
exvector v) -> bool
"""
return _swiginac.tensepsilon_contract_with(self, *args)
__swig_destroy__ = _swiginac.delete_tensepsilon
__del__ = lambda self : None;
tensepsilon_swigregister = _swiginac.tensepsilon_swigregister
tensepsilon_swigregister(tensepsilon)
def delta_tensor(*args):
"""delta_tensor(ex i1, ex i2) -> ex"""
return _swiginac.delta_tensor(*args)
def metric_tensor(*args):
"""metric_tensor(ex i1, ex i2) -> ex"""
return _swiginac.metric_tensor(*args)
def spinor_metric(*args):
"""spinor_metric(ex i1, ex i2) -> ex"""
return _swiginac.spinor_metric(*args)
class indexed(basic):
"""Proxy of C++ GiNaC::indexed class"""
__swig_setmethods__ = {}
for _s in [basic]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, indexed, name, value)
__swig_getmethods__ = {}
for _s in [basic]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, indexed, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(self, ex b) -> indexed
__init__(self, ex b, ex i1) -> indexed
__init__(self, ex b, ex i1, ex i2) -> indexed
__init__(self, ex b, ex i1, ex i2, ex i3) -> indexed
__init__(self, ex b, ex i1, ex i2, ex i3, ex i4) -> indexed
__init__(self, ex b, symmetry symm, ex i1, ex i2) -> indexed
__init__(self, ex b, symmetry symm, ex i1, ex i2, ex i3) -> indexed
__init__(self, ex b, symmetry symm, ex i1, ex i2, ex i3, ex i4) -> indexed
__init__(self, ex b, exvector iv) -> indexed
__init__(self, ex b, symmetry symm, exvector iv) -> indexed
__init__(self, symmetry symm, exprseq es) -> indexed
__init__(self, symmetry symm, exvector v, bool discardable = False) -> indexed
__init__(self, symmetry symm, exvector v) -> indexed
"""
this = _swiginac.new_indexed(*args)
try: self.this.append(this)
except: self.this = this
def get_free_indices(self):
"""get_free_indices(self) -> exvector"""
return _swiginac.indexed_get_free_indices(self)
def all_index_values_are(self, *args):
"""all_index_values_are(self, unsigned int inf) -> bool"""
return _swiginac.indexed_all_index_values_are(self, *args)
def get_indices(self):
"""get_indices(self) -> exvector"""
return _swiginac.indexed_get_indices(self)
def get_dummy_indices(self, *args):
"""
get_dummy_indices(self) -> exvector
get_dummy_indices(self, indexed other) -> exvector
"""
return _swiginac.indexed_get_dummy_indices(self, *args)
def has_dummy_index_for(self, *args):
"""has_dummy_index_for(self, ex i) -> bool"""
return _swiginac.indexed_has_dummy_index_for(self, *args)
def get_symmetry(self):
"""get_symmetry(self) -> ex"""
return _swiginac.indexed_get_symmetry(self)
__swig_destroy__ = _swiginac.delete_indexed
__del__ = lambda self : None;
indexed_swigregister = _swiginac.indexed_swigregister
indexed_swigregister(indexed)
def lorentz_g(*args):
"""
lorentz_g(ex i1, ex i2, bool pos_sig = False) -> ex
lorentz_g(ex i1, ex i2) -> ex
"""
return _swiginac.lorentz_g(*args)
def epsilon_tensor(*args):
"""
epsilon_tensor(ex i1, ex i2) -> ex
epsilon_tensor(ex i1, ex i2, ex i3) -> ex
"""
return _swiginac.epsilon_tensor(*args)
def lorentz_eps(*args):
"""
lorentz_eps(ex i1, ex i2, ex i3, ex i4, bool pos_sig = False) -> ex
lorentz_eps(ex i1, ex i2, ex i3, ex i4) -> ex
"""
return _swiginac.lorentz_eps(*args)
class spmapkey(_object):
"""Proxy of C++ GiNaC::spmapkey class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, spmapkey, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, spmapkey, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(self) -> spmapkey
__init__(self, ex v1, ex v2, ex dim = wild()) -> spmapkey
__init__(self, ex v1, ex v2) -> spmapkey
"""
this = _swiginac.new_spmapkey(*args)
try: self.this.append(this)
except: self.this = this
def __eq__(self, *args):
"""__eq__(self, spmapkey other) -> bool"""
return _swiginac.spmapkey___eq__(self, *args)
def __lt__(self, *args):
"""__lt__(self, spmapkey other) -> bool"""
return _swiginac.spmapkey___lt__(self, *args)
def debugprint(self):
"""debugprint(self)"""
return _swiginac.spmapkey_debugprint(self)
__swig_destroy__ = _swiginac.delete_spmapkey
__del__ = lambda self : None;
spmapkey_swigregister = _swiginac.spmapkey_swigregister
spmapkey_swigregister(spmapkey)
class scalar_products(_object):
"""Proxy of C++ GiNaC::scalar_products class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, scalar_products, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, scalar_products, name)
__repr__ = _swig_repr
def add(self, *args):
"""
add(self, ex v1, ex v2, ex sp)
add(self, ex v1, ex v2, ex dim, ex sp)
"""
return _swiginac.scalar_products_add(self, *args)
def add_vectors(self, *args):
"""
add_vectors(self, lst l, ex dim = wild())
add_vectors(self, lst l)
"""
return _swiginac.scalar_products_add_vectors(self, *args)
def clear(self):
"""clear(self)"""
return _swiginac.scalar_products_clear(self)
def is_defined(self, *args):
"""is_defined(self, ex v1, ex v2, ex dim) -> bool"""
return _swiginac.scalar_products_is_defined(self, *args)
def evaluate(self, *args):
"""evaluate(self, ex v1, ex v2, ex dim) -> ex"""
return _swiginac.scalar_products_evaluate(self, *args)
def debugprint(self):
"""debugprint(self)"""
return _swiginac.scalar_products_debugprint(self)
def __init__(self):
"""__init__(self) -> scalar_products"""
this = _swiginac.new_scalar_products()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_scalar_products
__del__ = lambda self : None;
scalar_products_swigregister = _swiginac.scalar_products_swigregister
scalar_products_swigregister(scalar_products)
def get_all_dummy_indices(*args):
"""get_all_dummy_indices(ex e) -> exvector"""
return _swiginac.get_all_dummy_indices(*args)
def rename_dummy_indices_uniquely(*args):
"""rename_dummy_indices_uniquely(ex a, ex b) -> ex"""
return _swiginac.rename_dummy_indices_uniquely(*args)
class idx(basic):
"""Proxy of C++ GiNaC::idx class"""
__swig_setmethods__ = {}
for _s in [basic]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, idx, name, value)
__swig_getmethods__ = {}
for _s in [basic]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, idx, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""__init__(self, ex v, ex dim) -> idx"""
this = _swiginac.new_idx(*args)
try: self.this.append(this)
except: self.this = this
def is_dummy_pair_same_type(self, *args):
"""is_dummy_pair_same_type(self, basic other) -> bool"""
return _swiginac.idx_is_dummy_pair_same_type(self, *args)
def get_value(self):
"""get_value(self) -> ex"""
return _swiginac.idx_get_value(self)
def is_numeric(self):
"""is_numeric(self) -> bool"""
return _swiginac.idx_is_numeric(self)
def is_symbolic(self):
"""is_symbolic(self) -> bool"""
return _swiginac.idx_is_symbolic(self)
def get_dim(self):
"""get_dim(self) -> ex"""
return _swiginac.idx_get_dim(self)
def is_dim_numeric(self):
"""is_dim_numeric(self) -> bool"""
return _swiginac.idx_is_dim_numeric(self)
def is_dim_symbolic(self):
"""is_dim_symbolic(self) -> bool"""
return _swiginac.idx_is_dim_symbolic(self)
def replace_dim(self, *args):
"""replace_dim(self, ex new_dim) -> ex"""
return _swiginac.idx_replace_dim(self, *args)
def minimal_dim(self, *args):
"""minimal_dim(self, idx other) -> ex"""
return _swiginac.idx_minimal_dim(self, *args)
def __repr__(self):
return self.__str__()
__swig_destroy__ = _swiginac.delete_idx
__del__ = lambda self : None;
idx_swigregister = _swiginac.idx_swigregister
idx_swigregister(idx)
def expand_dummy_sum(*args):
"""
expand_dummy_sum(ex e, bool subs_idx = False) -> ex
expand_dummy_sum(ex e) -> ex
"""
return _swiginac.expand_dummy_sum(*args)
class varidx(idx):
"""Proxy of C++ GiNaC::varidx class"""
__swig_setmethods__ = {}
for _s in [idx]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, varidx, name, value)
__swig_getmethods__ = {}
for _s in [idx]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, varidx, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(self, ex v, ex dim, bool covariant = False) -> varidx
__init__(self, ex v, ex dim) -> varidx
"""
this = _swiginac.new_varidx(*args)
try: self.this.append(this)
except: self.this = this
def is_dummy_pair_same_type(self, *args):
"""is_dummy_pair_same_type(self, basic other) -> bool"""
return _swiginac.varidx_is_dummy_pair_same_type(self, *args)
def is_covariant(self):
"""is_covariant(self) -> bool"""
return _swiginac.varidx_is_covariant(self)
def is_contravariant(self):
"""is_contravariant(self) -> bool"""
return _swiginac.varidx_is_contravariant(self)
def toggle_variance(self):
"""toggle_variance(self) -> ex"""
return _swiginac.varidx_toggle_variance(self)
def __repr__(self):
return self.__str__()
__swig_destroy__ = _swiginac.delete_varidx
__del__ = lambda self : None;
varidx_swigregister = _swiginac.varidx_swigregister
varidx_swigregister(varidx)
class spinidx(varidx):
"""Proxy of C++ GiNaC::spinidx class"""
__swig_setmethods__ = {}
for _s in [varidx]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, spinidx, name, value)
__swig_getmethods__ = {}
for _s in [varidx]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, spinidx, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(self, ex v, ex dim = 2, bool covariant = False, bool dotted = False) -> spinidx
__init__(self, ex v, ex dim = 2, bool covariant = False) -> spinidx
__init__(self, ex v, ex dim = 2) -> spinidx
__init__(self, ex v) -> spinidx
"""
this = _swiginac.new_spinidx(*args)
try: self.this.append(this)
except: self.this = this
def is_dummy_pair_same_type(self, *args):
"""is_dummy_pair_same_type(self, basic other) -> bool"""
return _swiginac.spinidx_is_dummy_pair_same_type(self, *args)
def is_dotted(self):
"""is_dotted(self) -> bool"""
return _swiginac.spinidx_is_dotted(self)
def is_undotted(self):
"""is_undotted(self) -> bool"""
return _swiginac.spinidx_is_undotted(self)
def toggle_dot(self):
"""toggle_dot(self) -> ex"""
return _swiginac.spinidx_toggle_dot(self)
def toggle_variance_dot(self):
"""toggle_variance_dot(self) -> ex"""
return _swiginac.spinidx_toggle_variance_dot(self)
__swig_destroy__ = _swiginac.delete_spinidx
__del__ = lambda self : None;
spinidx_swigregister = _swiginac.spinidx_swigregister
spinidx_swigregister(spinidx)
def find_dummy_indices(*args):
"""find_dummy_indices(exvector v, exvector out_dummy)"""
return _swiginac.find_dummy_indices(*args)
def count_dummy_indices(*args):
"""count_dummy_indices(exvector v) -> size_t"""
return _swiginac.count_dummy_indices(*args)
def count_free_indices(*args):
"""count_free_indices(exvector v) -> size_t"""
return _swiginac.count_free_indices(*args)
def minimal_dim(*args):
"""minimal_dim(ex dim1, ex dim2) -> ex"""
return _swiginac.minimal_dim(*args)
class symmetry(basic):
"""Proxy of C++ GiNaC::symmetry class"""
__swig_setmethods__ = {}
for _s in [basic]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, symmetry, name, value)
__swig_getmethods__ = {}
for _s in [basic]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, symmetry, name)
__repr__ = _swig_repr
none = _swiginac.symmetry_none
symmetric = _swiginac.symmetry_symmetric
antisymmetric = _swiginac.symmetry_antisymmetric
cyclic = _swiginac.symmetry_cyclic
def __init__(self, *args):
"""
__init__(self, unsigned int i) -> symmetry
__init__(self, symmetry_type t, symmetry c1, symmetry c2) -> symmetry
"""
this = _swiginac.new_symmetry(*args)
try: self.this.append(this)
except: self.this = this
def get_type(self):
"""get_type(self) -> symmetry_type"""
return _swiginac.symmetry_get_type(self)
def set_type(self, *args):
"""set_type(self, symmetry_type t)"""
return _swiginac.symmetry_set_type(self, *args)
def add(self, *args):
"""
add(self, symmetry c) -> symmetry
add(self, unsigned int c) -> symmetry
"""
return _swiginac.symmetry_add(self, *args)
def validate(self, *args):
"""validate(self, unsigned int n)"""
return _swiginac.symmetry_validate(self, *args)
def has_symmetry(self):
"""has_symmetry(self) -> bool"""
return _swiginac.symmetry_has_symmetry(self)
__swig_destroy__ = _swiginac.delete_symmetry
__del__ = lambda self : None;
symmetry_swigregister = _swiginac.symmetry_swigregister
symmetry_swigregister(symmetry)
def is_dummy_pair(*args):
"""
is_dummy_pair(idx i1, idx i2) -> bool
is_dummy_pair(ex e1, ex e2) -> bool
"""
return _swiginac.is_dummy_pair(*args)
def find_free_and_dummy(*args):
"""
find_free_and_dummy(exvector::const_iterator it, exvector::const_iterator itend,
exvector out_free, exvector out_dummy)
find_free_and_dummy(exvector v, exvector out_free, exvector out_dummy)
"""
return _swiginac.find_free_and_dummy(*args)
def not_symmetric():
"""not_symmetric() -> symmetry"""
return _swiginac.not_symmetric()
def symmetric2():
"""symmetric2() -> symmetry"""
return _swiginac.symmetric2()
def symmetric3():
"""symmetric3() -> symmetry"""
return _swiginac.symmetric3()
def symmetric4():
"""symmetric4() -> symmetry"""
return _swiginac.symmetric4()
def antisymmetric2():
"""antisymmetric2() -> symmetry"""
return _swiginac.antisymmetric2()
def antisymmetric3():
"""antisymmetric3() -> symmetry"""
return _swiginac.antisymmetric3()
def antisymmetric4():
"""antisymmetric4() -> symmetry"""
return _swiginac.antisymmetric4()
def canonicalize(*args):
"""canonicalize(exvector::iterator v, symmetry symm) -> int"""
return _swiginac.canonicalize(*args)
class clifford(indexed):
"""Proxy of C++ GiNaC::clifford class"""
__swig_setmethods__ = {}
for _s in [indexed]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, clifford, name, value)
__swig_getmethods__ = {}
for _s in [indexed]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, clifford, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(self, ex b, unsigned char rl = 0) -> clifford
__init__(self, ex b) -> clifford
__init__(self, ex b, ex mu, ex metr, unsigned char rl = 0, int comm_sign = -1) -> clifford
__init__(self, ex b, ex mu, ex metr, unsigned char rl = 0) -> clifford
__init__(self, ex b, ex mu, ex metr) -> clifford
__init__(self, unsigned char rl, ex metr, int comm_sign, exvector v,
bool discardable = False) -> clifford
__init__(self, unsigned char rl, ex metr, int comm_sign, exvector v) -> clifford
__init__(self, unsigned char rl, ex metr, int comm_sign, std::auto_ptr<(exvector)> vp) -> clifford
"""
this = _swiginac.new_clifford(*args)
try: self.this.append(this)
except: self.this = this
def precedence(self):
"""precedence(self) -> unsigned int"""
return _swiginac.clifford_precedence(self)
def archive(self, *args):
"""archive(self, archive_node n)"""
return _swiginac.clifford_archive(self, *args)
def read_archive(self, *args):
"""read_archive(self, archive_node n, lst sym_lst)"""
return _swiginac.clifford_read_archive(self, *args)
def get_representation_label(self):
"""get_representation_label(self) -> unsigned char"""
return _swiginac.clifford_get_representation_label(self)
def get_metric(self, *args):
"""
get_metric(self) -> ex
get_metric(self, ex i, ex j, bool symmetrised = False) -> ex
get_metric(self, ex i, ex j) -> ex
"""
return _swiginac.clifford_get_metric(self, *args)
def same_metric(self, *args):
"""same_metric(self, ex other) -> bool"""
return _swiginac.clifford_same_metric(self, *args)
def get_commutator_sign(self):
"""get_commutator_sign(self) -> int"""
return _swiginac.clifford_get_commutator_sign(self)
def nops(self):
"""nops(self) -> size_t"""
return _swiginac.clifford_nops(self)
def op(self, *args):
"""op(self, size_t i) -> ex"""
return _swiginac.clifford_op(self, *args)
def let_op(self, *args):
"""let_op(self, size_t i) -> ex"""
return _swiginac.clifford_let_op(self, *args)
def subs(self, *args):
"""
subs(self, exmap m, unsigned int options = 0) -> ex
subs(self, exmap m) -> ex
subs(self, lst ls, lst lr) -> ex
subs(self, ex e, unsigned int options = 0) -> ex
subs(self, ex e) -> ex
"""
return _swiginac.clifford_subs(self, *args)
def __repr__(self):
return self.__str__()
__swig_destroy__ = _swiginac.delete_clifford
__del__ = lambda self : None;
clifford_swigregister = _swiginac.clifford_swigregister
clifford_swigregister(clifford)
def sy_none(*args):
"""
sy_none() -> symmetry
sy_none(symmetry c1, symmetry c2) -> symmetry
sy_none(symmetry c1, symmetry c2, symmetry c3) -> symmetry
sy_none(symmetry c1, symmetry c2, symmetry c3, symmetry c4) -> symmetry
"""
return _swiginac.sy_none(*args)
def sy_symm(*args):
"""
sy_symm() -> symmetry
sy_symm(symmetry c1, symmetry c2) -> symmetry
sy_symm(symmetry c1, symmetry c2, symmetry c3) -> symmetry
sy_symm(symmetry c1, symmetry c2, symmetry c3, symmetry c4) -> symmetry
"""
return _swiginac.sy_symm(*args)
def sy_anti(*args):
"""
sy_anti() -> symmetry
sy_anti(symmetry c1, symmetry c2) -> symmetry
sy_anti(symmetry c1, symmetry c2, symmetry c3) -> symmetry
sy_anti(symmetry c1, symmetry c2, symmetry c3, symmetry c4) -> symmetry
"""
return _swiginac.sy_anti(*args)
def sy_cycl(*args):
"""
sy_cycl() -> symmetry
sy_cycl(symmetry c1, symmetry c2) -> symmetry
sy_cycl(symmetry c1, symmetry c2, symmetry c3) -> symmetry
sy_cycl(symmetry c1, symmetry c2, symmetry c3, symmetry c4) -> symmetry
"""
return _swiginac.sy_cycl(*args)
def symmetrize(*args):
"""
symmetrize(ex thisex) -> ex
symmetrize(ex thisex, lst l) -> ex
symmetrize(ex e, exvector::const_iterator first, exvector::const_iterator last) -> ex
symmetrize(ex e, exvector v) -> ex
"""
return _swiginac.symmetrize(*args)
def antisymmetrize(*args):
"""
antisymmetrize(ex thisex) -> ex
antisymmetrize(ex thisex, lst l) -> ex
antisymmetrize(ex e, exvector::const_iterator first, exvector::const_iterator last) -> ex
antisymmetrize(ex e, exvector v) -> ex
"""
return _swiginac.antisymmetrize(*args)
def symmetrize_cyclic(*args):
"""
symmetrize_cyclic(ex thisex) -> ex
symmetrize_cyclic(ex thisex, lst l) -> ex
symmetrize_cyclic(ex e, exvector::const_iterator first, exvector::const_iterator last) -> ex
symmetrize_cyclic(ex e, exvector v) -> ex
"""
return _swiginac.symmetrize_cyclic(*args)
class diracone(tensor):
"""Proxy of C++ GiNaC::diracone class"""
__swig_setmethods__ = {}
for _s in [tensor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, diracone, name, value)
__swig_getmethods__ = {}
for _s in [tensor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, diracone, name)
__repr__ = _swig_repr
def __init__(self):
"""__init__(self) -> diracone"""
this = _swiginac.new_diracone()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_diracone
__del__ = lambda self : None;
diracone_swigregister = _swiginac.diracone_swigregister
diracone_swigregister(diracone)
class cliffordunit(tensor):
"""Proxy of C++ GiNaC::cliffordunit class"""
__swig_setmethods__ = {}
for _s in [tensor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, cliffordunit, name, value)
__swig_getmethods__ = {}
for _s in [tensor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, cliffordunit, name)
__repr__ = _swig_repr
def contract_with(self, *args):
"""
contract_with(self, exvector::iterator self, exvector::iterator other,
exvector v) -> bool
"""
return _swiginac.cliffordunit_contract_with(self, *args)
def __init__(self):
"""__init__(self) -> cliffordunit"""
this = _swiginac.new_cliffordunit()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_cliffordunit
__del__ = lambda self : None;
cliffordunit_swigregister = _swiginac.cliffordunit_swigregister
cliffordunit_swigregister(cliffordunit)
class diracgamma(cliffordunit):
"""Proxy of C++ GiNaC::diracgamma class"""
__swig_setmethods__ = {}
for _s in [cliffordunit]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, diracgamma, name, value)
__swig_getmethods__ = {}
for _s in [cliffordunit]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, diracgamma, name)
__repr__ = _swig_repr
def contract_with(self, *args):
"""
contract_with(self, exvector::iterator self, exvector::iterator other,
exvector v) -> bool
"""
return _swiginac.diracgamma_contract_with(self, *args)
def __init__(self):
"""__init__(self) -> diracgamma"""
this = _swiginac.new_diracgamma()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_diracgamma
__del__ = lambda self : None;
diracgamma_swigregister = _swiginac.diracgamma_swigregister
diracgamma_swigregister(diracgamma)
class diracgamma5(tensor):
"""Proxy of C++ GiNaC::diracgamma5 class"""
__swig_setmethods__ = {}
for _s in [tensor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, diracgamma5, name, value)
__swig_getmethods__ = {}
for _s in [tensor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, diracgamma5, name)
__repr__ = _swig_repr
def __init__(self):
"""__init__(self) -> diracgamma5"""
this = _swiginac.new_diracgamma5()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_diracgamma5
__del__ = lambda self : None;
diracgamma5_swigregister = _swiginac.diracgamma5_swigregister
diracgamma5_swigregister(diracgamma5)
class diracgammaL(tensor):
"""Proxy of C++ GiNaC::diracgammaL class"""
__swig_setmethods__ = {}
for _s in [tensor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, diracgammaL, name, value)
__swig_getmethods__ = {}
for _s in [tensor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, diracgammaL, name)
__repr__ = _swig_repr
def __init__(self):
"""__init__(self) -> diracgammaL"""
this = _swiginac.new_diracgammaL()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_diracgammaL
__del__ = lambda self : None;
diracgammaL_swigregister = _swiginac.diracgammaL_swigregister
diracgammaL_swigregister(diracgammaL)
class diracgammaR(tensor):
"""Proxy of C++ GiNaC::diracgammaR class"""
__swig_setmethods__ = {}
for _s in [tensor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, diracgammaR, name, value)
__swig_getmethods__ = {}
for _s in [tensor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, diracgammaR, name)
__repr__ = _swig_repr
def __init__(self):
"""__init__(self) -> diracgammaR"""
this = _swiginac.new_diracgammaR()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_diracgammaR
__del__ = lambda self : None;
diracgammaR_swigregister = _swiginac.diracgammaR_swigregister
diracgammaR_swigregister(diracgammaR)
def canonicalize_clifford(*args):
"""canonicalize_clifford(ex e) -> ex"""
return _swiginac.canonicalize_clifford(*args)
def clifford_prime(*args):
"""clifford_prime(ex e) -> ex"""
return _swiginac.clifford_prime(*args)
def clifford_bar(*args):
"""clifford_bar(ex e) -> ex"""
return _swiginac.clifford_bar(*args)
def clifford_star(*args):
"""clifford_star(ex e) -> ex"""
return _swiginac.clifford_star(*args)
def clifford_norm(*args):
"""clifford_norm(ex e) -> ex"""
return _swiginac.clifford_norm(*args)
def clifford_inverse(*args):
"""clifford_inverse(ex e) -> ex"""
return _swiginac.clifford_inverse(*args)
class color(indexed):
"""Proxy of C++ GiNaC::color class"""
__swig_setmethods__ = {}
for _s in [indexed]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, color, name, value)
__swig_getmethods__ = {}
for _s in [indexed]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, color, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(self, ex b, unsigned char rl = 0) -> color
__init__(self, ex b) -> color
__init__(self, ex b, ex i1, unsigned char rl = 0) -> color
__init__(self, ex b, ex i1) -> color
__init__(self, unsigned char rl, exvector v, bool discardable = False) -> color
__init__(self, unsigned char rl, exvector v) -> color
__init__(self, unsigned char rl, std::auto_ptr<(exvector)> vp) -> color
"""
this = _swiginac.new_color(*args)
try: self.this.append(this)
except: self.this = this
def get_representation_label(self):
"""get_representation_label(self) -> unsigned char"""
return _swiginac.color_get_representation_label(self)
__swig_destroy__ = _swiginac.delete_color
__del__ = lambda self : None;
color_swigregister = _swiginac.color_swigregister
color_swigregister(color)
def dirac_ONE(rl = 0):
"""
dirac_ONE(unsigned char rl = 0) -> ex
dirac_ONE() -> ex
"""
return _swiginac.dirac_ONE(rl)
def clifford_unit(*args):
"""
clifford_unit(ex mu, ex metr, unsigned char rl = 0) -> ex
clifford_unit(ex mu, ex metr) -> ex
"""
return _swiginac.clifford_unit(*args)
def dirac_gamma(*args):
"""
dirac_gamma(ex mu, unsigned char rl = 0) -> ex
dirac_gamma(ex mu) -> ex
"""
return _swiginac.dirac_gamma(*args)
def dirac_gamma5(rl = 0):
"""
dirac_gamma5(unsigned char rl = 0) -> ex
dirac_gamma5() -> ex
"""
return _swiginac.dirac_gamma5(rl)
def dirac_gammaL(rl = 0):
"""
dirac_gammaL(unsigned char rl = 0) -> ex
dirac_gammaL() -> ex
"""
return _swiginac.dirac_gammaL(rl)
def dirac_gammaR(rl = 0):
"""
dirac_gammaR(unsigned char rl = 0) -> ex
dirac_gammaR() -> ex
"""
return _swiginac.dirac_gammaR(rl)
def dirac_slash(*args):
"""
dirac_slash(ex e, ex dim, unsigned char rl = 0) -> ex
dirac_slash(ex e, ex dim) -> ex
"""
return _swiginac.dirac_slash(*args)
def dirac_trace(*args):
"""
dirac_trace(ex e, std::set<(unsigned char)> rls, ex trONE = 4) -> ex
dirac_trace(ex e, std::set<(unsigned char)> rls) -> ex
dirac_trace(ex e, lst rll, ex trONE = 4) -> ex
dirac_trace(ex e, lst rll) -> ex
dirac_trace(ex e, unsigned char rl = 0, ex trONE = 4) -> ex
dirac_trace(ex e, unsigned char rl = 0) -> ex
dirac_trace(ex e) -> ex
"""
return _swiginac.dirac_trace(*args)
def remove_dirac_ONE(*args):
"""
remove_dirac_ONE(ex e, unsigned char rl = 0, unsigned int options = 0) -> ex
remove_dirac_ONE(ex e, unsigned char rl = 0) -> ex
remove_dirac_ONE(ex e) -> ex
"""
return _swiginac.remove_dirac_ONE(*args)
def clifford_max_label(*args):
"""
clifford_max_label(ex e, bool ignore_ONE = False) -> char
clifford_max_label(ex e) -> char
"""
return _swiginac.clifford_max_label(*args)
def lst_to_clifford(*args):
"""
lst_to_clifford(ex v, ex mu, ex metr, unsigned char rl = 0) -> ex
lst_to_clifford(ex v, ex mu, ex metr) -> ex
lst_to_clifford(ex v, ex e) -> ex
"""
return _swiginac.lst_to_clifford(*args)
def clifford_to_lst(*args):
"""
clifford_to_lst(ex e, ex c, bool algebraic = True) -> lst
clifford_to_lst(ex e, ex c) -> lst
"""
return _swiginac.clifford_to_lst(*args)
def clifford_moebius_map(*args):
"""
clifford_moebius_map(ex a, ex b, ex c, ex d, ex v, ex G, unsigned char rl = 0) -> ex
clifford_moebius_map(ex a, ex b, ex c, ex d, ex v, ex G) -> ex
clifford_moebius_map(ex M, ex v, ex G, unsigned char rl = 0) -> ex
clifford_moebius_map(ex M, ex v, ex G) -> ex
"""
return _swiginac.clifford_moebius_map(*args)
class su3one(tensor):
"""Proxy of C++ GiNaC::su3one class"""
__swig_setmethods__ = {}
for _s in [tensor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, su3one, name, value)
__swig_getmethods__ = {}
for _s in [tensor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, su3one, name)
__repr__ = _swig_repr
def __init__(self):
"""__init__(self) -> su3one"""
this = _swiginac.new_su3one()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_su3one
__del__ = lambda self : None;
su3one_swigregister = _swiginac.su3one_swigregister
su3one_swigregister(su3one)
class su3t(tensor):
"""Proxy of C++ GiNaC::su3t class"""
__swig_setmethods__ = {}
for _s in [tensor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, su3t, name, value)
__swig_getmethods__ = {}
for _s in [tensor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, su3t, name)
__repr__ = _swig_repr
def __init__(self):
"""__init__(self) -> su3t"""
this = _swiginac.new_su3t()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_su3t
__del__ = lambda self : None;
su3t_swigregister = _swiginac.su3t_swigregister
su3t_swigregister(su3t)
class su3f(tensor):
"""Proxy of C++ GiNaC::su3f class"""
__swig_setmethods__ = {}
for _s in [tensor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, su3f, name, value)
__swig_getmethods__ = {}
for _s in [tensor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, su3f, name)
__repr__ = _swig_repr
def __init__(self):
"""__init__(self) -> su3f"""
this = _swiginac.new_su3f()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_su3f
__del__ = lambda self : None;
su3f_swigregister = _swiginac.su3f_swigregister
su3f_swigregister(su3f)
class su3d(tensor):
"""Proxy of C++ GiNaC::su3d class"""
__swig_setmethods__ = {}
for _s in [tensor]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, su3d, name, value)
__swig_getmethods__ = {}
for _s in [tensor]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, su3d, name)
__repr__ = _swig_repr
def __init__(self):
"""__init__(self) -> su3d"""
this = _swiginac.new_su3d()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_su3d
__del__ = lambda self : None;
su3d_swigregister = _swiginac.su3d_swigregister
su3d_swigregister(su3d)
def color_f(*args):
"""color_f(ex a, ex b, ex c) -> ex"""
return _swiginac.color_f(*args)
def color_d(*args):
"""color_d(ex a, ex b, ex c) -> ex"""
return _swiginac.color_d(*args)
def color_h(*args):
"""color_h(ex a, ex b, ex c) -> ex"""
return _swiginac.color_h(*args)
class wildcard(basic):
"""Proxy of C++ GiNaC::wildcard class"""
__swig_setmethods__ = {}
for _s in [basic]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, wildcard, name, value)
__swig_getmethods__ = {}
for _s in [basic]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, wildcard, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(self) -> wildcard
__init__(self, unsigned int label) -> wildcard
"""
this = _swiginac.new_wildcard(*args)
try: self.this.append(this)
except: self.this = this
def get_label(self):
"""get_label(self) -> unsigned int"""
return _swiginac.wildcard_get_label(self)
__swig_destroy__ = _swiginac.delete_wildcard
__del__ = lambda self : None;
wildcard_swigregister = _swiginac.wildcard_swigregister
wildcard_swigregister(wildcard)
def color_ONE(rl = 0):
"""
color_ONE(unsigned char rl = 0) -> ex
color_ONE() -> ex
"""
return _swiginac.color_ONE(rl)
def color_T(*args):
"""
color_T(ex a, unsigned char rl = 0) -> ex
color_T(ex a) -> ex
"""
return _swiginac.color_T(*args)
def color_trace(*args):
"""
color_trace(ex e, std::set<(unsigned char)> rls) -> ex
color_trace(ex e, lst rll) -> ex
color_trace(ex e, unsigned char rl = 0) -> ex
color_trace(ex e) -> ex
"""
return _swiginac.color_trace(*args)
def haswild(*args):
"""haswild(ex x) -> bool"""
return _swiginac.haswild(*args)
class expand_options(_object):
"""Proxy of C++ GiNaC::expand_options class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, expand_options, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, expand_options, name)
__repr__ = _swig_repr
expand_indexed = _swiginac.expand_options_expand_indexed
expand_function_args = _swiginac.expand_options_expand_function_args
def __init__(self):
"""__init__(self) -> expand_options"""
this = _swiginac.new_expand_options()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_expand_options
__del__ = lambda self : None;
expand_options_swigregister = _swiginac.expand_options_swigregister
expand_options_swigregister(expand_options)
def wild(label = 0):
"""
wild(unsigned int label = 0) -> ex
wild() -> ex
"""
return _swiginac.wild(label)
class subs_options(_object):
"""Proxy of C++ GiNaC::subs_options class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, subs_options, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, subs_options, name)
__repr__ = _swig_repr
no_pattern = _swiginac.subs_options_no_pattern
subs_no_pattern = _swiginac.subs_options_subs_no_pattern
algebraic = _swiginac.subs_options_algebraic
subs_algebraic = _swiginac.subs_options_subs_algebraic
pattern_is_product = _swiginac.subs_options_pattern_is_product
pattern_is_not_product = _swiginac.subs_options_pattern_is_not_product
def __init__(self):
"""__init__(self) -> subs_options"""
this = _swiginac.new_subs_options()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_subs_options
__del__ = lambda self : None;
subs_options_swigregister = _swiginac.subs_options_swigregister
subs_options_swigregister(subs_options)
class determinant_algo(_object):
"""Proxy of C++ GiNaC::determinant_algo class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, determinant_algo, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, determinant_algo, name)
__repr__ = _swig_repr
automatic = _swiginac.determinant_algo_automatic
gauss = _swiginac.determinant_algo_gauss
divfree = _swiginac.determinant_algo_divfree
laplace = _swiginac.determinant_algo_laplace
bareiss = _swiginac.determinant_algo_bareiss
def __init__(self):
"""__init__(self) -> determinant_algo"""
this = _swiginac.new_determinant_algo()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_determinant_algo
__del__ = lambda self : None;
determinant_algo_swigregister = _swiginac.determinant_algo_swigregister
determinant_algo_swigregister(determinant_algo)
class info_flags(_object):
"""Proxy of C++ GiNaC::info_flags class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, info_flags, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, info_flags, name)
__repr__ = _swig_repr
numeric = _swiginac.info_flags_numeric
real = _swiginac.info_flags_real
rational = _swiginac.info_flags_rational
integer = _swiginac.info_flags_integer
crational = _swiginac.info_flags_crational
cinteger = _swiginac.info_flags_cinteger
positive = _swiginac.info_flags_positive
negative = _swiginac.info_flags_negative
nonnegative = _swiginac.info_flags_nonnegative
posint = _swiginac.info_flags_posint
negint = _swiginac.info_flags_negint
nonnegint = _swiginac.info_flags_nonnegint
even = _swiginac.info_flags_even
odd = _swiginac.info_flags_odd
prime = _swiginac.info_flags_prime
relation = _swiginac.info_flags_relation
relation_equal = _swiginac.info_flags_relation_equal
relation_not_equal = _swiginac.info_flags_relation_not_equal
relation_less = _swiginac.info_flags_relation_less
relation_less_or_equal = _swiginac.info_flags_relation_less_or_equal
relation_greater = _swiginac.info_flags_relation_greater
relation_greater_or_equal = _swiginac.info_flags_relation_greater_or_equal
symbol = _swiginac.info_flags_symbol
list = _swiginac.info_flags_list
exprseq = _swiginac.info_flags_exprseq
polynomial = _swiginac.info_flags_polynomial
integer_polynomial = _swiginac.info_flags_integer_polynomial
cinteger_polynomial = _swiginac.info_flags_cinteger_polynomial
rational_polynomial = _swiginac.info_flags_rational_polynomial
crational_polynomial = _swiginac.info_flags_crational_polynomial
rational_function = _swiginac.info_flags_rational_function
algebraic = _swiginac.info_flags_algebraic
indexed = _swiginac.info_flags_indexed
has_indices = _swiginac.info_flags_has_indices
idx = _swiginac.info_flags_idx
def __init__(self):
"""__init__(self) -> info_flags"""
this = _swiginac.new_info_flags()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _swiginac.delete_info_flags
__del__ = lambda self : None;
info_flags_swigregister = _swiginac.info_flags_swigregister
info_flags_swigregister(info_flags)
class pseries(basic):
"""Proxy of C++ GiNaC::pseries class"""
__swig_setmethods__ = {}
for _s in [basic]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, pseries, name, value)
__swig_getmethods__ = {}
for _s in [basic]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, pseries, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""__init__(self, ex rel_, epvector ops_) -> pseries"""
this = _swiginac.new_pseries(*args)
try: self.this.append(this)
except: self.this = this
def get_var(self):
"""get_var(self) -> ex"""
return _swiginac.pseries_get_var(self)
def get_point(self):
"""get_point(self) -> ex"""
return _swiginac.pseries_get_point(self)
def convert_to_poly(self, no_order = False):
"""
convert_to_poly(self, bool no_order = False) -> ex
convert_to_poly(self) -> ex
"""
return _swiginac.pseries_convert_to_poly(self, no_order)
def is_compatible_to(self, *args):
"""is_compatible_to(self, pseries other) -> bool"""
return _swiginac.pseries_is_compatible_to(self, *args)
def is_zero(self):
"""is_zero(self) -> bool"""
return _swiginac.pseries_is_zero(self)
def is_terminating(self):
"""is_terminating(self) -> bool"""
return _swiginac.pseries_is_terminating(self)
def coeffop(self, *args):
"""coeffop(self, size_t i) -> ex"""
return _swiginac.pseries_coeffop(self, *args)
def exponop(self, *args):
"""exponop(self, size_t i) -> ex"""
return _swiginac.pseries_exponop(self, *args)
def add_series(self, *args):
"""add_series(self, pseries other) -> ex"""
return _swiginac.pseries_add_series(self, *args)
def mul_const(self, *args):
"""mul_const(self, numeric other) -> ex"""
return _swiginac.pseries_mul_const(self, *args)
def mul_series(self, *args):
"""mul_series(self, pseries other) -> ex"""
return _swiginac.pseries_mul_series(self, *args)
def power_const(self, *args):
"""power_const(self, numeric p, int deg) -> ex"""
return _swiginac.pseries_power_const(self, *args)
def shift_exponents(self, *args):
"""shift_exponents(self, int deg) -> pseries"""
return _swiginac.pseries_shift_exponents(self, *args)
def __repr__(self):
return self.__str__()
__swig_destroy__ = _swiginac.delete_pseries
__del__ = lambda self : None;
pseries_swigregister = _swiginac.pseries_swigregister
pseries_swigregister(pseries)
def series_to_poly(*args):
"""series_to_poly(ex e) -> ex"""
return _swiginac.series_to_poly(*args)
def is_terminating(*args):
"""is_terminating(pseries s) -> bool"""
return _swiginac.is_terminating(*args)
def fsolve(*args):
"""fsolve(ex f, symbol x, numeric x1, numeric x2) -> numeric"""
return _swiginac.fsolve(*args)
class archive_node(_object):
"""Proxy of C++ GiNaC::archive_node class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, archive_node, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, archive_node, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
__init__(self) -> archive_node
__init__(self, archive ar) -> archive_node
__init__(self, archive ar, ex expr) -> archive_node
"""
this = _swiginac.new_archive_node(*args)
try: self.this.append(this)
except: self.this = this
def add_bool(self, *args):
"""add_bool(self, string name, bool value)"""
return _swiginac.archive_node_add_bool(self, *args)
def add_unsigned(self, *args):
"""add_unsigned(self, string name, unsigned int value)"""
return _swiginac.archive_node_add_unsigned(self, *args)
def add_string(self, *args):
"""add_string(self, string name, string value)"""
return _swiginac.archive_node_add_string(self, *args)
def add_ex(self, *args):
"""add_ex(self, string name, ex value)"""
return _swiginac.archive_node_add_ex(self, *args)
def find_bool(self, *args):
"""
find_bool(self, string name, bool ret, unsigned int index = 0) -> bool
find_bool(self, string name, bool ret) -> bool
"""
return _swiginac.archive_node_find_bool(self, *args)
def find_unsigned(self, *args):
"""
find_unsigned(self, string name, unsigned int ret, unsigned int index = 0) -> bool
find_unsigned(self, string name, unsigned int ret) -> bool
"""
return _swiginac.archive_node_find_unsigned(self, *args)
def find_string(self, *args):
"""
find_string(self, string name, string ret, unsigned int index = 0) -> bool
find_string(self, string name, string ret) -> bool
"""
return _swiginac.archive_node_find_string(self, *args)
def find_ex(self, *args):
"""
find_ex(self, string name, ex ret, lst sym_lst, unsigned int index = 0) -> bool
find_ex(self, string name, ex ret, lst sym_lst) -> bool
"""
return _swiginac.archive_node_find_ex(self, *args)
def find_ex_node(self, *args):
"""
find_ex_node(self, string name, unsigned int index = 0) -> archive_node
find_ex_node(self, string name) -> archive_node
"""
return _swiginac.archive_node_find_ex_node(self, *args)
def unarchive(self, *args):
"""unarchive(self, lst sym_lst) -> ex"""
return _swiginac.archive_node_unarchive(self, *args)
def has_same_ex_as(self, *args):
"""has_same_ex_as(self, archive_node other) -> bool"""
return _swiginac.archive_node_has_same_ex_as(self, *args)
def has_ex(self):
"""has_ex(self) -> bool"""
return _swiginac.archive_node_has_ex(self)
def get_ex(self):
"""get_ex(self) -> ex"""
return _swiginac.archive_node_get_ex(self)
def forget(self):
"""forget(self)"""
return _swiginac.archive_node_forget(self)
def printraw(self, *args):
"""printraw(self, ostream os)"""
return _swiginac.archive_node_printraw(self, *args)
__swig_destroy__ = _swiginac.delete_archive_node
__del__ = lambda self : None;
archive_node_swigregister = _swiginac.archive_node_swigregister
archive_node_swigregister(archive_node)
class archive(_object):
"""Proxy of C++ GiNaC::archive class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, archive, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, archive, name)
__repr__ = _swig_repr
__swig_destroy__ = _swiginac.delete_archive
__del__ = lambda self : None;
def __init__(self, *args):
"""
__init__(self) -> archive
__init__(self, ex e) -> archive
__init__(self, ex e, char n) -> archive
"""
this = _swiginac.new_archive(*args)
try: self.this.append(this)
except: self.this = this
def archive_ex(self, *args):
"""archive_ex(self, ex e, char name)"""
return _swiginac.archive_archive_ex(self, *args)
def unarchive_ex(self, *args):
"""
unarchive_ex(self, lst sym_lst, char name) -> ex
unarchive_ex(self, lst sym_lst, unsigned int index = 0) -> ex
unarchive_ex(self, lst sym_lst) -> ex
unarchive_ex(self, lst sym_lst, string name, unsigned int index = 0) -> ex
unarchive_ex(self, lst sym_lst, string name) -> ex
"""
return _swiginac.archive_unarchive_ex(self, *args)
def num_expressions(self):
"""num_expressions(self) -> unsigned int"""
return _swiginac.archive_num_expressions(self)
def get_top_node(self, index = 0):
"""
get_top_node(self, unsigned int index = 0) -> archive_node
get_top_node(self) -> archive_node
"""
return _swiginac.archive_get_top_node(self, index)
def clear(self):
"""clear(self)"""
return _swiginac.archive_clear(self)
def add_node(self, *args):
"""add_node(self, archive_node n) -> archive_node_id"""
return _swiginac.archive_add_node(self, *args)
def get_node(self, *args):
"""get_node(self, archive_node_id id) -> archive_node"""
return _swiginac.archive_get_node(self, *args)
def forget(self):
"""forget(self)"""
return _swiginac.archive_forget(self)
def printraw(self, *args):
"""printraw(self, ostream os)"""
return _swiginac.archive_printraw(self, *args)
def atomize(self, *args):
"""atomize(self, string s) -> archive_atom"""
return _swiginac.archive_atomize(self, *args)
def unatomize(self, *args):
"""unatomize(self, archive_atom id) -> string"""
return _swiginac.archive_unatomize(self, *args)
def load(self, *args):
"""load(self, string filename)"""
return _swiginac.archive_load(self, *args)
def dump(self, *args):
"""dump(self, string filename)"""
return _swiginac.archive_dump(self, *args)
archive_swigregister = _swiginac.archive_swigregister
archive_swigregister(archive)
def __lshift__(*args):
"""__lshift__(ostream os, archive ar) -> ostream"""
return _swiginac.__lshift__(*args)
def __rshift__(*args):
"""__rshift__(istream _is, archive ar) -> istream"""
return _swiginac.__rshift__(*args)
class exvector(_object):
"""Proxy of C++ std::vector<(GiNaC::ex)> class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, exvector, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, exvector, name)
__repr__ = _swig_repr
def iterator(self):
"""iterator(self) -> SwigPyIterator"""
return _swiginac.exvector_iterator(self)
def __iter__(self): return self.iterator()
def __nonzero__(self):
"""__nonzero__(self) -> bool"""
return _swiginac.exvector___nonzero__(self)
def __bool__(self):
"""__bool__(self) -> bool"""
return _swiginac.exvector___bool__(self)
def __len__(self):
"""__len__(self) -> size_type"""
return _swiginac.exvector___len__(self)
def pop(self):
"""pop(self) -> value_type"""
return _swiginac.exvector_pop(self)
def __getslice__(self, *args):
"""__getslice__(self, difference_type i, difference_type j) -> exvector"""
return _swiginac.exvector___getslice__(self, *args)
def __setslice__(self, *args):
"""__setslice__(self, difference_type i, difference_type j, exvector v)"""
return _swiginac.exvector___setslice__(self, *args)
def __delslice__(self, *args):
"""__delslice__(self, difference_type i, difference_type j)"""
return _swiginac.exvector___delslice__(self, *args)
def __delitem__(self, *args):
"""
__delitem__(self, difference_type i)
__delitem__(self, PySliceObject slice)
"""
return _swiginac.exvector___delitem__(self, *args)
def __getitem__(self, *args):
"""
__getitem__(self, PySliceObject slice) -> exvector
__getitem__(self, difference_type i) -> value_type
"""
return _swiginac.exvector___getitem__(self, *args)
def __setitem__(self, *args):
"""
__setitem__(self, PySliceObject slice, exvector v)
__setitem__(self, difference_type i, value_type x)
"""
return _swiginac.exvector___setitem__(self, *args)
def append(self, *args):
"""append(self, value_type x)"""
return _swiginac.exvector_append(self, *args)
def empty(self):
"""empty(self) -> bool"""
return _swiginac.exvector_empty(self)
def size(self):
"""size(self) -> size_type"""
return _swiginac.exvector_size(self)
def clear(self):
"""clear(self)"""
return _swiginac.exvector_clear(self)
def swap(self, *args):
"""swap(self, exvector v)"""
return _swiginac.exvector_swap(self, *args)
def get_allocator(self):
"""get_allocator(self) -> allocator_type"""
return _swiginac.exvector_get_allocator(self)
def begin(self):
"""begin(self) -> const_iterator"""
return _swiginac.exvector_begin(self)
def end(self):
"""end(self) -> const_iterator"""
return _swiginac.exvector_end(self)
def rbegin(self):
"""rbegin(self) -> const_reverse_iterator"""
return _swiginac.exvector_rbegin(self)
def rend(self):
"""rend(self) -> const_reverse_iterator"""
return _swiginac.exvector_rend(self)
def pop_back(self):
"""pop_back(self)"""
return _swiginac.exvector_pop_back(self)
def erase(self, *args):
"""
erase(self, iterator pos) -> iterator
erase(self, iterator first, iterator last) -> iterator
"""
return _swiginac.exvector_erase(self, *args)
def __init__(self, *args):
"""
__init__(self) -> exvector
__init__(self, exvector arg0) -> exvector
__init__(self, size_type size) -> exvector
__init__(self, size_type size, value_type value) -> exvector
"""
this = _swiginac.new_exvector(*args)
try: self.this.append(this)
except: self.this = this
def push_back(self, *args):
"""push_back(self, value_type x)"""
return _swiginac.exvector_push_back(self, *args)
def front(self):
"""front(self) -> value_type"""
return _swiginac.exvector_front(self)
def back(self):
"""back(self) -> value_type"""
return _swiginac.exvector_back(self)
def assign(self, *args):
"""assign(self, size_type n, value_type x)"""
return _swiginac.exvector_assign(self, *args)
def resize(self, *args):
"""
resize(self, size_type new_size)
resize(self, size_type new_size, value_type x)
"""
return _swiginac.exvector_resize(self, *args)
def insert(self, *args):
"""
insert(self, iterator pos, value_type x) -> iterator
insert(self, iterator pos, size_type n, value_type x)
"""
return _swiginac.exvector_insert(self, *args)
def reserve(self, *args):
"""reserve(self, size_type n)"""
return _swiginac.exvector_reserve(self, *args)
def capacity(self):
"""capacity(self) -> size_type"""
return _swiginac.exvector_capacity(self)
__swig_destroy__ = _swiginac.delete_exvector
__del__ = lambda self : None;
exvector_swigregister = _swiginac.exvector_swigregister
exvector_swigregister(exvector)
class exmap(_object):
"""Proxy of C++ std::map<(GiNaC::ex,GiNaC::ex,GiNaC::ex_is_less)> class"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, exmap, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, exmap, name)
__repr__ = _swig_repr
def iterator(self):
"""iterator(self) -> SwigPyIterator"""
return _swiginac.exmap_iterator(self)
def __iter__(self): return self.iterator()
def __nonzero__(self):
"""__nonzero__(self) -> bool"""
return _swiginac.exmap___nonzero__(self)
def __bool__(self):
"""__bool__(self) -> bool"""
return _swiginac.exmap___bool__(self)
def __len__(self):
"""__len__(self) -> size_type"""
return _swiginac.exmap___len__(self)
def __getitem__(self, *args):
"""__getitem__(self, key_type key) -> mapped_type"""
return _swiginac.exmap___getitem__(self, *args)
def __delitem__(self, *args):
"""__delitem__(self, key_type key)"""
return _swiginac.exmap___delitem__(self, *args)
def has_key(self, *args):
"""has_key(self, key_type key) -> bool"""
return _swiginac.exmap_has_key(self, *args)
def keys(self):
"""keys(self) -> PyObject"""
return _swiginac.exmap_keys(self)
def values(self):
"""values(self) -> PyObject"""
return _swiginac.exmap_values(self)
def items(self):
"""items(self) -> PyObject"""
return _swiginac.exmap_items(self)
def __contains__(self, *args):
"""__contains__(self, key_type key) -> bool"""
return _swiginac.exmap___contains__(self, *args)
def key_iterator(self):
"""key_iterator(self) -> SwigPyIterator"""
return _swiginac.exmap_key_iterator(self)
def value_iterator(self):
"""value_iterator(self) -> SwigPyIterator"""
return _swiginac.exmap_value_iterator(self)
def __iter__(self): return self.key_iterator()
def iterkeys(self): return self.key_iterator()
def itervalues(self): return self.value_iterator()
def iteritems(self): return self.iterator()
def __setitem__(self, *args):
"""__setitem__(self, key_type key, mapped_type x)"""
return _swiginac.exmap___setitem__(self, *args)
def __init__(self, *args):
"""
__init__(self, ex_is_less arg0) -> exmap
__init__(self) -> exmap
__init__(self, exmap arg0) -> exmap
"""
this = _swiginac.new_exmap(*args)
try: self.this.append(this)
except: self.this = this
def empty(self):
"""empty(self) -> bool"""
return _swiginac.exmap_empty(self)
def size(self):
"""size(self) -> size_type"""
return _swiginac.exmap_size(self)
def clear(self):
"""clear(self)"""
return _swiginac.exmap_clear(self)
def swap(self, *args):
"""swap(self, exmap v)"""
return _swiginac.exmap_swap(self, *args)
def get_allocator(self):
"""get_allocator(self) -> allocator_type"""
return _swiginac.exmap_get_allocator(self)
def begin(self):
"""begin(self) -> const_iterator"""
return _swiginac.exmap_begin(self)
def end(self):
"""end(self) -> const_iterator"""
return _swiginac.exmap_end(self)
def rbegin(self):
"""rbegin(self) -> const_reverse_iterator"""
return _swiginac.exmap_rbegin(self)
def rend(self):
"""rend(self) -> const_reverse_iterator"""
return _swiginac.exmap_rend(self)
def count(self, *args):
"""count(self, key_type x) -> size_type"""
return _swiginac.exmap_count(self, *args)
def erase(self, *args):
"""
erase(self, key_type x) -> size_type
erase(self, iterator position)
erase(self, iterator first, iterator last)
"""
return _swiginac.exmap_erase(self, *args)
def find(self, *args):
"""find(self, key_type x) -> iterator"""
return _swiginac.exmap_find(self, *args)
def lower_bound(self, *args):
"""lower_bound(self, key_type x) -> iterator"""
return _swiginac.exmap_lower_bound(self, *args)
def upper_bound(self, *args):
"""upper_bound(self, key_type x) -> iterator"""
return _swiginac.exmap_upper_bound(self, *args)
__swig_destroy__ = _swiginac.delete_exmap
__del__ = lambda self : None;
exmap_swigregister = _swiginac.exmap_swigregister
exmap_swigregister(exmap)
_dict = {}
def get_symbols(name, number):
global _dict
if not _dict.has_key(name):
_dict[name] = [symbol("%s%d" % (name,i)) for i in xrange(number)]
else:
x = _dict[name]
n = len(x)
if n >= number:
return x[:]
else:
_dict[name] += [symbol("%s%d" % (name,i)) for i in xrange(n, number)]
return _dict[name][:]
def get_symbol(*args):
"""get_symbol(string name) -> symbol"""
return _swiginac.get_symbol(*args)
def parse_string(*args):
"""parse_string(string str, lst ls) -> ex"""
return _swiginac.parse_string(*args)
def toex(*args):
"""
toex(lst l) -> ex
toex(lst l) -> ex
toex(basic b) -> ex
"""
return _swiginac.toex(*args)
|