passagemath-singular 10.6.31rc3__cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of passagemath-singular might be problematic. Click here for more details.

Files changed (490) hide show
  1. PySingular.cpython-314-aarch64-linux-gnu.so +0 -0
  2. passagemath_singular-10.6.31rc3.dist-info/METADATA +183 -0
  3. passagemath_singular-10.6.31rc3.dist-info/RECORD +490 -0
  4. passagemath_singular-10.6.31rc3.dist-info/WHEEL +6 -0
  5. passagemath_singular-10.6.31rc3.dist-info/top_level.txt +3 -0
  6. passagemath_singular.libs/libSingular-4-6a2a8666.4.1.so +0 -0
  7. passagemath_singular.libs/libcddgmp-ac579979.so.0.1.3 +0 -0
  8. passagemath_singular.libs/libfactory-4-66e33516.4.1.so +0 -0
  9. passagemath_singular.libs/libflint-81de1160.so.21.0.0 +0 -0
  10. passagemath_singular.libs/libgf2x-fbd36f80.so.3.0.0 +0 -0
  11. passagemath_singular.libs/libgfortran-e1b7dfc8.so.5.0.0 +0 -0
  12. passagemath_singular.libs/libgmp-93ebf16a.so.10.5.0 +0 -0
  13. passagemath_singular.libs/libgsl-e3525837.so.28.0.0 +0 -0
  14. passagemath_singular.libs/libmpfr-e0f11cf3.so.6.2.1 +0 -0
  15. passagemath_singular.libs/libntl-0043a3a2.so.44.0.1 +0 -0
  16. passagemath_singular.libs/libomalloc-0-06512335.9.6.so +0 -0
  17. passagemath_singular.libs/libopenblasp-r0-4c5b64b1.3.29.so +0 -0
  18. passagemath_singular.libs/libpolys-4-cb7246b5.4.1.so +0 -0
  19. passagemath_singular.libs/libreadline-28330744.so.8.2 +0 -0
  20. passagemath_singular.libs/libsingular_resources-4-8c425241.4.1.so +0 -0
  21. passagemath_singular.libs/libtinfo-f81c2d16.so.6.3 +0 -0
  22. sage/algebras/all__sagemath_singular.py +3 -0
  23. sage/algebras/fusion_rings/all.py +19 -0
  24. sage/algebras/fusion_rings/f_matrix.py +2448 -0
  25. sage/algebras/fusion_rings/fast_parallel_fmats_methods.cpython-314-aarch64-linux-gnu.so +0 -0
  26. sage/algebras/fusion_rings/fast_parallel_fmats_methods.pxd +5 -0
  27. sage/algebras/fusion_rings/fast_parallel_fmats_methods.pyx +538 -0
  28. sage/algebras/fusion_rings/fast_parallel_fusion_ring_braid_repn.cpython-314-aarch64-linux-gnu.so +0 -0
  29. sage/algebras/fusion_rings/fast_parallel_fusion_ring_braid_repn.pxd +3 -0
  30. sage/algebras/fusion_rings/fast_parallel_fusion_ring_braid_repn.pyx +331 -0
  31. sage/algebras/fusion_rings/fusion_double.py +899 -0
  32. sage/algebras/fusion_rings/fusion_ring.py +1580 -0
  33. sage/algebras/fusion_rings/poly_tup_engine.cpython-314-aarch64-linux-gnu.so +0 -0
  34. sage/algebras/fusion_rings/poly_tup_engine.pxd +24 -0
  35. sage/algebras/fusion_rings/poly_tup_engine.pyx +579 -0
  36. sage/algebras/fusion_rings/shm_managers.cpython-314-aarch64-linux-gnu.so +0 -0
  37. sage/algebras/fusion_rings/shm_managers.pxd +24 -0
  38. sage/algebras/fusion_rings/shm_managers.pyx +780 -0
  39. sage/algebras/letterplace/all.py +1 -0
  40. sage/algebras/letterplace/free_algebra_element_letterplace.cpython-314-aarch64-linux-gnu.so +0 -0
  41. sage/algebras/letterplace/free_algebra_element_letterplace.pxd +18 -0
  42. sage/algebras/letterplace/free_algebra_element_letterplace.pyx +755 -0
  43. sage/algebras/letterplace/free_algebra_letterplace.cpython-314-aarch64-linux-gnu.so +0 -0
  44. sage/algebras/letterplace/free_algebra_letterplace.pxd +35 -0
  45. sage/algebras/letterplace/free_algebra_letterplace.pyx +914 -0
  46. sage/algebras/letterplace/letterplace_ideal.cpython-314-aarch64-linux-gnu.so +0 -0
  47. sage/algebras/letterplace/letterplace_ideal.pyx +408 -0
  48. sage/algebras/quatalg/all.py +2 -0
  49. sage/algebras/quatalg/quaternion_algebra.py +4778 -0
  50. sage/algebras/quatalg/quaternion_algebra_cython.cpython-314-aarch64-linux-gnu.so +0 -0
  51. sage/algebras/quatalg/quaternion_algebra_cython.pyx +261 -0
  52. sage/algebras/quatalg/quaternion_algebra_element.cpython-314-aarch64-linux-gnu.so +0 -0
  53. sage/algebras/quatalg/quaternion_algebra_element.pxd +29 -0
  54. sage/algebras/quatalg/quaternion_algebra_element.pyx +2176 -0
  55. sage/all__sagemath_singular.py +11 -0
  56. sage/ext_data/all__sagemath_singular.py +1 -0
  57. sage/ext_data/singular/function_field/core.lib +98 -0
  58. sage/interfaces/all__sagemath_singular.py +1 -0
  59. sage/interfaces/singular.py +2835 -0
  60. sage/libs/all__sagemath_singular.py +1 -0
  61. sage/libs/singular/__init__.py +1 -0
  62. sage/libs/singular/decl.pxd +1168 -0
  63. sage/libs/singular/function.cpython-314-aarch64-linux-gnu.so +0 -0
  64. sage/libs/singular/function.pxd +87 -0
  65. sage/libs/singular/function.pyx +1901 -0
  66. sage/libs/singular/function_factory.py +61 -0
  67. sage/libs/singular/groebner_strategy.cpython-314-aarch64-linux-gnu.so +0 -0
  68. sage/libs/singular/groebner_strategy.pxd +22 -0
  69. sage/libs/singular/groebner_strategy.pyx +582 -0
  70. sage/libs/singular/option.cpython-314-aarch64-linux-gnu.so +0 -0
  71. sage/libs/singular/option.pyx +671 -0
  72. sage/libs/singular/polynomial.cpython-314-aarch64-linux-gnu.so +0 -0
  73. sage/libs/singular/polynomial.pxd +39 -0
  74. sage/libs/singular/polynomial.pyx +661 -0
  75. sage/libs/singular/ring.cpython-314-aarch64-linux-gnu.so +0 -0
  76. sage/libs/singular/ring.pxd +58 -0
  77. sage/libs/singular/ring.pyx +893 -0
  78. sage/libs/singular/singular.cpython-314-aarch64-linux-gnu.so +0 -0
  79. sage/libs/singular/singular.pxd +72 -0
  80. sage/libs/singular/singular.pyx +1944 -0
  81. sage/libs/singular/standard_options.py +145 -0
  82. sage/matrix/all__sagemath_singular.py +1 -0
  83. sage/matrix/matrix_mpolynomial_dense.cpython-314-aarch64-linux-gnu.so +0 -0
  84. sage/matrix/matrix_mpolynomial_dense.pxd +7 -0
  85. sage/matrix/matrix_mpolynomial_dense.pyx +615 -0
  86. sage/rings/all__sagemath_singular.py +1 -0
  87. sage/rings/function_field/all__sagemath_singular.py +1 -0
  88. sage/rings/function_field/derivations_polymod.py +911 -0
  89. sage/rings/function_field/element_polymod.cpython-314-aarch64-linux-gnu.so +0 -0
  90. sage/rings/function_field/element_polymod.pyx +406 -0
  91. sage/rings/function_field/function_field_polymod.py +2611 -0
  92. sage/rings/function_field/ideal_polymod.py +1775 -0
  93. sage/rings/function_field/order_polymod.py +1475 -0
  94. sage/rings/function_field/place_polymod.py +681 -0
  95. sage/rings/polynomial/all__sagemath_singular.py +1 -0
  96. sage/rings/polynomial/multi_polynomial_ideal_libsingular.cpython-314-aarch64-linux-gnu.so +0 -0
  97. sage/rings/polynomial/multi_polynomial_ideal_libsingular.pxd +5 -0
  98. sage/rings/polynomial/multi_polynomial_ideal_libsingular.pyx +339 -0
  99. sage/rings/polynomial/multi_polynomial_libsingular.cpython-314-aarch64-linux-gnu.so +0 -0
  100. sage/rings/polynomial/multi_polynomial_libsingular.pxd +30 -0
  101. sage/rings/polynomial/multi_polynomial_libsingular.pyx +6277 -0
  102. sage/rings/polynomial/plural.cpython-314-aarch64-linux-gnu.so +0 -0
  103. sage/rings/polynomial/plural.pxd +48 -0
  104. sage/rings/polynomial/plural.pyx +3171 -0
  105. sage/symbolic/all__sagemath_singular.py +1 -0
  106. sage/symbolic/comparison_impl.pxi +428 -0
  107. sage/symbolic/constants_c_impl.pxi +178 -0
  108. sage/symbolic/expression.cpython-314-aarch64-linux-gnu.so +0 -0
  109. sage/symbolic/expression.pxd +7 -0
  110. sage/symbolic/expression.pyx +14200 -0
  111. sage/symbolic/getitem_impl.pxi +202 -0
  112. sage/symbolic/pynac.pxi +572 -0
  113. sage/symbolic/pynac_constant_impl.pxi +133 -0
  114. sage/symbolic/pynac_function_impl.pxi +206 -0
  115. sage/symbolic/pynac_impl.pxi +2576 -0
  116. sage/symbolic/pynac_wrap.h +124 -0
  117. sage/symbolic/series_impl.pxi +272 -0
  118. sage/symbolic/substitution_map_impl.pxi +94 -0
  119. sage_wheels/bin/ESingular +0 -0
  120. sage_wheels/bin/Singular +0 -0
  121. sage_wheels/bin/TSingular +0 -0
  122. sage_wheels/lib/singular/MOD/cohomo.la +41 -0
  123. sage_wheels/lib/singular/MOD/cohomo.so +0 -0
  124. sage_wheels/lib/singular/MOD/customstd.la +41 -0
  125. sage_wheels/lib/singular/MOD/customstd.so +0 -0
  126. sage_wheels/lib/singular/MOD/freealgebra.la +41 -0
  127. sage_wheels/lib/singular/MOD/freealgebra.so +0 -0
  128. sage_wheels/lib/singular/MOD/gfanlib.la +41 -0
  129. sage_wheels/lib/singular/MOD/gfanlib.so +0 -0
  130. sage_wheels/lib/singular/MOD/gitfan.la +41 -0
  131. sage_wheels/lib/singular/MOD/gitfan.so +0 -0
  132. sage_wheels/lib/singular/MOD/interval.la +41 -0
  133. sage_wheels/lib/singular/MOD/interval.so +0 -0
  134. sage_wheels/lib/singular/MOD/loctriv.la +41 -0
  135. sage_wheels/lib/singular/MOD/loctriv.so +0 -0
  136. sage_wheels/lib/singular/MOD/machinelearning.la +41 -0
  137. sage_wheels/lib/singular/MOD/machinelearning.so +0 -0
  138. sage_wheels/lib/singular/MOD/p_Procs_FieldGeneral.la +41 -0
  139. sage_wheels/lib/singular/MOD/p_Procs_FieldGeneral.so +0 -0
  140. sage_wheels/lib/singular/MOD/p_Procs_FieldIndep.la +41 -0
  141. sage_wheels/lib/singular/MOD/p_Procs_FieldIndep.so +0 -0
  142. sage_wheels/lib/singular/MOD/p_Procs_FieldQ.la +41 -0
  143. sage_wheels/lib/singular/MOD/p_Procs_FieldQ.so +0 -0
  144. sage_wheels/lib/singular/MOD/p_Procs_FieldZp.la +41 -0
  145. sage_wheels/lib/singular/MOD/p_Procs_FieldZp.so +0 -0
  146. sage_wheels/lib/singular/MOD/partialgb.la +41 -0
  147. sage_wheels/lib/singular/MOD/partialgb.so +0 -0
  148. sage_wheels/lib/singular/MOD/pyobject.la +41 -0
  149. sage_wheels/lib/singular/MOD/pyobject.so +0 -0
  150. sage_wheels/lib/singular/MOD/singmathic.la +41 -0
  151. sage_wheels/lib/singular/MOD/singmathic.so +0 -0
  152. sage_wheels/lib/singular/MOD/sispasm.la +41 -0
  153. sage_wheels/lib/singular/MOD/sispasm.so +0 -0
  154. sage_wheels/lib/singular/MOD/subsets.la +41 -0
  155. sage_wheels/lib/singular/MOD/subsets.so +0 -0
  156. sage_wheels/lib/singular/MOD/systhreads.la +41 -0
  157. sage_wheels/lib/singular/MOD/systhreads.so +0 -0
  158. sage_wheels/lib/singular/MOD/syzextra.la +41 -0
  159. sage_wheels/lib/singular/MOD/syzextra.so +0 -0
  160. sage_wheels/libexec/singular/MOD/change_cost +0 -0
  161. sage_wheels/libexec/singular/MOD/singularsurf +11 -0
  162. sage_wheels/libexec/singular/MOD/singularsurf_jupyter +9 -0
  163. sage_wheels/libexec/singular/MOD/singularsurf_win +10 -0
  164. sage_wheels/libexec/singular/MOD/solve_IP +0 -0
  165. sage_wheels/libexec/singular/MOD/surfex +16 -0
  166. sage_wheels/libexec/singular/MOD/toric_ideal +0 -0
  167. sage_wheels/share/factory/gftables/10201 +342 -0
  168. sage_wheels/share/factory/gftables/1024 +37 -0
  169. sage_wheels/share/factory/gftables/10609 +356 -0
  170. sage_wheels/share/factory/gftables/11449 +384 -0
  171. sage_wheels/share/factory/gftables/11881 +398 -0
  172. sage_wheels/share/factory/gftables/121 +6 -0
  173. sage_wheels/share/factory/gftables/12167 +408 -0
  174. sage_wheels/share/factory/gftables/125 +7 -0
  175. sage_wheels/share/factory/gftables/12769 +428 -0
  176. sage_wheels/share/factory/gftables/128 +7 -0
  177. sage_wheels/share/factory/gftables/1331 +47 -0
  178. sage_wheels/share/factory/gftables/1369 +48 -0
  179. sage_wheels/share/factory/gftables/14641 +490 -0
  180. sage_wheels/share/factory/gftables/15625 +523 -0
  181. sage_wheels/share/factory/gftables/16 +3 -0
  182. sage_wheels/share/factory/gftables/16129 +540 -0
  183. sage_wheels/share/factory/gftables/16384 +549 -0
  184. sage_wheels/share/factory/gftables/16807 +563 -0
  185. sage_wheels/share/factory/gftables/1681 +58 -0
  186. sage_wheels/share/factory/gftables/169 +8 -0
  187. sage_wheels/share/factory/gftables/17161 +574 -0
  188. sage_wheels/share/factory/gftables/1849 +64 -0
  189. sage_wheels/share/factory/gftables/18769 +628 -0
  190. sage_wheels/share/factory/gftables/19321 +646 -0
  191. sage_wheels/share/factory/gftables/19683 +659 -0
  192. sage_wheels/share/factory/gftables/2048 +71 -0
  193. sage_wheels/share/factory/gftables/2187 +75 -0
  194. sage_wheels/share/factory/gftables/2197 +76 -0
  195. sage_wheels/share/factory/gftables/2209 +76 -0
  196. sage_wheels/share/factory/gftables/22201 +742 -0
  197. sage_wheels/share/factory/gftables/22801 +762 -0
  198. sage_wheels/share/factory/gftables/2401 +82 -0
  199. sage_wheels/share/factory/gftables/243 +11 -0
  200. sage_wheels/share/factory/gftables/24389 +815 -0
  201. sage_wheels/share/factory/gftables/24649 +824 -0
  202. sage_wheels/share/factory/gftables/25 +3 -0
  203. sage_wheels/share/factory/gftables/256 +11 -0
  204. sage_wheels/share/factory/gftables/26569 +888 -0
  205. sage_wheels/share/factory/gftables/27 +3 -0
  206. sage_wheels/share/factory/gftables/27889 +932 -0
  207. sage_wheels/share/factory/gftables/2809 +96 -0
  208. sage_wheels/share/factory/gftables/28561 +954 -0
  209. sage_wheels/share/factory/gftables/289 +12 -0
  210. sage_wheels/share/factory/gftables/29791 +995 -0
  211. sage_wheels/share/factory/gftables/29929 +1000 -0
  212. sage_wheels/share/factory/gftables/3125 +107 -0
  213. sage_wheels/share/factory/gftables/32 +4 -0
  214. sage_wheels/share/factory/gftables/32041 +1070 -0
  215. sage_wheels/share/factory/gftables/32761 +1094 -0
  216. sage_wheels/share/factory/gftables/32768 +1095 -0
  217. sage_wheels/share/factory/gftables/343 +14 -0
  218. sage_wheels/share/factory/gftables/3481 +118 -0
  219. sage_wheels/share/factory/gftables/361 +14 -0
  220. sage_wheels/share/factory/gftables/36481 +1218 -0
  221. sage_wheels/share/factory/gftables/3721 +126 -0
  222. sage_wheels/share/factory/gftables/37249 +1244 -0
  223. sage_wheels/share/factory/gftables/38809 +1296 -0
  224. sage_wheels/share/factory/gftables/39601 +1322 -0
  225. sage_wheels/share/factory/gftables/4 +3 -0
  226. sage_wheels/share/factory/gftables/4096 +139 -0
  227. sage_wheels/share/factory/gftables/44521 +1486 -0
  228. sage_wheels/share/factory/gftables/4489 +152 -0
  229. sage_wheels/share/factory/gftables/49 +4 -0
  230. sage_wheels/share/factory/gftables/4913 +166 -0
  231. sage_wheels/share/factory/gftables/49729 +1660 -0
  232. sage_wheels/share/factory/gftables/5041 +170 -0
  233. sage_wheels/share/factory/gftables/50653 +1691 -0
  234. sage_wheels/share/factory/gftables/512 +20 -0
  235. sage_wheels/share/factory/gftables/51529 +1720 -0
  236. sage_wheels/share/factory/gftables/52441 +1750 -0
  237. sage_wheels/share/factory/gftables/529 +20 -0
  238. sage_wheels/share/factory/gftables/5329 +180 -0
  239. sage_wheels/share/factory/gftables/54289 +1812 -0
  240. sage_wheels/share/factory/gftables/57121 +1906 -0
  241. sage_wheels/share/factory/gftables/58081 +1938 -0
  242. sage_wheels/share/factory/gftables/59049 +1971 -0
  243. sage_wheels/share/factory/gftables/6241 +210 -0
  244. sage_wheels/share/factory/gftables/625 +23 -0
  245. sage_wheels/share/factory/gftables/63001 +2102 -0
  246. sage_wheels/share/factory/gftables/64 +5 -0
  247. sage_wheels/share/factory/gftables/6561 +221 -0
  248. sage_wheels/share/factory/gftables/6859 +231 -0
  249. sage_wheels/share/factory/gftables/6889 +232 -0
  250. sage_wheels/share/factory/gftables/729 +27 -0
  251. sage_wheels/share/factory/gftables/7921 +266 -0
  252. sage_wheels/share/factory/gftables/8 +3 -0
  253. sage_wheels/share/factory/gftables/81 +5 -0
  254. sage_wheels/share/factory/gftables/8192 +276 -0
  255. sage_wheels/share/factory/gftables/841 +30 -0
  256. sage_wheels/share/factory/gftables/9 +3 -0
  257. sage_wheels/share/factory/gftables/9409 +316 -0
  258. sage_wheels/share/factory/gftables/961 +34 -0
  259. sage_wheels/share/info/singular.info +191898 -0
  260. sage_wheels/share/singular/LIB/GND.lib +1359 -0
  261. sage_wheels/share/singular/LIB/JMBTest.lib +976 -0
  262. sage_wheels/share/singular/LIB/JMSConst.lib +1363 -0
  263. sage_wheels/share/singular/LIB/KVequiv.lib +699 -0
  264. sage_wheels/share/singular/LIB/SingularityDBM.lib +491 -0
  265. sage_wheels/share/singular/LIB/VecField.lib +1542 -0
  266. sage_wheels/share/singular/LIB/absfact.lib +959 -0
  267. sage_wheels/share/singular/LIB/ainvar.lib +730 -0
  268. sage_wheels/share/singular/LIB/aksaka.lib +419 -0
  269. sage_wheels/share/singular/LIB/alexpoly.lib +2542 -0
  270. sage_wheels/share/singular/LIB/algebra.lib +1193 -0
  271. sage_wheels/share/singular/LIB/all.lib +136 -0
  272. sage_wheels/share/singular/LIB/arcpoint.lib +514 -0
  273. sage_wheels/share/singular/LIB/arnold.lib +4553 -0
  274. sage_wheels/share/singular/LIB/arnoldclassify.lib +2058 -0
  275. sage_wheels/share/singular/LIB/arr.lib +3486 -0
  276. sage_wheels/share/singular/LIB/assprimeszerodim.lib +755 -0
  277. sage_wheels/share/singular/LIB/autgradalg.lib +3361 -0
  278. sage_wheels/share/singular/LIB/bfun.lib +1964 -0
  279. sage_wheels/share/singular/LIB/bimodules.lib +774 -0
  280. sage_wheels/share/singular/LIB/brillnoether.lib +226 -0
  281. sage_wheels/share/singular/LIB/brnoeth.lib +5017 -0
  282. sage_wheels/share/singular/LIB/central.lib +2169 -0
  283. sage_wheels/share/singular/LIB/chern.lib +4162 -0
  284. sage_wheels/share/singular/LIB/cimonom.lib +571 -0
  285. sage_wheels/share/singular/LIB/cisimplicial.lib +1835 -0
  286. sage_wheels/share/singular/LIB/classify.lib +3239 -0
  287. sage_wheels/share/singular/LIB/classify2.lib +1462 -0
  288. sage_wheels/share/singular/LIB/classifyMapGerms.lib +1515 -0
  289. sage_wheels/share/singular/LIB/classify_aeq.lib +3253 -0
  290. sage_wheels/share/singular/LIB/classifyceq.lib +2092 -0
  291. sage_wheels/share/singular/LIB/classifyci.lib +1133 -0
  292. sage_wheels/share/singular/LIB/combinat.lib +91 -0
  293. sage_wheels/share/singular/LIB/compregb.lib +276 -0
  294. sage_wheels/share/singular/LIB/control.lib +1636 -0
  295. sage_wheels/share/singular/LIB/crypto.lib +3795 -0
  296. sage_wheels/share/singular/LIB/curveInv.lib +667 -0
  297. sage_wheels/share/singular/LIB/curvepar.lib +1817 -0
  298. sage_wheels/share/singular/LIB/customstd.lib +100 -0
  299. sage_wheels/share/singular/LIB/deRham.lib +5979 -0
  300. sage_wheels/share/singular/LIB/decodegb.lib +2134 -0
  301. sage_wheels/share/singular/LIB/decomp.lib +1655 -0
  302. sage_wheels/share/singular/LIB/deflation.lib +872 -0
  303. sage_wheels/share/singular/LIB/deform.lib +925 -0
  304. sage_wheels/share/singular/LIB/difform.lib +3055 -0
  305. sage_wheels/share/singular/LIB/divisors.lib +750 -0
  306. sage_wheels/share/singular/LIB/dmod.lib +5817 -0
  307. sage_wheels/share/singular/LIB/dmodapp.lib +3269 -0
  308. sage_wheels/share/singular/LIB/dmodideal.lib +1211 -0
  309. sage_wheels/share/singular/LIB/dmodloc.lib +2645 -0
  310. sage_wheels/share/singular/LIB/dmodvar.lib +818 -0
  311. sage_wheels/share/singular/LIB/dummy.lib +17 -0
  312. sage_wheels/share/singular/LIB/elim.lib +1009 -0
  313. sage_wheels/share/singular/LIB/ellipticcovers.lib +548 -0
  314. sage_wheels/share/singular/LIB/enumpoints.lib +146 -0
  315. sage_wheels/share/singular/LIB/equising.lib +2127 -0
  316. sage_wheels/share/singular/LIB/ffmodstd.lib +2384 -0
  317. sage_wheels/share/singular/LIB/ffsolve.lib +1289 -0
  318. sage_wheels/share/singular/LIB/findifs.lib +778 -0
  319. sage_wheels/share/singular/LIB/finitediff.lib +1768 -0
  320. sage_wheels/share/singular/LIB/finvar.lib +7989 -0
  321. sage_wheels/share/singular/LIB/fpadim.lib +2429 -0
  322. sage_wheels/share/singular/LIB/fpalgebras.lib +1666 -0
  323. sage_wheels/share/singular/LIB/fpaprops.lib +1462 -0
  324. sage_wheels/share/singular/LIB/freegb.lib +3853 -0
  325. sage_wheels/share/singular/LIB/general.lib +1350 -0
  326. sage_wheels/share/singular/LIB/gfan.lib +1768 -0
  327. sage_wheels/share/singular/LIB/gitfan.lib +3130 -0
  328. sage_wheels/share/singular/LIB/gkdim.lib +99 -0
  329. sage_wheels/share/singular/LIB/gmspoly.lib +589 -0
  330. sage_wheels/share/singular/LIB/gmssing.lib +1739 -0
  331. sage_wheels/share/singular/LIB/goettsche.lib +909 -0
  332. sage_wheels/share/singular/LIB/graal.lib +1366 -0
  333. sage_wheels/share/singular/LIB/gradedModules.lib +2541 -0
  334. sage_wheels/share/singular/LIB/graphics.lib +360 -0
  335. sage_wheels/share/singular/LIB/grobcov.lib +7706 -0
  336. sage_wheels/share/singular/LIB/groups.lib +1123 -0
  337. sage_wheels/share/singular/LIB/grwalk.lib +507 -0
  338. sage_wheels/share/singular/LIB/hdepth.lib +194 -0
  339. sage_wheels/share/singular/LIB/help.cnf +57 -0
  340. sage_wheels/share/singular/LIB/hess.lib +1946 -0
  341. sage_wheels/share/singular/LIB/hnoether.lib +4292 -0
  342. sage_wheels/share/singular/LIB/hodge.lib +400 -0
  343. sage_wheels/share/singular/LIB/homolog.lib +1965 -0
  344. sage_wheels/share/singular/LIB/hyperel.lib +975 -0
  345. sage_wheels/share/singular/LIB/inout.lib +679 -0
  346. sage_wheels/share/singular/LIB/integralbasis.lib +6224 -0
  347. sage_wheels/share/singular/LIB/interval.lib +1418 -0
  348. sage_wheels/share/singular/LIB/intprog.lib +778 -0
  349. sage_wheels/share/singular/LIB/invar.lib +443 -0
  350. sage_wheels/share/singular/LIB/involut.lib +980 -0
  351. sage_wheels/share/singular/LIB/jacobson.lib +1215 -0
  352. sage_wheels/share/singular/LIB/kskernel.lib +534 -0
  353. sage_wheels/share/singular/LIB/latex.lib +3146 -0
  354. sage_wheels/share/singular/LIB/lejeune.lib +651 -0
  355. sage_wheels/share/singular/LIB/linalg.lib +2040 -0
  356. sage_wheels/share/singular/LIB/locnormal.lib +212 -0
  357. sage_wheels/share/singular/LIB/lrcalc.lib +526 -0
  358. sage_wheels/share/singular/LIB/makedbm.lib +294 -0
  359. sage_wheels/share/singular/LIB/mathml.lib +813 -0
  360. sage_wheels/share/singular/LIB/matrix.lib +1372 -0
  361. sage_wheels/share/singular/LIB/maxlike.lib +1132 -0
  362. sage_wheels/share/singular/LIB/methods.lib +212 -0
  363. sage_wheels/share/singular/LIB/moddiq.lib +322 -0
  364. sage_wheels/share/singular/LIB/modfinduni.lib +181 -0
  365. sage_wheels/share/singular/LIB/modnormal.lib +218 -0
  366. sage_wheels/share/singular/LIB/modprimdec.lib +1278 -0
  367. sage_wheels/share/singular/LIB/modquotient.lib +269 -0
  368. sage_wheels/share/singular/LIB/modstd.lib +1024 -0
  369. sage_wheels/share/singular/LIB/modular.lib +545 -0
  370. sage_wheels/share/singular/LIB/modules.lib +2561 -0
  371. sage_wheels/share/singular/LIB/modwalk.lib +609 -0
  372. sage_wheels/share/singular/LIB/mondromy.lib +1016 -0
  373. sage_wheels/share/singular/LIB/monomialideal.lib +3851 -0
  374. sage_wheels/share/singular/LIB/mprimdec.lib +2353 -0
  375. sage_wheels/share/singular/LIB/mregular.lib +1863 -0
  376. sage_wheels/share/singular/LIB/multigrading.lib +5629 -0
  377. sage_wheels/share/singular/LIB/ncHilb.lib +777 -0
  378. sage_wheels/share/singular/LIB/ncModslimgb.lib +791 -0
  379. sage_wheels/share/singular/LIB/ncalg.lib +16311 -0
  380. sage_wheels/share/singular/LIB/ncall.lib +31 -0
  381. sage_wheels/share/singular/LIB/ncdecomp.lib +468 -0
  382. sage_wheels/share/singular/LIB/ncfactor.lib +13371 -0
  383. sage_wheels/share/singular/LIB/ncfrac.lib +1023 -0
  384. sage_wheels/share/singular/LIB/nchilbert.lib +448 -0
  385. sage_wheels/share/singular/LIB/nchomolog.lib +759 -0
  386. sage_wheels/share/singular/LIB/ncloc.lib +361 -0
  387. sage_wheels/share/singular/LIB/ncpreim.lib +795 -0
  388. sage_wheels/share/singular/LIB/ncrat.lib +2849 -0
  389. sage_wheels/share/singular/LIB/nctools.lib +1887 -0
  390. sage_wheels/share/singular/LIB/nets.lib +1456 -0
  391. sage_wheels/share/singular/LIB/nfmodstd.lib +1000 -0
  392. sage_wheels/share/singular/LIB/nfmodsyz.lib +732 -0
  393. sage_wheels/share/singular/LIB/noether.lib +1106 -0
  394. sage_wheels/share/singular/LIB/normal.lib +8700 -0
  395. sage_wheels/share/singular/LIB/normaliz.lib +2226 -0
  396. sage_wheels/share/singular/LIB/ntsolve.lib +362 -0
  397. sage_wheels/share/singular/LIB/numerAlg.lib +560 -0
  398. sage_wheels/share/singular/LIB/numerDecom.lib +2261 -0
  399. sage_wheels/share/singular/LIB/olga.lib +1933 -0
  400. sage_wheels/share/singular/LIB/orbitparam.lib +351 -0
  401. sage_wheels/share/singular/LIB/parallel.lib +319 -0
  402. sage_wheels/share/singular/LIB/paraplanecurves.lib +3110 -0
  403. sage_wheels/share/singular/LIB/perron.lib +202 -0
  404. sage_wheels/share/singular/LIB/pfd.lib +2223 -0
  405. sage_wheels/share/singular/LIB/phindex.lib +642 -0
  406. sage_wheels/share/singular/LIB/pointid.lib +673 -0
  407. sage_wheels/share/singular/LIB/polybori.lib +1430 -0
  408. sage_wheels/share/singular/LIB/polyclass.lib +525 -0
  409. sage_wheels/share/singular/LIB/polylib.lib +1174 -0
  410. sage_wheels/share/singular/LIB/polymake.lib +1902 -0
  411. sage_wheels/share/singular/LIB/presolve.lib +1533 -0
  412. sage_wheels/share/singular/LIB/primdec.lib +9576 -0
  413. sage_wheels/share/singular/LIB/primdecint.lib +1782 -0
  414. sage_wheels/share/singular/LIB/primitiv.lib +401 -0
  415. sage_wheels/share/singular/LIB/puiseuxexpansions.lib +1631 -0
  416. sage_wheels/share/singular/LIB/purityfiltration.lib +960 -0
  417. sage_wheels/share/singular/LIB/qhmoduli.lib +1561 -0
  418. sage_wheels/share/singular/LIB/qmatrix.lib +293 -0
  419. sage_wheels/share/singular/LIB/random.lib +455 -0
  420. sage_wheels/share/singular/LIB/ratgb.lib +489 -0
  421. sage_wheels/share/singular/LIB/realclassify.lib +5759 -0
  422. sage_wheels/share/singular/LIB/realizationMatroids.lib +772 -0
  423. sage_wheels/share/singular/LIB/realrad.lib +1197 -0
  424. sage_wheels/share/singular/LIB/recover.lib +2628 -0
  425. sage_wheels/share/singular/LIB/redcgs.lib +3984 -0
  426. sage_wheels/share/singular/LIB/reesclos.lib +465 -0
  427. sage_wheels/share/singular/LIB/resbinomial.lib +2802 -0
  428. sage_wheels/share/singular/LIB/resgraph.lib +789 -0
  429. sage_wheels/share/singular/LIB/resjung.lib +820 -0
  430. sage_wheels/share/singular/LIB/resolve.lib +5110 -0
  431. sage_wheels/share/singular/LIB/resources.lib +170 -0
  432. sage_wheels/share/singular/LIB/reszeta.lib +5473 -0
  433. sage_wheels/share/singular/LIB/ring.lib +1328 -0
  434. sage_wheels/share/singular/LIB/ringgb.lib +343 -0
  435. sage_wheels/share/singular/LIB/rinvar.lib +1153 -0
  436. sage_wheels/share/singular/LIB/rootisolation.lib +1481 -0
  437. sage_wheels/share/singular/LIB/rootsmr.lib +709 -0
  438. sage_wheels/share/singular/LIB/rootsur.lib +886 -0
  439. sage_wheels/share/singular/LIB/rstandard.lib +607 -0
  440. sage_wheels/share/singular/LIB/rwalk.lib +336 -0
  441. sage_wheels/share/singular/LIB/sagbi.lib +1353 -0
  442. sage_wheels/share/singular/LIB/sagbiNormaliz.lib +1622 -0
  443. sage_wheels/share/singular/LIB/sagbiNormaliz0.lib +1498 -0
  444. sage_wheels/share/singular/LIB/sagbigrob.lib +449 -0
  445. sage_wheels/share/singular/LIB/schreyer.lib +321 -0
  446. sage_wheels/share/singular/LIB/schubert.lib +2551 -0
  447. sage_wheels/share/singular/LIB/sets.lib +524 -0
  448. sage_wheels/share/singular/LIB/sheafcoh.lib +1663 -0
  449. sage_wheels/share/singular/LIB/signcond.lib +437 -0
  450. sage_wheels/share/singular/LIB/sing.lib +1094 -0
  451. sage_wheels/share/singular/LIB/sing4ti2.lib +419 -0
  452. sage_wheels/share/singular/LIB/solve.lib +2243 -0
  453. sage_wheels/share/singular/LIB/spcurve.lib +1077 -0
  454. sage_wheels/share/singular/LIB/spectrum.lib +62 -0
  455. sage_wheels/share/singular/LIB/sresext.lib +757 -0
  456. sage_wheels/share/singular/LIB/ssi.lib +143 -0
  457. sage_wheels/share/singular/LIB/standard.lib +2769 -0
  458. sage_wheels/share/singular/LIB/stanleyreisner.lib +473 -0
  459. sage_wheels/share/singular/LIB/stdmodule.lib +547 -0
  460. sage_wheels/share/singular/LIB/stratify.lib +1070 -0
  461. sage_wheels/share/singular/LIB/surf.lib +506 -0
  462. sage_wheels/share/singular/LIB/surf_jupyter.lib +223 -0
  463. sage_wheels/share/singular/LIB/surfacesignature.lib +522 -0
  464. sage_wheels/share/singular/LIB/surfex.lib +1462 -0
  465. sage_wheels/share/singular/LIB/swalk.lib +877 -0
  466. sage_wheels/share/singular/LIB/symodstd.lib +1570 -0
  467. sage_wheels/share/singular/LIB/systhreads.lib +74 -0
  468. sage_wheels/share/singular/LIB/tasks.lib +1324 -0
  469. sage_wheels/share/singular/LIB/tateProdCplxNegGrad.lib +2412 -0
  470. sage_wheels/share/singular/LIB/teachstd.lib +858 -0
  471. sage_wheels/share/singular/LIB/template.lib +116 -0
  472. sage_wheels/share/singular/LIB/toric.lib +1119 -0
  473. sage_wheels/share/singular/LIB/transformation.lib +116 -0
  474. sage_wheels/share/singular/LIB/triang.lib +1197 -0
  475. sage_wheels/share/singular/LIB/tropical.lib +8741 -0
  476. sage_wheels/share/singular/LIB/tropicalEllipticCovers.lib +2922 -0
  477. sage_wheels/share/singular/LIB/tropicalNewton.lib +1128 -0
  478. sage_wheels/share/singular/LIB/tst.lib +1108 -0
  479. sage_wheels/share/singular/LIB/weierstr.lib +241 -0
  480. sage_wheels/share/singular/LIB/zeroset.lib +1478 -0
  481. sage_wheels/share/singular/emacs/.emacs-general +184 -0
  482. sage_wheels/share/singular/emacs/.emacs-singular +234 -0
  483. sage_wheels/share/singular/emacs/COPYING +44 -0
  484. sage_wheels/share/singular/emacs/cmd-cmpl.el +241 -0
  485. sage_wheels/share/singular/emacs/ex-cmpl.el +1681 -0
  486. sage_wheels/share/singular/emacs/hlp-cmpl.el +4318 -0
  487. sage_wheels/share/singular/emacs/lib-cmpl.el +179 -0
  488. sage_wheels/share/singular/emacs/singular.el +4273 -0
  489. sage_wheels/share/singular/emacs/singular.xpm +39 -0
  490. sage_wheels/share/singular/singular.idx +5002 -0
@@ -0,0 +1,572 @@
1
+ # sage_setup: distribution = sagemath-singular
2
+ # sage.doctest: needs sage.symbolic
3
+ """
4
+ Declarations for pynac, a Python frontend for ginac
5
+
6
+ Check that we can externally cimport this (:issue:`18825`)::
7
+
8
+ sage: cython( # needs sage.misc.cython
9
+ ....: '''
10
+ ....: cimport sage.symbolic.expression
11
+ ....: ''')
12
+ """
13
+
14
+ # ****************************************************************************
15
+ # Copyright (C) 2008 William Stein <wstein@gmail.com>
16
+ # Copyright (C) 2008 Burcin Erocal
17
+ # Copyright (C) 2017 Jeroen Demeyer <jdemeyer@cage.ugent.be>
18
+ #
19
+ # This program is free software: you can redistribute it and/or modify
20
+ # it under the terms of the GNU General Public License as published by
21
+ # the Free Software Foundation, either version 2 of the License, or
22
+ # (at your option) any later version.
23
+ # https://www.gnu.org/licenses/
24
+ # ****************************************************************************
25
+
26
+ from cpython.object cimport PyObject
27
+ from libcpp.vector cimport vector
28
+ from libcpp.pair cimport pair
29
+ from libcpp.string cimport string as stdstring
30
+ from sage.libs.gmp.types cimport mpz_t, mpq_t, mpz_ptr, mpq_ptr
31
+
32
+ cdef extern from "pynac_wrap.h":
33
+ void ginac_pyinit_Integer(object)
34
+ void ginac_pyinit_Float(object)
35
+ void ginac_pyinit_I(object)
36
+
37
+ # forward declarations
38
+ cdef cppclass GEx "ex"
39
+ cdef cppclass GExprSeq "exprseq"
40
+
41
+ cdef cppclass GBasic "basic":
42
+ long gethash()
43
+ int compare(GBasic other)
44
+
45
+ cdef cppclass GConstant "constant":
46
+ GConstant()
47
+ GConstant(char* name, void* evalf, char* texname, unsigned domain)
48
+ unsigned get_serial()
49
+
50
+ # This is actually a function, but we declare it as void* for
51
+ # simplicity.
52
+ void* ConstantEvalf
53
+
54
+ cdef cppclass GInfinity "infinity":
55
+ bint is_unsigned_infinity()
56
+ bint is_plus_infinity()
57
+ bint is_minus_infinity()
58
+ GEx get_direction()
59
+ GEx conjugate()
60
+ GEx real_part()
61
+ GEx imag_part()
62
+
63
+ cdef cppclass GSymbol "symbol":
64
+ unsigned get_domain()
65
+ void set_domain(unsigned d)
66
+ void set_texname(char* t)
67
+ const char* get_name "get_name().c_str" ()
68
+
69
+ cdef cppclass GExPair "std::pair<ex, ex>":
70
+ pass
71
+
72
+ cdef cppclass GExMap "exmap":
73
+ void insert(GExPair e)
74
+
75
+ cdef cppclass GExListIter "GiNaC::lst::const_iterator":
76
+ void inc "operator++" ()
77
+ GEx obj "operator*" ()
78
+ bint operator!=(GExListIter i)
79
+
80
+ cdef cppclass GExList "GiNaC::lst":
81
+ GExListIter begin()
82
+ GExListIter end()
83
+ GExList append_sym "append" (GSymbol e)
84
+
85
+ cdef cppclass GSymbolSetIter "GiNaC::symbolset::const_iterator":
86
+ void inc "operator++" ()
87
+ GEx obj "operator*" ()
88
+ bint operator!=(GSymbolSetIter i)
89
+
90
+ cdef cppclass GSymbolSet "GiNaC::symbolset":
91
+ GSymbolSetIter begin()
92
+ GSymbolSetIter end()
93
+
94
+ cdef cppclass GEx "ex":
95
+ GEx()
96
+ GEx(GNumeric o)
97
+ GEx(GSymbol m)
98
+ GEx(GEx m)
99
+ GEx(long n)
100
+ GEx(double d)
101
+ GEx(GExprSeq s)
102
+ GEx operator=(object o)
103
+ long gethash() except +
104
+ int compare(GEx other) except +
105
+ GEx expand(unsigned int opt) except +
106
+ GEx collect(GEx s, bint dist) except +
107
+ GEx diff(GSymbol s, int d) except +
108
+ GEx series(GEx s, int order, unsigned options) except +
109
+ bint is_equal(GEx s) except +
110
+ bint is_zero() except +
111
+ bint is_polynomial(GEx vars) except +
112
+ bint match(GEx pattern, GExList s) except +
113
+ bint find(GEx pattern, GExList s) except +
114
+ GSymbolSet free_symbols() except +
115
+ bint has(GEx pattern) except +
116
+ GEx subs(GEx expr) except +
117
+ GEx subs_map "subs" (GExMap map, unsigned options) except +
118
+ GEx coeff(GEx expr, GEx n) except +
119
+ GEx lcoeff(GEx expr) except +
120
+ GEx tcoeff(GEx expr) except +
121
+ void coefficients(GEx s, vector[pair[GEx,GEx]]) except +
122
+ GEx combine_fractions(bint deep) except +
123
+ GEx normal(int level, bint noexpand_combined, bint noexpand_frac) except +
124
+ GEx numer() except +
125
+ GEx denom() except +
126
+ GEx numer_denom() except +
127
+ GNumeric degree(GEx expr) except +
128
+ GNumeric ldegree(GEx expr) except +
129
+ GEx unit(GEx expr) except +
130
+ GEx content(GEx expr) except +
131
+ GEx primpart(GEx expr) except +
132
+ void unitcontprim(GEx expr, GEx unit, GEx cont, GEx prim) except +
133
+ GEx rhs() except +
134
+ GEx lhs() except +
135
+ int nops() except +
136
+ GEx op "sorted_op" (int i) except +
137
+ GEx eval(int level) except +
138
+ GEx evalf(int level, parent) except +
139
+ GEx conjugate() except +
140
+ GEx real_part() except +
141
+ GEx imag_part() except +
142
+ bint info(unsigned) except +
143
+ void dbgprint()
144
+ void dbgprinttree()
145
+
146
+ GExPair make_pair "std::make_pair" (GEx, GEx)
147
+
148
+ cdef cppclass GNumeric "numeric":
149
+ bint is_positive() except +
150
+ bint is_negative() except +
151
+
152
+ # Numericals
153
+ bint is_a_numeric "is_a<numeric>" (GEx e)
154
+ GNumeric ex_to_numeric "ex_to<numeric>" (GEx e)
155
+ # given a GEx that is known to be a numeric, return reference to
156
+ # the underlying PyObject*.
157
+ py_object_from_numeric(GEx e) except +
158
+
159
+ # Algorithms
160
+ GEx g_gcd "gcd"(GEx a, GEx b) except +
161
+ bint g_factor "factor"(GEx expr, GEx res) except +
162
+ GEx g_gosper_term "gosper_term"(GEx the_ex, GEx n) except +
163
+ GEx g_gosper_sum_definite "gosper_sum_definite"(GEx the_ex,
164
+ GEx n, GEx a, GEx b, int* p) except +
165
+ GEx g_gosper_sum_indefinite "gosper_sum_indefinite"(GEx the_ex,
166
+ GEx n, int* p) except +
167
+ GEx to_gamma(GEx expr) except +
168
+ GEx gamma_normalize(GEx expr) except +
169
+ GEx g_resultant "resultant"(GEx a, GEx b, GEx v) except +
170
+
171
+ # Pattern matching wildcards
172
+ GEx g_wild "wild"(unsigned int label) except +
173
+ bint haswild(GEx x) except +
174
+
175
+ # Series back to poly
176
+ GEx series_to_poly(GEx e) except +
177
+ bint is_a_series "is_a<pseries>" (GEx e)
178
+ # you must ensure that is_a_series(e) is true before calling this:
179
+ bint g_is_a_terminating_series(GEx e) except +
180
+ GEx g_series_var(GEx e) except +
181
+
182
+ # Relations
183
+ ctypedef enum operators "relational::operators":
184
+ equal "GiNaC::relational::equal"
185
+ not_equal "GiNaC::relational::not_equal"
186
+ less "GiNaC::relational::less"
187
+ less_or_equal "GiNaC::relational::less_or_equal"
188
+ greater "GiNaC::relational::greater"
189
+ greater_or_equal "GiNaC::relational::greater_or_equal"
190
+
191
+ bint is_negative(GEx x) except +
192
+ bint is_a_relational "is_a<relational>" (GEx e)
193
+ unsigned decide_relational(GEx e) except +
194
+ operators relational_operator(GEx e)
195
+ GEx relational(GEx lhs, GEx rhs, operators o)
196
+ GEx operator<(GEx left, GEx right) except +
197
+ GEx operator==(GEx left, GEx right) except +
198
+ GEx operator>(GEx left, GEx right) except +
199
+ GEx operator<=(GEx left, GEx right) except +
200
+ GEx operator!=(GEx left, GEx right) except +
201
+ GEx operator>=(GEx left, GEx right) except +
202
+
203
+ # Domains
204
+ unsigned domain_complex "GiNaC::domain::complex"
205
+ unsigned domain_real "GiNaC::domain::real"
206
+ unsigned domain_positive "GiNaC::domain::positive"
207
+ unsigned domain_infinity "GiNaC::domain::infinity"
208
+ unsigned domain_integer "GiNaC::domain::integer"
209
+
210
+ # relational outcomes
211
+ unsigned relational_true "GiNaC::relational::result::True"
212
+ unsigned relational_false "GiNaC::relational::result::False"
213
+ unsigned relational_undecidable "GiNaC::relational::result::undecidable"
214
+ unsigned relational_notimplemented "GiNaC::relational::result::notimplemented"
215
+
216
+ # info flags
217
+ unsigned info_real "GiNaC::info_flags::real"
218
+ unsigned info_rational "GiNaC::info_flags::rational"
219
+ unsigned info_integer "GiNaC::info_flags::integer"
220
+ unsigned info_positive "GiNaC::info_flags::positive"
221
+ unsigned info_negative "GiNaC::info_flags::negative"
222
+ unsigned info_nonnegative "GiNaC::info_flags::nonnegative"
223
+ unsigned info_posint "GiNaC::info_flags::posint"
224
+ unsigned info_negint "GiNaC::info_flags::negint"
225
+ unsigned info_nonnegint "GiNaC::info_flags::nonnegint"
226
+ unsigned info_even "GiNaC::info_flags::even"
227
+ unsigned info_odd "GiNaC::info_flags::odd"
228
+ unsigned info_rational_function "GiNaC::info_flags::rational_function"
229
+
230
+ # assumptions
231
+ void pynac_assume_rel "GiNaC::assume" (GEx rel)
232
+ void pynac_assume_gdecl "GiNaC::assume" (GEx x, char*)
233
+ void pynac_forget_rel "GiNaC::forget" (GEx rel)
234
+ void pynac_forget_gdecl "GiNaC::forget" (GEx x, char*)
235
+
236
+ # Constants
237
+ GEx g_Pi "Pi"
238
+ GEx g_Catalan "Catalan"
239
+ GEx g_Euler "Euler"
240
+ GEx g_NaN "NaN"
241
+
242
+ bint is_a_constant "is_a<constant>" (GEx e)
243
+
244
+ # Infinities
245
+ bint is_a_infinity "is_a<GiNaC::infinity>" (GEx e)
246
+ GEx g_UnsignedInfinity "UnsignedInfinity"
247
+ GEx g_Infinity "Infinity"
248
+ GEx g_mInfinity "-Infinity"
249
+ GInfinity ex_to_infinity "ex_to<GiNaC::infinity>" (GEx e)
250
+
251
+ # I is not a constant, but a numeric object
252
+ # we declare it here for easy reference
253
+ GEx g_I "I"
254
+
255
+ # Conversions
256
+ double GEx_to_double(GEx e, int* success) except +
257
+ GEx_to_str_latex "_to_PyString_latex<ex>"(GEx *s) except +
258
+
259
+ bint is_a_symbol "is_a<symbol>" (GEx e)
260
+ GSymbol ex_to_symbol "ex_to<symbol>" (GEx e)
261
+
262
+ cdef cppclass GParamSetIter "paramset::const_iterator":
263
+ void inc "operator++" ()
264
+ unsigned obj "operator*" ()
265
+ bint operator!=(GParamSetIter i)
266
+
267
+ cdef cppclass GParamSet "paramset":
268
+ GParamSetIter begin()
269
+ GParamSetIter end()
270
+ int size()
271
+
272
+ cdef cppclass GExVector "exvector":
273
+ void push_back(GEx)
274
+ int size()
275
+ GEx at(int i)
276
+
277
+ cdef cppclass GExprSeq "exprseq":
278
+ GExprSeq()
279
+ GExprSeq(GExVector m)
280
+
281
+ bint is_a_exprseq "is_a<exprseq>" (GEx e)
282
+ bint is_exactly_a_exprseq "is_exactly_a<exprseq>" (GEx e)
283
+
284
+ cdef cppclass GExSetIter "std::set<ex, ex_is_less>::const_iterator":
285
+ void inc "operator++" ()
286
+ GEx obj "operator*" ()
287
+ bint operator!=(GExSetIter i)
288
+
289
+ cdef cppclass GExSet "std::set<ex, ex_is_less>":
290
+ GExSetIter begin()
291
+ GExSetIter end()
292
+
293
+ void g_list_symbols "list_symbols" (GEx e, GExSet s)
294
+
295
+ # more is_a tests
296
+ bint is_a_add "is_a<GiNaC::add>" (GEx e)
297
+ bint is_a_mul "is_a<GiNaC::mul>" (GEx e)
298
+ bint is_a_power "is_a<GiNaC::power>" (GEx e)
299
+ bint is_a_fderivative "is_a<GiNaC::fderivative>" (GEx e)
300
+ bint is_a_function "is_a<GiNaC::function>" (GEx e)
301
+ bint is_exactly_a_function "is_exactly_a<GiNaC::function>" (GEx e)
302
+
303
+ # Arithmetic
304
+ int ginac_error()
305
+ GEx operator+(GEx left, GEx right) except +
306
+ GEx operator-(GEx left, GEx right) except +
307
+ GEx operator*(GEx left, GEx right) except +
308
+ GEx operator/(GEx left, GEx right) except +
309
+ GEx g_pow "pow" (GEx left, GEx exp) except +
310
+
311
+ GEx g_hold_wrapper "HOLD" (GEx (GEx) except+, GEx ex, bint) except +
312
+ GEx g_hold_wrapper_vec "HOLD" (GEx (GExVector) except+, GExVector vec,
313
+ bint) except +
314
+ GEx g_hold2_wrapper "HOLD2" (GEx (GEx, GEx) except+, GEx ex, GEx ex,
315
+ bint) except +
316
+ void g_set_state "GiNaC::set_state" (stdstring & s, bint b) except +
317
+
318
+ GSymbol ginac_symbol "GiNaC::symbol" (char* s, char* t, unsigned d) except +
319
+ GSymbol ginac_new_symbol "GiNaC::symbol" () except +
320
+ GEx g_collect_common_factors "collect_common_factors" (GEx e) except +
321
+
322
+ # Archive
323
+ cdef cppclass GArchive "archive":
324
+ void archive_ex(GEx e, char* name) except +
325
+ GEx unarchive_ex(GExList sym_lst, unsigned ind) except +
326
+ void printraw "printraw(std::cout); " (int t)
327
+
328
+ GEx g_abs "GiNaC::abs" (GEx x) except + # absolute value
329
+ GEx g_step "GiNaC::unit_step" (GEx x) except + # step function
330
+ GEx g_csgn "GiNaC::csgn" (GEx x) except + # complex sign
331
+ GEx g_conjugate "GiNaC::conjugate_function" (GEx x) except + # complex conjugation
332
+ GEx g_real_part "GiNaC::real_part_function" (GEx x) except + # real part
333
+ GEx g_imag_part "GiNaC::imag_part_function" (GEx x) except + # imaginary part
334
+ GEx g_sqrt "GiNaC::sqrt" (GEx x) except + # square root (not a GiNaC function, rather an alias for pow(x, numeric(1, 2)))
335
+ GEx g_sin "GiNaC::sin" (GEx x) except + # sine
336
+ GEx g_cos "GiNaC::cos" (GEx x) except + # cosine
337
+ GEx g_tan "GiNaC::tan" (GEx x) except + # tangent
338
+ GEx g_asin "GiNaC::asin" (GEx x) except + # inverse sine
339
+ GEx g_acos "GiNaC::acos" (GEx x) except + # inverse cosine
340
+ GEx g_atan "GiNaC::atan" (GEx x) except + # inverse tangent
341
+ GEx g_atan2 "GiNaC::atan2" (GEx y, GEx x) except + # inverse tangent with two arguments
342
+ GEx g_sinh "GiNaC::sinh" (GEx x) except + # hyperbolic sine
343
+ GEx g_cosh "GiNaC::cosh" (GEx x) except + # hyperbolic cosine
344
+ GEx g_tanh "GiNaC::tanh" (GEx x) except + # hyperbolic tangent
345
+ GEx g_asinh "GiNaC::asinh" (GEx x) except + # inverse hyperbolic sine
346
+ GEx g_acosh "GiNaC::acosh" (GEx x) except + # inverse hyperbolic cosine
347
+ GEx g_atanh "GiNaC::atanh" (GEx x) except + # inverse hyperbolic tangent
348
+ GEx g_exp "GiNaC::exp" (GEx x) except + # exponential function
349
+ GEx g_log "GiNaC::log" (GEx x) except + # natural logarithm
350
+ GEx g_Li2 "GiNaC::Li2" (GEx x) except + # dilogarithm
351
+ GEx g_Li "GiNaC::Li" (GEx m, GEx x) except + # classical polylogarithm as well as multiple polylogarithm
352
+ GEx g_G "GiNaC::G" (GEx a, GEx y) except + # multiple polylogarithm
353
+ GEx g_G2 "GiNaC::G" (GEx a, GEx s, GEx y) except + # multiple polylogarithm with explicit signs for the imaginary parts
354
+ GEx g_S "GiNaC::S" (GEx n, GEx p, GEx x) except + # Nielsen's generalized polylogarithm
355
+ GEx g_H "GiNaC::H" (GEx m, GEx x) except + # harmonic polylogarithm
356
+ GEx g_zeta "GiNaC::zeta" (GEx m) except + # Riemann's zeta function as well as multiple zeta value
357
+ GEx g_zeta2 "GiNaC::zeta" (GEx m, GEx s) except + # alternating Euler sum
358
+ GEx g_stieltjes "GiNaC::stieltjes" (GEx m) except + # Stieltjes constants
359
+ GEx g_zetaderiv "GiNaC::zetaderiv" (GEx n, GEx x) except + # derivatives of Riemann's zeta function
360
+ GEx g_gamma "GiNaC::gamma" (GEx x) except + # gamma function
361
+ GEx g_lgamma "GiNaC::lgamma" (GEx x) except + # logarithm of gamma function
362
+ GEx g_beta "GiNaC::beta" (GEx x, GEx y) except + # beta function (gamma(x)*gamma(y)/gamma(x+y))
363
+ GEx g_psi "GiNaC::psi" (GEx x) except + # psi (digamma) function
364
+ GEx g_psi2 "GiNaC::psi" (GEx n, GEx x) except + # derivatives of psi function (polygamma functions)
365
+ GEx g_factorial "GiNaC::factorial" (GEx n) except + # factorial function n!
366
+ GEx g_binomial "GiNaC::binomial" (GEx n, GEx k) except + # binomial coefficients
367
+ GEx g_Order "GiNaC::Order" (GEx x) except + # order term function in truncated power series
368
+
369
+ # wrapper around arithmetic to allow "hold"ing results
370
+ GEx g_power_construct "GiNaC::power" (GEx b, GEx p) except +
371
+ GEx g_add_construct "GiNaC::add" (GExVector, bint) except +
372
+ GEx g_mul_construct "GiNaC::mul" (GExVector, bint) except +
373
+
374
+ GEx g_ex1_2 "GiNaC::_ex1_2"
375
+
376
+ cdef cppclass GFunction "function":
377
+ unsigned get_serial()
378
+ char* get_name "get_name().c_str" ()
379
+
380
+ cdef cppclass GFDerivative "fderivative":
381
+ GParamSet get_parameter_set()
382
+
383
+ GFunction ex_to_function "ex_to<function>" (GEx ex)
384
+ GFDerivative ex_to_fderivative "ex_to<fderivative>" (GEx ex)
385
+
386
+ GEx g_function_evalv(unsigned int serial, GExVector, bint) except +
387
+ GEx g_function_eval0(unsigned int serial, bint) except +
388
+ GEx g_function_eval1(unsigned int serial, GEx, bint) except +
389
+ GEx g_function_eval2(unsigned int serial, GEx, GEx, bint) except +
390
+ GEx g_function_eval3(unsigned int serial, GEx, GEx, GEx, bint) except +
391
+
392
+ cdef cppclass GFunctionOpt "function_options":
393
+ GFunctionOpt operator=(GFunctionOpt)
394
+ unsigned get_nparams()
395
+ void set_python_func()
396
+ GFunctionOpt eval_func(f)
397
+ GFunctionOpt subs_func(f)
398
+ GFunctionOpt evalf_func(f)
399
+ GFunctionOpt conjugate_func(f)
400
+ GFunctionOpt real_part_func(f)
401
+ GFunctionOpt imag_part_func(f)
402
+ GFunctionOpt derivative_func(f)
403
+ GFunctionOpt power_func(f)
404
+ GFunctionOpt series_func(f)
405
+ GFunctionOpt latex_name(char* name)
406
+ GFunctionOpt do_not_apply_chain_rule()
407
+ GFunctionOpt do_not_evalf_params()
408
+ void set_print_latex_func(f)
409
+ void set_print_dflt_func(f)
410
+ char* get_name()
411
+ char* get_latex_name()
412
+
413
+ cdef cppclass GFunctionOptVector "vector<function_options>":
414
+ int size()
415
+ GFunctionOpt index "operator[]" (int ind)
416
+
417
+ void g_foptions_assign "ASSIGN_WRAP" (GFunctionOpt, GFunctionOpt)
418
+
419
+ GFunctionOpt g_function_options "GiNaC::function_options" (char *m)
420
+ GFunctionOpt g_function_options_args "GiNaC::function_options" \
421
+ (char *m, unsigned nargs)
422
+ unsigned g_register_new "GiNaC::function::register_new" (GFunctionOpt opt)
423
+
424
+ unsigned find_function "GiNaC::function::find_function" (char* name,
425
+ unsigned nargs) except +
426
+
427
+ bint has_symbol "GiNaC::has_symbol" (GEx ex)
428
+ bint has_symbol_or_function "GiNaC::has_symbol_or_function" (GEx ex)
429
+
430
+ GFunctionOptVector g_registered_functions \
431
+ "GiNaC::function::registered_functions" ()
432
+
433
+ # these serials allow us to map pynac function objects to
434
+ # Sage special functions for the .operator() method of expressions
435
+ unsigned abs_serial "GiNaC::abs_SERIAL::serial"
436
+ unsigned step_serial "GiNaC::step_SERIAL::serial"# step function
437
+ unsigned csgn_serial "GiNaC::csgn_SERIAL::serial"# complex sign
438
+ unsigned conjugate_serial "GiNaC::conjugate_SERIAL::serial"# complex conjugation
439
+ unsigned real_part_serial "GiNaC::real_part_SERIAL::serial" # real part
440
+ unsigned imag_part_serial "GiNaC::imag_part_SERIAL::serial" # imaginary part
441
+ unsigned sin_serial "GiNaC::sin_SERIAL::serial" # sine
442
+ unsigned cos_serial "GiNaC::cos_SERIAL::serial" # cosine
443
+ unsigned tan_serial "GiNaC::tan_SERIAL::serial" # tangent
444
+ unsigned asin_serial "GiNaC::asin_SERIAL::serial" # inverse sine
445
+ unsigned acos_serial "GiNaC::acos_SERIAL::serial" # inverse cosine
446
+ unsigned atan_serial "GiNaC::atan_SERIAL::serial" # inverse tangent
447
+ unsigned atan2_serial "GiNaC::atan2_SERIAL::serial" # inverse tangent with two arguments
448
+ unsigned sinh_serial "GiNaC::sinh_SERIAL::serial" # hyperbolic sine
449
+ unsigned cosh_serial "GiNaC::cosh_SERIAL::serial" # hyperbolic cosine
450
+ unsigned tanh_serial "GiNaC::tanh_SERIAL::serial" # hyperbolic tangent
451
+ unsigned asinh_serial "GiNaC::asinh_SERIAL::serial" # inverse hyperbolic sine
452
+ unsigned acosh_serial "GiNaC::acosh_SERIAL::serial" # inverse hyperbolic cosine
453
+ unsigned atanh_serial "GiNaC::atanh_SERIAL::serial" # inverse hyperbolic tangent
454
+ unsigned exp_serial "GiNaC::exp_SERIAL::serial" # exponential function
455
+ unsigned log_serial "GiNaC::log_SERIAL::serial" # natural logarithm
456
+ unsigned Li2_serial "GiNaC::Li2_SERIAL::serial" # dilogarithm
457
+ unsigned Li_serial "GiNaC::Li_SERIAL::serial" # classical polylogarithm as well as multiple polylogarithm
458
+ unsigned G_serial "GiNaC::G_SERIAL::serial" # multiple polylogarithm
459
+ # unsigned G2_serial "GiNaC::G_SERIAL::serial" # multiple polylogarithm with explicit signs for the imaginary parts
460
+ unsigned S_serial "GiNaC::S_SERIAL::serial" # Nielsen's generalized polylogarithm
461
+ unsigned H_serial "GiNaC::H_SERIAL::serial" # harmonic polylogarithm
462
+ unsigned zeta1_serial "GiNaC::zeta1_SERIAL::serial" # Riemann's zeta function as well as multiple zeta value
463
+ unsigned zeta2_serial "GiNaC::zeta2_SERIAL::serial" # alternating Euler sum
464
+ unsigned stieltjes1_serial "GiNaC::stieltjes1_SERIAL::serial" # Stieltjes constants
465
+ unsigned zetaderiv_serial "GiNaC::zetaderiv_SERIAL::serial" # derivatives of Riemann's zeta function
466
+ unsigned tgamma_serial "GiNaC::tgamma_SERIAL::serial" # gamma function
467
+ unsigned lgamma_serial "GiNaC::lgamma_SERIAL::serial" # logarithm of gamma function
468
+ unsigned beta_serial "GiNaC::beta_SERIAL::serial" # beta function (tgamma(x)*tgamma(y)/tgamma(x+y))
469
+ unsigned psi_serial "GiNaC::psi_SERIAL::serial" # psi (digamma) function
470
+ # unsigned psi2_serial "GiNaC::psi_SERIAL::serial" # derivatives of psi function (polygamma functions)
471
+ unsigned factorial_serial "GiNaC::factorial_SERIAL::serial" # factorial function n!
472
+ unsigned binomial_serial "GiNaC::binomial_SERIAL::serial" # binomial coefficients
473
+ unsigned Order_serial "GiNaC::Order_SERIAL::serial" # order term function in truncated power series
474
+
475
+ ctypedef GParamSet const_paramset_ref "const GiNaC::paramset&"
476
+
477
+ ctypedef struct py_funcs_struct:
478
+ py_gcd(a, b)
479
+ py_lcm(a, b)
480
+ py_real(a)
481
+ py_imag(a)
482
+ py_numer(a)
483
+ py_denom(a)
484
+ bint py_is_rational(a)
485
+ bint py_is_real(a)
486
+ bint py_is_integer(a)
487
+ bint py_is_equal(a, b)
488
+ bint py_is_even(a)
489
+ bint py_is_prime(n)
490
+ bint py_is_exact(x)
491
+
492
+ py_integer_from_long(long int x)
493
+ py_integer_from_python_obj(x)
494
+ py_integer_from_mpz(mpz_t)
495
+ py_rational_from_mpq(mpq_t)
496
+ bint py_is_Integer(x)
497
+ bint py_is_Rational(x)
498
+ mpz_ptr py_mpz_from_integer(x)
499
+ mpq_ptr py_mpq_from_rational(x)
500
+
501
+ py_float(a, PyObject* kwds)
502
+ py_RDF_from_double(double x)
503
+
504
+ py_factorial(x)
505
+ py_doublefactorial(x)
506
+ py_fibonacci(x)
507
+ py_step(x)
508
+ py_bernoulli(x)
509
+ py_sin(x)
510
+ py_cos(x)
511
+ py_stieltjes(x)
512
+ py_zeta(x)
513
+ py_exp(x)
514
+ py_log(x)
515
+ py_tan(x)
516
+ py_asin(x)
517
+ py_acos(x)
518
+ py_atan(x)
519
+ py_atan2(x, y)
520
+ py_sinh(x)
521
+ py_cosh(x)
522
+ py_tanh(x)
523
+ py_asinh(x)
524
+ py_acosh(x)
525
+ py_atanh(x)
526
+ py_isqrt(x)
527
+ py_sqrt(x)
528
+ py_mod(x, y)
529
+ py_smod(x, y)
530
+ py_irem(x, y)
531
+ py_psi(x)
532
+ py_psi2(n, x)
533
+
534
+ py_eval_constant(unsigned serial, parent)
535
+ py_eval_unsigned_infinity()
536
+ py_eval_infinity()
537
+ py_eval_neg_infinity()
538
+
539
+ int py_get_parent_char(o) except -1
540
+
541
+ stdstring* py_latex(o, int level)
542
+ stdstring* py_repr(o, int level)
543
+
544
+ stdstring* py_dumps(o)
545
+ py_loads(s)
546
+
547
+ exvector_to_PyTuple(GExVector seq)
548
+ GEx pyExpression_to_ex(res) except *
549
+ ex_to_pyExpression(GEx juice)
550
+ int py_get_ginac_serial()
551
+ subs_args_to_PyTuple(GExMap map, unsigned options, GExVector seq)
552
+
553
+ py_get_sfunction_from_serial(unsigned s)
554
+ unsigned py_get_serial_from_sfunction(f)
555
+ unsigned py_get_serial_for_new_sfunction(stdstring &s, unsigned nargs)
556
+
557
+ stdstring* py_print_function(unsigned id, args)
558
+ stdstring* py_latex_function(unsigned id, args)
559
+
560
+ GConstant py_get_constant(const char* name)
561
+
562
+ stdstring* py_print_fderivative(unsigned id, params, args)
563
+ stdstring* py_latex_fderivative(unsigned id, params, args)
564
+ paramset_to_PyTuple(const_paramset_ref s)
565
+
566
+ py_funcs_struct py_funcs "GiNaC::py_funcs"
567
+
568
+ cdef extern from "ginac/order.h":
569
+ bint print_order_compare "GiNaC::print_order().compare" \
570
+ (GEx left, GEx right) except +
571
+ bint print_order_compare_mul "GiNaC::print_order_mul().compare" \
572
+ (GEx left, GEx right) except +