passagemath-eclib 10.5.18__cp312-cp312-musllinux_1_2_x86_64.whl → 10.6.40__cp312-cp312-musllinux_1_2_x86_64.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-eclib might be problematic. Click here for more details.

Files changed (32) hide show
  1. passagemath_eclib/__init__.py +3 -0
  2. passagemath_eclib-10.6.40.dist-info/METADATA +161 -0
  3. passagemath_eclib-10.6.40.dist-info/RECORD +35 -0
  4. {passagemath_eclib-10.5.18.dist-info → passagemath_eclib-10.6.40.dist-info}/WHEEL +1 -1
  5. passagemath_eclib-10.6.40.dist-info/top_level.txt +3 -0
  6. passagemath_eclib.libs/{libec-6f1fecd6.so.10.3.0 → libec-5e7e5d08.so.14.1.0} +0 -0
  7. passagemath_eclib.libs/{libflint-218f8266.so.19.0.0 → libflint-6f91cbd3.so.22.0.0} +0 -0
  8. passagemath_eclib.libs/libgcc_s-0cd532bd.so.1 +0 -0
  9. passagemath_eclib.libs/libgf2x-9e30c3e3.so.3.0.0 +0 -0
  10. passagemath_eclib.libs/libgmp-0e7fc84e.so.10.5.0 +0 -0
  11. passagemath_eclib.libs/libmpfr-c0690335.so.6.2.2 +0 -0
  12. passagemath_eclib.libs/libntl-2a4678f6.so.45.0.0 +0 -0
  13. passagemath_eclib.libs/{libpari-gmp-tls-28bca296.so.2.15.5 → libpari-gmp-tls-e6bd2bdc.so.2.17.2} +0 -0
  14. passagemath_eclib.libs/libstdc++-5d72f927.so.6.0.33 +0 -0
  15. sage/all__sagemath_eclib.py +1 -0
  16. sage/libs/eclib/__init__.pxd +1 -3
  17. sage/libs/eclib/homspace.cpython-312-x86_64-linux-musl.so +0 -0
  18. sage/libs/eclib/interface.py +8 -8
  19. sage/libs/eclib/mat.cpython-312-x86_64-linux-musl.so +0 -0
  20. sage/libs/eclib/mat.pyx +7 -11
  21. sage/libs/eclib/mwrank.cpython-312-x86_64-linux-musl.so +0 -0
  22. sage/libs/eclib/newforms.cpython-312-x86_64-linux-musl.so +0 -0
  23. sage_wheels/bin/mwrank +0 -0
  24. passagemath_eclib-10.5.18.dist-info/METADATA +0 -131
  25. passagemath_eclib-10.5.18.dist-info/RECORD +0 -34
  26. passagemath_eclib-10.5.18.dist-info/top_level.txt +0 -2
  27. passagemath_eclib.libs/libgcc_s-a0b57c20.so.1 +0 -0
  28. passagemath_eclib.libs/libgf2x-6092b6c2.so.3.0.0 +0 -0
  29. passagemath_eclib.libs/libgmp-f6d0246f.so.10.5.0 +0 -0
  30. passagemath_eclib.libs/libmpfr-cd7b3652.so.6.2.1 +0 -0
  31. passagemath_eclib.libs/libntl-f4c1f98d.so.44.0.1 +0 -0
  32. passagemath_eclib.libs/libstdc++-0d31ccbe.so.6.0.32 +0 -0
@@ -0,0 +1,3 @@
1
+ # sage_setup: distribution = sagemath-eclib
2
+
3
+ from sage.all__sagemath_eclib import *
@@ -0,0 +1,161 @@
1
+ Metadata-Version: 2.4
2
+ Name: passagemath-eclib
3
+ Version: 10.6.40
4
+ Summary: passagemath: Elliptic curves over the rationals with eclib/mwrank
5
+ Author-email: The Sage Developers <sage-support@googlegroups.com>
6
+ Maintainer: Matthias Köppe, passagemath contributors
7
+ License-Expression: GPL-2.0-or-later
8
+ Project-URL: release notes, https://github.com/passagemath/passagemath/releases
9
+ Project-URL: repo (upstream), https://github.com/sagemath/sage
10
+ Project-URL: repo, https://github.com/passagemath/passagemath
11
+ Project-URL: documentation, https://passagemath.org/docs/latest
12
+ Project-URL: homepage (upstream), https://www.sagemath.org
13
+ Project-URL: discourse, https://passagemath.discourse.group
14
+ Project-URL: tracker (upstream), https://github.com/sagemath/sage/issues
15
+ Project-URL: tracker, https://github.com/passagemath/passagemath/issues
16
+ Classifier: Development Status :: 6 - Mature
17
+ Classifier: Intended Audience :: Education
18
+ Classifier: Intended Audience :: Science/Research
19
+ Classifier: Operating System :: POSIX
20
+ Classifier: Operating System :: POSIX :: Linux
21
+ Classifier: Operating System :: MacOS :: MacOS X
22
+ Classifier: Programming Language :: Python :: 3 :: Only
23
+ Classifier: Programming Language :: Python :: 3.10
24
+ Classifier: Programming Language :: Python :: 3.11
25
+ Classifier: Programming Language :: Python :: 3.12
26
+ Classifier: Programming Language :: Python :: 3.13
27
+ Classifier: Programming Language :: Python :: 3.14
28
+ Classifier: Programming Language :: Python :: Implementation :: CPython
29
+ Classifier: Topic :: Scientific/Engineering :: Mathematics
30
+ Requires-Python: <3.15,>=3.10
31
+ Description-Content-Type: text/x-rst
32
+ Requires-Dist: passagemath-linbox~=10.6.40.0
33
+ Requires-Dist: passagemath-modules~=10.6.40.0
34
+ Requires-Dist: passagemath-ntl~=10.6.40.0
35
+ Requires-Dist: memory_allocator
36
+ Requires-Dist: cysignals!=1.12.4; sys_platform == "win32"
37
+ Requires-Dist: cysignals!=1.12.0,>=1.11.2
38
+ Provides-Extra: test
39
+ Requires-Dist: passagemath-repl; extra == "test"
40
+ Requires-Dist: passagemath-schemes; extra == "test"
41
+
42
+ ==============================================================================================
43
+ passagemath: Elliptic curves over the rationals with eclib/mwrank
44
+ ==============================================================================================
45
+
46
+ `passagemath <https://github.com/passagemath/passagemath>`__ is open
47
+ source mathematical software in Python, released under the GNU General
48
+ Public Licence GPLv2+.
49
+
50
+ It is a fork of `SageMath <https://www.sagemath.org/>`__, which has been
51
+ developed 2005-2025 under the motto “Creating a Viable Open Source
52
+ Alternative to Magma, Maple, Mathematica, and MATLAB”.
53
+
54
+ The passagemath fork uses the motto "Creating a Free Passage Between the
55
+ Scientific Python Ecosystem and Mathematical Software Communities."
56
+ It was created in October 2024 with the following goals:
57
+
58
+ - providing modularized installation with pip,
59
+ - establishing first-class membership in the scientific Python
60
+ ecosystem,
61
+ - giving `clear attribution of upstream
62
+ projects <https://groups.google.com/g/sage-devel/c/6HO1HEtL1Fs/m/G002rPGpAAAJ>`__,
63
+ - providing independently usable Python interfaces to upstream
64
+ libraries,
65
+ - offering `platform portability and integration testing
66
+ services <https://github.com/passagemath/passagemath/issues/704>`__
67
+ to upstream projects,
68
+ - inviting collaborations with upstream projects,
69
+ - `building a professional, respectful, inclusive
70
+ community <https://groups.google.com/g/sage-devel/c/xBzaINHWwUQ>`__,
71
+ - `empowering Sage users to participate in the scientific Python ecosystem
72
+ <https://github.com/passagemath/passagemath/issues/248>`__ by publishing packages,
73
+ - developing a port to `Pyodide <https://pyodide.org/en/stable/>`__ for
74
+ serverless deployment with Javascript,
75
+ - developing a native Windows port.
76
+
77
+ `Full documentation <https://passagemath.org/docs/latest/html/en/index.html>`__ is
78
+ available online.
79
+
80
+ passagemath attempts to support and provides binary wheels suitable for
81
+ all major Linux distributions and recent versions of macOS.
82
+
83
+ Binary wheels for native Windows (x86_64) are are available for a subset of
84
+ the passagemath distributions. Use of the full functionality of passagemath
85
+ on Windows currently requires the use of Windows Subsystem for Linux (WSL)
86
+ or virtualization.
87
+
88
+ The supported Python versions in the passagemath 10.6.x series are 3.10.x-3.13.x.
89
+
90
+
91
+ About this pip-installable distribution package
92
+ -----------------------------------------------
93
+
94
+ This pip-installable distribution ``passagemath-eclib`` provides the
95
+ Cython interface to John Cremona's programs for enumerating and computing
96
+ with elliptic curves defined over the rational numbers.
97
+
98
+
99
+ What is included
100
+ ----------------
101
+
102
+ - `Sage interface to Cremona’s eclib library (also known as mwrank) <https://passagemath.org/docs/latest/html/en/reference/libs/sage/libs/eclib/interface.html>`_
103
+
104
+ - `Cython interface to Cremona’s eclib library (also known as mwrank) <https://passagemath.org/docs/latest/html/en/reference/libs/sage/libs/eclib/mwrank.html>`_
105
+
106
+ - `Cremona matrices <https://passagemath.org/docs/latest/html/en/reference/libs/sage/libs/eclib/mat.html>`_
107
+
108
+ - `Modular symbols using eclib newforms <https://passagemath.org/docs/latest/html/en/reference/libs/sage/libs/eclib/newforms.html>`_
109
+
110
+ - `Cremona modular symbols <https://passagemath.org/docs/latest/html/en/reference/libs/sage/libs/eclib/homspace.html>`_
111
+
112
+ - `Cremona modular symbols (constructor) <https://passagemath.org/docs/latest/html/en/reference/libs/sage/libs/eclib/constructor.html>`_
113
+
114
+ - `Interface to the mwrank program <https://passagemath.org/docs/latest/html/en/reference/interfaces/sage/interfaces/mwrank.html#module-sage.interfaces.mwrank>`_
115
+
116
+
117
+ Examples
118
+ --------
119
+
120
+ A quick way to try it out interactively::
121
+
122
+ $ pipx run --pip-args="--prefer-binary" --spec "passagemath-eclib[test]" ipython
123
+
124
+ In [1]: from passagemath_eclib import *
125
+
126
+ In [2]: M = CremonaModularSymbols(43, cuspidal=True); M
127
+ Out[2]: Cremona Cuspidal Modular Symbols space of dimension 6 for Gamma_0(43) of weight 2 with sign 0
128
+
129
+ Finding the installation location of the mwrank program::
130
+
131
+ $ pipx run --pip-args="--prefer-binary" --spec "passagemath-eclib" python
132
+ >>> from sage.features.eclib import Mwrank
133
+ >>> Mwrank().absolute_filename()
134
+ '.../bin/mwrank'
135
+
136
+ Use with `sage.schemes.elliptic_curves <https://passagemath.org/docs/latest/html/en/reference/arithmetic_curves/index.html#elliptic-curves>`_::
137
+
138
+ $ pipx run --pip-args="--prefer-binary" --spec "passagemath-eclib[test]" ipython
139
+
140
+ In [1]: from passagemath_eclib import *
141
+
142
+ In [2]: x = polygen(ZZ, 'x')
143
+
144
+ In [3]: K = NumberField(x**2 + 23, 'a'); a = K.gen()
145
+
146
+ In [4]: E = EllipticCurve(K, [0,0,0,101,0])
147
+
148
+ In [5]: E.gens()
149
+
150
+
151
+ Development
152
+ -----------
153
+
154
+ ::
155
+
156
+ $ git clone --origin passagemath https://github.com/passagemath/passagemath.git
157
+ $ cd passagemath
158
+ passagemath $ ./bootstrap
159
+ passagemath $ python3 -m venv eclib-venv
160
+ passagemath $ source eclib-venv/bin/activate
161
+ (eclib-venv) passagemath $ pip install -v -e pkgs/sagemath-eclib
@@ -0,0 +1,35 @@
1
+ passagemath_eclib/__init__.py,sha256=zMD8y2IByHS2O6bJW-aznIYrFHjoZtYxoYoqUos3YZ0,84
2
+ passagemath_eclib.libs/libec-5e7e5d08.so.14.1.0,sha256=LTZbs76NL-tHmXGQmslpewA_rDMdld_8B1TFlCtiPvc,48520433
3
+ passagemath_eclib.libs/libflint-6f91cbd3.so.22.0.0,sha256=luCKHgV6V74MHNnQpFECFxuh0GxcPNOHEjTW-xzGeSk,13486841
4
+ passagemath_eclib.libs/libgcc_s-0cd532bd.so.1,sha256=QrXyyMoT5eFz2Df1EXoEtsBCQ3VIESveeHklGujc_48,183337
5
+ passagemath_eclib.libs/libgf2x-9e30c3e3.so.3.0.0,sha256=z6aIlDtTUvgZPnlLAEFhy7SzNIhPiqUBJeRypyKUVdg,68073
6
+ passagemath_eclib.libs/libgmp-0e7fc84e.so.10.5.0,sha256=19mj7ISusOKPTVdhqjzZ-Ts-9Qf82f4a_8Sslp-ypCg,773097
7
+ passagemath_eclib.libs/libmpfr-c0690335.so.6.2.2,sha256=7xyVPM-7EcghDXnVZR5NquZBTtVXq32FtxIwVw2xthg,837873
8
+ passagemath_eclib.libs/libntl-2a4678f6.so.45.0.0,sha256=ZqfI9QZl4WmDICs5_3OKOwoZPKjzczER-oMPAl9yfaw,3161617
9
+ passagemath_eclib.libs/libpari-gmp-tls-e6bd2bdc.so.2.17.2,sha256=sO7TY0QbNdyJvcWbnEEH11N3gNf32QyZdXpr596u3q0,11951161
10
+ passagemath_eclib.libs/libstdc++-5d72f927.so.6.0.33,sha256=i_QxuLSNJcDImiug4WsF5wNgprWyeL3Mc09ILo-0-Dc,3564129
11
+ sage/all__sagemath_eclib.py,sha256=PnPfHmKUTc7cMx6GOd0BupMBdOugvB3CDOKnfLdfzFY,348
12
+ sage/interfaces/all__sagemath_eclib.py,sha256=VjiZlK64wgH3SQYvGUcepeTUQngHlgGRH90Uyv5LnSE,44
13
+ sage/interfaces/mwrank.py,sha256=y6lal269BI5a2Uvf35qN8ovvYikn3MRJ7_L_a2KU0a8,12478
14
+ sage/libs/all__sagemath_eclib.py,sha256=H84MU_RUF7AFi4kYwqjD7qf-5Ubp8p1JM0CQ3zQPEbM,497
15
+ sage/libs/eclib/__init__.pxd,sha256=J-IK32oq6HIKmFTHYGbr4Q6EJ33Vcsv5YVeaD-9vyIo,4784
16
+ sage/libs/eclib/__init__.py,sha256=VjiZlK64wgH3SQYvGUcepeTUQngHlgGRH90Uyv5LnSE,44
17
+ sage/libs/eclib/all.py,sha256=Nwq0p-bytJLGjPQi9SA0ej_gnjDmhUYHsqr6owIimss,316
18
+ sage/libs/eclib/constructor.py,sha256=k4ug-84zOdPsVkcc0fQECuaXcxdWuK34j76U4n0k80Y,2962
19
+ sage/libs/eclib/homspace.cpython-312-x86_64-linux-musl.so,sha256=9nYSAmAYfsHRahQf6mujS3qFEWCftuMux-EFNiUz7Bo,792353
20
+ sage/libs/eclib/homspace.pxd,sha256=snYcG_sEmIHuV1zAlVjXgYfCyJ_BIBRKplJ8dOVisMw,131
21
+ sage/libs/eclib/homspace.pyx,sha256=uzmWG8kKgH9NNAEx-Ym1JaW7UVUwoJ-jwsWdwh7jfw4,9653
22
+ sage/libs/eclib/interface.py,sha256=bNn_mVlAJU9OxOQ_SvUfIlscFepNDIAf4qLi0YqTfac,50561
23
+ sage/libs/eclib/mat.cpython-312-x86_64-linux-musl.so,sha256=wARW0kMYeN842tsI2X7QaTU8Ww_OD9jBERgkLMB2jOA,542249
24
+ sage/libs/eclib/mat.pxd,sha256=JXuI8yzgKxxGkVWfM5hNvr3I8bIu-HKzmNuddrV0Hf8,173
25
+ sage/libs/eclib/mat.pyx,sha256=m1iEfSMrBFqBOZScc0LLbim3GgNJz5OTiEpDSmiyeG4,7316
26
+ sage/libs/eclib/mwrank.cpython-312-x86_64-linux-musl.so,sha256=xI3aiUPrUzrUXJgIkLDPVvdSGuc-6RatvkrBT1K1XJQ,1504881
27
+ sage/libs/eclib/mwrank.pyx,sha256=39FNEm22seSBoepMAUdf-aUT5DGVkErzqzFfun8BkqQ,43700
28
+ sage/libs/eclib/newforms.cpython-312-x86_64-linux-musl.so,sha256=6XQwGyX7DfFZ5rm0EsTC2NgqrDt3D_OGS5JrkJITD5c,940233
29
+ sage/libs/eclib/newforms.pxd,sha256=7OmyBO8Tj8hncCdPAPHNLIS4axhZRM-rRYoyLjZ7-Mc,186
30
+ sage/libs/eclib/newforms.pyx,sha256=sqx0yta_mul8McABIBlzK0Xj9COo-HFDM_zFCWtbKMc,15483
31
+ sage_wheels/bin/mwrank,sha256=cOE2yl9ytvFZW1xSGFx7VslZCO8DX4flsfVE4LSyrUI,505993
32
+ passagemath_eclib-10.6.40.dist-info/METADATA,sha256=OSO77mog7huY4mQRNli_gSsOPjtKVONRLdkx5g7iCes,7056
33
+ passagemath_eclib-10.6.40.dist-info/WHEEL,sha256=AwHYJA1Do1jwgPIoLQR4DiHSeYY_vU6Ht9Vljq5Yt_M,112
34
+ passagemath_eclib-10.6.40.dist-info/top_level.txt,sha256=0XP-a724JYuL7lNTHSaQ05dyR3Jxz-IUzAWaASLTSHE,24
35
+ passagemath_eclib-10.6.40.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.6.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp312-cp312-musllinux_1_2_x86_64
5
5
 
@@ -0,0 +1,3 @@
1
+
2
+ passagemath_eclib
3
+ sage
@@ -1,4 +1,5 @@
1
1
  # sage_setup: distribution = sagemath-eclib
2
+ # delvewheel: patch
2
3
 
3
4
  try:
4
5
  from sage.all__sagemath_repl import *
@@ -1,6 +1,6 @@
1
1
  # sage_setup: distribution = sagemath-eclib
2
2
  # distutils: language = c++
3
- # distutils: libraries = ec NTL_LIBRARIES pari gmp m
3
+ # distutils: libraries = ec NTL_LIBRARIES pari gmp M_LIBRARIES
4
4
  # distutils: extra_compile_args = NTL_CFLAGS
5
5
  # distutils: include_dirs = NTL_INCDIR
6
6
  # distutils: library_dirs = NTL_LIBDIR
@@ -56,7 +56,6 @@ cdef extern from "eclib/matrix.h":
56
56
  cdef cppclass mat:
57
57
  mat()
58
58
  mat(mat m)
59
- scalar* get_entries()
60
59
  scalar sub(long, long)
61
60
  long nrows()
62
61
  long ncols()
@@ -68,7 +67,6 @@ cdef extern from "eclib/smatrix.h":
68
67
  cdef cppclass smat:
69
68
  smat()
70
69
  smat(smat m)
71
- scalar* get_entries()
72
70
  scalar sub(long, long)
73
71
  long nrows()
74
72
  long ncols()
@@ -156,7 +156,7 @@ class mwrank_EllipticCurve(SageObject):
156
156
  sage: E = mwrank_EllipticCurve([0, 0, 1, -1, 0])
157
157
  sage: E.saturate() # no output
158
158
  sage: E.gens()
159
- [[0, -1, 1]]
159
+ ([0, -1, 1],)
160
160
 
161
161
  sage: E = mwrank_EllipticCurve([0, 0, 1, -1, 0])
162
162
  sage: E.set_verbose(1)
@@ -552,10 +552,10 @@ class mwrank_EllipticCurve(SageObject):
552
552
 
553
553
  sage: E = mwrank_EllipticCurve([0, 0, 0, -1002231243161, 0])
554
554
  sage: E.gens()
555
- [[-1001107, -4004428, 1]]
555
+ ([-1001107, -4004428, 1],)
556
556
  sage: E.saturate()
557
557
  sage: E.gens()
558
- [[-1001107, -4004428, 1]]
558
+ ([-1001107, -4004428, 1],)
559
559
 
560
560
  Check that :issue:`18031` is fixed::
561
561
 
@@ -570,18 +570,18 @@ class mwrank_EllipticCurve(SageObject):
570
570
  self.__two_descent_data().saturate(bound, lower)
571
571
  self.__saturate = bound
572
572
 
573
- def gens(self) -> list:
573
+ def gens(self) -> tuple:
574
574
  """
575
- Return a list of the generators for the Mordell-Weil group.
575
+ Return a tuple of the generators for the Mordell-Weil group.
576
576
 
577
577
  EXAMPLES::
578
578
 
579
579
  sage: E = mwrank_EllipticCurve([0, 0, 1, -1, 0])
580
580
  sage: E.gens()
581
- [[0, -1, 1]]
581
+ ([0, -1, 1],)
582
582
  """
583
583
  self.saturate()
584
- return parse_point_list(self.__two_descent_data().getbasis())
584
+ return tuple(parse_point_list(self.__two_descent_data().getbasis()))
585
585
 
586
586
  def certain(self):
587
587
  r"""
@@ -870,7 +870,7 @@ class mwrank_MordellWeil(SageObject):
870
870
 
871
871
  sage: E = mwrank_EllipticCurve([0,0,1,-7,6])
872
872
  sage: E.gens()
873
- [[1, -1, 1], [-2, 3, 1], [-14, 25, 8]]
873
+ ([1, -1, 1], [-2, 3, 1], [-14, 25, 8])
874
874
  sage: EQ = mwrank_MordellWeil(E)
875
875
  sage: EQ.process([[1, -1, 1], [-2, 3, 1], [-14, 25, 8]])
876
876
  P1 = [1:-1:1] is generator number 1
sage/libs/eclib/mat.pyx CHANGED
@@ -12,7 +12,6 @@ from sage.matrix.matrix_integer_sparse cimport Matrix_integer_sparse
12
12
  from sage.matrix.matrix_integer_dense cimport Matrix_integer_dense
13
13
  from sage.rings.integer cimport Integer
14
14
 
15
-
16
15
  cdef class Matrix:
17
16
  """
18
17
  A Cremona Matrix.
@@ -213,8 +212,7 @@ cdef class Matrix:
213
212
  <class 'sage.matrix.matrix_integer_dense.Matrix_integer_dense'>
214
213
  """
215
214
  cdef long n = self.nrows()
216
- cdef long i, j, k
217
- cdef scalar* v = <scalar*> self.M.get_entries() # coercion needed to deal with const
215
+ cdef long i, j
218
216
 
219
217
  cdef Matrix_integer_dense Td
220
218
  cdef Matrix_integer_sparse Ts
@@ -222,21 +220,19 @@ cdef class Matrix:
222
220
  # Ugly code...
223
221
  if sparse:
224
222
  Ts = MatrixSpace(ZZ, n, sparse=sparse).zero_matrix().__copy__()
225
- k = 0
226
223
  for i from 0 <= i < n:
227
224
  for j from 0 <= j < n:
228
- if v[k]:
229
- Ts.set_unsafe(i, j, Integer(v[k]))
230
- k += 1
225
+ Mij = Integer(self.M.sub(i+1,j+1))
226
+ if Mij:
227
+ Ts.set_unsafe(i, j, Mij)
231
228
  return Ts
232
229
  else:
233
230
  Td = MatrixSpace(ZZ, n, sparse=sparse).zero_matrix().__copy__()
234
- k = 0
235
231
  for i from 0 <= i < n:
236
232
  for j from 0 <= j < n:
237
- if v[k]:
238
- Td.set_unsafe(i, j, Integer(v[k]))
239
- k += 1
233
+ Mij = Integer(self.M.sub(i+1,j+1))
234
+ if Mij:
235
+ Td.set_unsafe(i, j, Mij)
240
236
  return Td
241
237
 
242
238
 
sage_wheels/bin/mwrank CHANGED
Binary file
@@ -1,131 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: passagemath-eclib
3
- Version: 10.5.18
4
- Summary: passagemath: Elliptic curves over the rationals with eclib/mwrank
5
- Author-email: The Sage Developers <sage-support@googlegroups.com>
6
- Maintainer: Matthias Köppe, passagemath contributors
7
- License: GNU General Public License (GPL) v2 or later
8
- Project-URL: release notes, https://github.com/passagemath/passagemath/releases
9
- Project-URL: repo (upstream), https://github.com/sagemath/sage
10
- Project-URL: repo, https://github.com/passagemath/passagemath
11
- Project-URL: documentation, https://doc.sagemath.org
12
- Project-URL: homepage (upstream), https://www.sagemath.org
13
- Project-URL: discourse, https://passagemath.discourse.group
14
- Project-URL: tracker (upstream), https://github.com/sagemath/sage/issues
15
- Project-URL: tracker, https://github.com/passagemath/passagemath/issues
16
- Classifier: Development Status :: 6 - Mature
17
- Classifier: Intended Audience :: Education
18
- Classifier: Intended Audience :: Science/Research
19
- Classifier: License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
20
- Classifier: Operating System :: POSIX
21
- Classifier: Operating System :: MacOS :: MacOS X
22
- Classifier: Programming Language :: Python :: 3 :: Only
23
- Classifier: Programming Language :: Python :: 3.9
24
- Classifier: Programming Language :: Python :: 3.10
25
- Classifier: Programming Language :: Python :: 3.11
26
- Classifier: Programming Language :: Python :: 3.12
27
- Classifier: Programming Language :: Python :: Implementation :: CPython
28
- Classifier: Topic :: Scientific/Engineering :: Mathematics
29
- Requires-Python: <3.13,>=3.9
30
- Description-Content-Type: text/x-rst
31
- Requires-Dist: passagemath-linbox~=10.5.18.0
32
- Requires-Dist: passagemath-modules~=10.5.18.0
33
- Requires-Dist: passagemath-ntl~=10.5.18.0
34
- Requires-Dist: memory_allocator
35
- Requires-Dist: cysignals==1.12.0rc2
36
- Provides-Extra: test
37
- Requires-Dist: passagemath-repl; extra == "test"
38
- Requires-Dist: passagemath-schemes; extra == "test"
39
-
40
- ==============================================================================================
41
- passagemath: Elliptic curves over the rationals with eclib/mwrank
42
- ==============================================================================================
43
-
44
- About SageMath
45
- --------------
46
-
47
- "Creating a Viable Open Source Alternative to
48
- Magma, Maple, Mathematica, and MATLAB"
49
-
50
- Copyright (C) 2005-2024 The Sage Development Team
51
-
52
- https://www.sagemath.org
53
-
54
- SageMath fully supports all major Linux distributions, recent versions of
55
- macOS, and Windows (Windows Subsystem for Linux).
56
-
57
- See https://doc.sagemath.org/html/en/installation/index.html
58
- for general installation instructions.
59
-
60
-
61
- About this pip-installable distribution
62
- ---------------------------------------
63
-
64
- This pip-installable distribution ``passagemath-eclib`` provides the
65
- Cython interface to John Cremona's programs for enumerating and computing
66
- with elliptic curves defined over the rational numbers.
67
-
68
-
69
- What is included
70
- ----------------
71
-
72
- - `Sage interface to Cremona’s eclib library (also known as mwrank) <https://doc.sagemath.org/html/en/reference/libs/sage/libs/eclib/interface.html>`_
73
-
74
- - `Cython interface to Cremona’s eclib library (also known as mwrank) <https://doc.sagemath.org/html/en/reference/libs/sage/libs/eclib/mwrank.html>`_
75
-
76
- - `Cremona matrices <https://doc.sagemath.org/html/en/reference/libs/sage/libs/eclib/mat.html>`_
77
-
78
- - `Modular symbols using eclib newforms <https://doc.sagemath.org/html/en/reference/libs/sage/libs/eclib/newforms.html>`_
79
-
80
- - `Cremona modular symbols <https://doc.sagemath.org/html/en/reference/libs/sage/libs/eclib/homspace.html>`_
81
-
82
- - `Cremona modular symbols (constructor) <https://doc.sagemath.org/html/en/reference/libs/sage/libs/eclib/constructor.html>`_
83
-
84
- - `Interface to the mwrank program <https://doc.sagemath.org/html/en/reference/interfaces/sage/interfaces/mwrank.html#module-sage.interfaces.mwrank>`_
85
-
86
-
87
- Examples
88
- --------
89
-
90
- A quick way to try it out interactively::
91
-
92
- $ pipx run --pip-args="--prefer-binary" --spec "passagemath-eclib[test]" ipython
93
-
94
- In [1]: from sage.all__sagemath_eclib import *
95
-
96
- In [2]: M = CremonaModularSymbols(43, cuspidal=True); M
97
- Out[2]: Cremona Cuspidal Modular Symbols space of dimension 6 for Gamma_0(43) of weight 2 with sign 0
98
-
99
- Finding the installation location of the mwrank program::
100
-
101
- $ pipx run --pip-args="--prefer-binary" --spec "passagemath-eclib" python
102
- >>> from sage.features.eclib import Mwrank
103
- >>> Mwrank().absolute_filename()
104
- '/Users/mkoeppe/.local/pipx/.cache/6c494549ef80bf7/lib/python3.11/site-packages/sage_wheels/bin/mwrank'
105
-
106
- Use with `sage.schemes.elliptic_curves <https://doc.sagemath.org/html/en/reference/arithmetic_curves/index.html#elliptic-curves>`_::
107
-
108
- $ pipx run --pip-args="--prefer-binary" --spec "passagemath-eclib[test]" ipython
109
-
110
- In [1]: from sage.all__sagemath_eclib import *
111
-
112
- In [2]: x = polygen(ZZ, 'x')
113
-
114
- In [3]: K = NumberField(x**2 + 23, 'a'); a = K.gen()
115
-
116
- In [4]: E = EllipticCurve(K, [0,0,0,101,0])
117
-
118
- In [5]: E.gens()
119
-
120
-
121
- Development
122
- -----------
123
-
124
- ::
125
-
126
- $ git clone --origin passagemath https://github.com/passagemath/passagemath.git
127
- $ cd passagemath
128
- passagemath $ ./bootstrap
129
- passagemath $ python3 -m venv eclib-venv
130
- passagemath $ source eclib-venv/bin/activate
131
- (eclib-venv) passagemath $ pip install -v -e pkgs/sagemath-eclib
@@ -1,34 +0,0 @@
1
- sage_wheels/bin/mwrank,sha256=NDjd27eCZgDl1T-gAfX9cMp4cgilJXJ1a121M34WFRU,252136
2
- passagemath_eclib.libs/libmpfr-cd7b3652.so.6.2.1,sha256=nEt5Y3DXalA-u6TOVRjCsfR2lpWiFxrQIdtexjMrUL8,770561
3
- passagemath_eclib.libs/libgcc_s-a0b57c20.so.1,sha256=XPAr2giQZFaQKDEig3i_sQM7zfbaGkuhwmZ9ryvu-Vk,148041
4
- passagemath_eclib.libs/libec-6f1fecd6.so.10.3.0,sha256=vGuRuM6By30U3nZPrm1yxqhax0S-RUcEiZcNdHlhARw,40219793
5
- passagemath_eclib.libs/libgf2x-6092b6c2.so.3.0.0,sha256=9I6f9ZmMWB_AsdfoL_zlaETXiIuURRlxxh6RI8yTzZo,107433
6
- passagemath_eclib.libs/libstdc++-0d31ccbe.so.6.0.32,sha256=QyUTnI2umnGgPmNJ-6F_BVIAJnq6-70cNoEWpma6EFQ,3494521
7
- passagemath_eclib.libs/libflint-218f8266.so.19.0.0,sha256=2ywGNU0Tua8LRKAx0WpR__gRBoLJmCBw4ZXEiz0JK1E,11682729
8
- passagemath_eclib.libs/libgmp-f6d0246f.so.10.5.0,sha256=cFiE1sfEqS6HTSh-PKC-3dQeC7TdSeHNHjNionNLOxI,527473
9
- passagemath_eclib.libs/libntl-f4c1f98d.so.44.0.1,sha256=mH1Fyp6CQmsbohDfjaMFo42nrPaJnFrapReeZqL1jQM,3017609
10
- passagemath_eclib.libs/libpari-gmp-tls-28bca296.so.2.15.5,sha256=7HgmvMQKdp-ehqvYjunjtWtJMmAIAAbCnGfcm3abddU,11230937
11
- passagemath_eclib-10.5.18.dist-info/METADATA,sha256=5YzsAZzc4Y5JeHP-u0f5j2MOtHgJQahKFs-Snb8xDPY,5313
12
- passagemath_eclib-10.5.18.dist-info/RECORD,,
13
- passagemath_eclib-10.5.18.dist-info/top_level.txt,sha256=Kmzulf9WsphADFQuqgvdy5mvTLDj_V2zkFHU2s3UXos,6
14
- passagemath_eclib-10.5.18.dist-info/WHEEL,sha256=0YqoKpIYqm37NqpTXnSSuBR8luVWM2UMssZySUeF554,112
15
- sage/all__sagemath_eclib.py,sha256=Fb1yQw6ae3BZt2F28ZiQzY5lmSwar1mhGbSxmehVfYw,328
16
- sage/interfaces/mwrank.py,sha256=y6lal269BI5a2Uvf35qN8ovvYikn3MRJ7_L_a2KU0a8,12478
17
- sage/interfaces/all__sagemath_eclib.py,sha256=VjiZlK64wgH3SQYvGUcepeTUQngHlgGRH90Uyv5LnSE,44
18
- sage/libs/all__sagemath_eclib.py,sha256=H84MU_RUF7AFi4kYwqjD7qf-5Ubp8p1JM0CQ3zQPEbM,497
19
- sage/libs/eclib/newforms.pyx,sha256=sqx0yta_mul8McABIBlzK0Xj9COo-HFDM_zFCWtbKMc,15483
20
- sage/libs/eclib/homspace.cpython-312-x86_64-linux-musl.so,sha256=B7QEFXB0fr-mecTngd6HgllfMdrN2eH_FVo5v9eToo4,679121
21
- sage/libs/eclib/interface.py,sha256=lOBGfGvWsL_-56IaepXVj13ijX7HE-IsijUzIaOQ2DU,50548
22
- sage/libs/eclib/mat.pyx,sha256=n2f_CIxIujRUFgUrltKj8p7eFKNFD4QvdPKDv6b5Byo,7417
23
- sage/libs/eclib/newforms.pxd,sha256=7OmyBO8Tj8hncCdPAPHNLIS4axhZRM-rRYoyLjZ7-Mc,186
24
- sage/libs/eclib/__init__.py,sha256=VjiZlK64wgH3SQYvGUcepeTUQngHlgGRH90Uyv5LnSE,44
25
- sage/libs/eclib/__init__.pxd,sha256=yZCJh1tL3IAPRsl-3KBuI0L1R3g4OEtXwtRzAfthbyE,4834
26
- sage/libs/eclib/mwrank.cpython-312-x86_64-linux-musl.so,sha256=5yi0z63Tg5Vnz3MahtJry48_S3mjO6sjDOu7-CXtYT8,1207617
27
- sage/libs/eclib/all.py,sha256=Nwq0p-bytJLGjPQi9SA0ej_gnjDmhUYHsqr6owIimss,316
28
- sage/libs/eclib/mwrank.pyx,sha256=39FNEm22seSBoepMAUdf-aUT5DGVkErzqzFfun8BkqQ,43700
29
- sage/libs/eclib/newforms.cpython-312-x86_64-linux-musl.so,sha256=fs4W6eMKTt2JazODnWVmwy4GpIKcn6s_h41u-WMti7c,831177
30
- sage/libs/eclib/homspace.pyx,sha256=uzmWG8kKgH9NNAEx-Ym1JaW7UVUwoJ-jwsWdwh7jfw4,9653
31
- sage/libs/eclib/homspace.pxd,sha256=snYcG_sEmIHuV1zAlVjXgYfCyJ_BIBRKplJ8dOVisMw,131
32
- sage/libs/eclib/mat.cpython-312-x86_64-linux-musl.so,sha256=qDzbeTyFj9grkOGSXfihFbjI7c_YhhLgpvu4HMqxf6w,519257
33
- sage/libs/eclib/mat.pxd,sha256=JXuI8yzgKxxGkVWfM5hNvr3I8bIu-HKzmNuddrV0Hf8,173
34
- sage/libs/eclib/constructor.py,sha256=k4ug-84zOdPsVkcc0fQECuaXcxdWuK34j76U4n0k80Y,2962
@@ -1,2 +0,0 @@
1
-
2
- sage