passagemath-cmr 10.6.10__cp311-cp311-macosx_13_0_x86_64.whl → 10.6.40__cp311-cp311-macosx_13_0_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.
Binary file
Binary file
@@ -0,0 +1,3 @@
1
+ # sage_setup: distribution = sagemath-cmr
2
+
3
+ from sage.all__sagemath_cmr import *
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: passagemath-cmr
3
- Version: 10.6.10
3
+ Version: 10.6.40
4
4
  Summary: passagemath: Combinatorial matrix recognition
5
5
  Author-email: The Sage Developers <sage-support@googlegroups.com>
6
6
  Maintainer: Matthias Köppe, passagemath contributors
@@ -27,15 +27,15 @@ Classifier: Programming Language :: Python :: 3.12
27
27
  Classifier: Programming Language :: Python :: 3.13
28
28
  Classifier: Programming Language :: Python :: Implementation :: CPython
29
29
  Classifier: Topic :: Scientific/Engineering :: Mathematics
30
- Requires-Python: <3.14,>=3.10
30
+ Requires-Python: <3.15,>=3.10
31
31
  Description-Content-Type: text/x-rst
32
- Requires-Dist: cysignals<1.12.4; sys_platform == "win32"
32
+ Requires-Dist: cysignals!=1.12.4; sys_platform == "win32"
33
33
  Requires-Dist: cysignals!=1.12.0,>=1.11.2
34
- Requires-Dist: passagemath-modules~=10.6.10.0
35
- Requires-Dist: passagemath-graphs~=10.6.10.0
34
+ Requires-Dist: passagemath-modules~=10.6.40.0
35
+ Requires-Dist: passagemath-graphs~=10.6.40.0
36
36
  Provides-Extra: test
37
- Requires-Dist: passagemath-repl~=10.6.10.0; extra == "test"
38
- Requires-Dist: passagemath-pari~=10.6.10.0; extra == "test"
37
+ Requires-Dist: passagemath-repl~=10.6.40.0; extra == "test"
38
+ Requires-Dist: passagemath-pari~=10.6.40.0; extra == "test"
39
39
 
40
40
  ==========================================================================
41
41
  passagemath: Combinatorial matrix recognition
@@ -113,7 +113,7 @@ Examples
113
113
 
114
114
  $ pipx run --pip-args="--prefer-binary" --spec "passagemath-cmr[test]" ipython
115
115
 
116
- In [1]: from sage.all__sagemath_cmr import *
116
+ In [1]: from passagemath_cmr import *
117
117
 
118
118
  In [2]: from sage.matrix.matrix_cmr_sparse import Matrix_cmr_chr_sparse
119
119
 
@@ -141,6 +141,7 @@ Development
141
141
  passagemath $ source ./.homebrew-build-env # on macOS when homebrew is in use
142
142
  passagemath $ export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/wsl/lib # on WSL
143
143
  passagemath $ export PIP_CONSTRAINT="$(pwd)/constraints_cmr.txt"
144
+ passagemath $ export PIP_BUILD_CONSTRAINT="$(pwd)/constraints_cmr.txt"
144
145
  passagemath $ echo "passagemath-categories @ file://$(pwd)/pkgs/sagemath-categories" >> constraints_cmr.txt
145
146
  passagemath $ echo "passagemath-modules @ file://$(pwd)/pkgs/sagemath-modules" >> constraints_cmr.txt
146
147
  passagemath $ python3 -m venv cmr-venv
@@ -154,7 +155,7 @@ Modularized use::
154
155
  (cmr-venv) passagemath $ pip install -v passagemath-repl
155
156
  (cmr-venv) passagemath $ sage
156
157
  ... sage.all is not available ...
157
- sage: from sage.all__sagemath_modules import *
158
+ sage: from passagemath_modules import *
158
159
  sage: matroids.Uniform(3, 4)
159
160
  U(3, 4): Matroid of rank 3 on 4 elements with circuit-closures
160
161
  {3: {{0, 1, 2, 3}}}
@@ -162,7 +163,7 @@ Modularized use::
162
163
  In plain Python::
163
164
 
164
165
  (cmr-venv) passagemath $ python3
165
- >>> from sage.all__sagemath_modules import *
166
+ >>> from passagemath_modules import *
166
167
  >>> matroids.Uniform(3, 4)
167
168
  U(3, 4): Matroid of rank 3 on 4 elements with circuit-closures
168
169
  {3: {{0, 1, 2, 3}}}
@@ -0,0 +1,20 @@
1
+ passagemath_cmr/__init__.py,sha256=tDxhxUX03EveX4yavWoPphSnQy6Hfch7TjnNMIY-hLU,80
2
+ passagemath_cmr/.dylibs/libcmr.dylib,sha256=C48M-qdmpnmg3_TOsqWdhtsG_PnQSOOBzLj8RIaGiJw,971496
3
+ passagemath_cmr/.dylibs/libgmp.10.dylib,sha256=TUejTzoQXYaTV0ctGqr0IeGcy6SnfZd86cWsBtQ_CIU,488712
4
+ passagemath_cmr-10.6.40.dist-info/RECORD,,
5
+ passagemath_cmr-10.6.40.dist-info/WHEEL,sha256=wlOID7aumVp4ANpc7b_jjphnWw6TfTPEII6z8zgq67I,154
6
+ passagemath_cmr-10.6.40.dist-info/top_level.txt,sha256=CKOQrDewaLP2icikzyFWWNW_krYi3PwlBbqZm_FYt6g,22
7
+ passagemath_cmr-10.6.40.dist-info/METADATA,sha256=CtZfp5C0K4DfeqrRi7huRhImXrBoJDYC-FmK9vE22eE,7306
8
+ sage/all__sagemath_cmr.py,sha256=KR76vnXfmqtz5FA-qDWl-bKa_ltk6s_L01y6zi3VleM,144
9
+ sage/libs/all__sagemath_cmr.py,sha256=qPVTT6gyP0yYSmMXuAIGeRCUG42fV2IhXKSX9Ke1pa0,42
10
+ sage/libs/cmr/cmr.cpython-311-darwin.so,sha256=tkbC3iP1wOTBbZBME9wyZCWHYdU7DJx1GAXKuK91XqY,27200
11
+ sage/libs/cmr/cmr.pxd,sha256=5LFDFXs20sVJoLprRTkfU0qX3SkHtdkdLiFs5B6CCGU,31667
12
+ sage/libs/cmr/__init__.py,sha256=qPVTT6gyP0yYSmMXuAIGeRCUG42fV2IhXKSX9Ke1pa0,42
13
+ sage/libs/cmr/cmr.pyx,sha256=h-maxhuJKYDr77zggNg9L7qyaTgRu51_MEXitaI_sdY,861
14
+ sage/matrix/all__sagemath_cmr.py,sha256=qPVTT6gyP0yYSmMXuAIGeRCUG42fV2IhXKSX9Ke1pa0,42
15
+ sage/matrix/matrix_cmr_sparse.cpython-311-darwin.so,sha256=q5TbN36sGeADomD4Zmlszc-hsF9D7aAuLviz6xBwro8,860960
16
+ sage/matrix/matrix_cmr_sparse.pyx,sha256=vC-v5BXvtdjgsRipqtX4uhRWLt1s2ESyzr3-3hbQfLQ,249381
17
+ sage/matrix/seymour_decomposition.cpython-311-darwin.so,sha256=OhLnIbnlHsthZ3yMUTMjr0iCnLRwCYdOqeAbpMmIbwU,886328
18
+ sage/matrix/seymour_decomposition.pxd,sha256=QYse5YnIa_Dk8NGLU991eFe5u0PzxT_qM0KfXITdt4E,1186
19
+ sage/matrix/seymour_decomposition.pyx,sha256=YS1BpLgFLWTwcqe0EJqlgRl0vRUX-ZhBRKAdgvyZe_U,197498
20
+ sage/matrix/matrix_cmr_sparse.pxd,sha256=EROkdgXmem-ZgdXHKl7Nke_mZC_HKCZPRjocWcyivwY,1095
@@ -2,5 +2,5 @@ Wheel-Version: 1.0
2
2
  Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp311-cp311-macosx_13_0_x86_64
5
- Generator: delocate 0.13.0
5
+ Generator: delocate 0.13.1.dev42+ga0af70b54
6
6
 
@@ -0,0 +1,3 @@
1
+
2
+ passagemath_cmr
3
+ sage
Binary file
@@ -5403,20 +5403,25 @@ cdef class Matrix_cmr_chr_sparse(Matrix_cmr_sparse):
5403
5403
  INPUT:
5404
5404
 
5405
5405
  - ``certificate`` -- boolean (default: ``False``);
5406
- if ``True``, then return
5407
- a :class:`DecompositionNode` if ``self`` is totally unimodular;
5408
- a submatrix with determinant not in `\{0, \pm1\}` if not.
5406
+ if ``True``, then return a certificate for the answer:
5407
+
5408
+ - in the case of a ``True`` answer, a (full) Seymour decomposition
5409
+ (:class:`DecompositionNode`),
5410
+
5411
+ - in the case of a ``False`` answer, a (possibly partial) Seymour
5412
+ decomposition and a pair of row and column indices specifying a
5413
+ submatrix with determinant not in `\{0, \pm1\}`.
5409
5414
 
5410
5415
  - ``stop_when_nonTU`` -- boolean (default: ``True``);
5411
- whether to stop decomposing once not TU is determined.
5416
+ whether to stop decomposing once non-TUness is determined.
5412
5417
 
5413
5418
  For a description of other parameters, see :meth:`_set_cmr_seymour_parameters`
5414
5419
 
5415
5420
  - ``row_keys`` -- a finite or enumerated family of arbitrary objects
5416
- that index the rows of the matrix
5421
+ that index the rows of the matrix, for use in certificates
5417
5422
 
5418
5423
  - ``column_keys`` -- a finite or enumerated family of arbitrary objects
5419
- that index the columns of the matrix
5424
+ that index the columns of the matrix, for use in certificates
5420
5425
 
5421
5426
  EXAMPLES::
5422
5427
 
@@ -5583,8 +5588,13 @@ cdef class Matrix_cmr_chr_sparse(Matrix_cmr_sparse):
5583
5588
  if submat == NULL:
5584
5589
  submat_tuple = None
5585
5590
  else:
5586
- submat_tuple = (tuple(submat.rows[i] for i in range(submat.numRows)),
5587
- tuple(submat.columns[i] for i in range(submat.numColumns)))
5591
+ submat_rows = tuple(submat.rows[i] for i in range(submat.numRows))
5592
+ if row_keys is not None:
5593
+ submat_rows = tuple(row_keys[i] for i in submat_rows)
5594
+ submat_columns = tuple(submat.columns[i] for i in range(submat.numColumns))
5595
+ if column_keys is not None:
5596
+ submat_columns = tuple(column_keys[i] for i in submat_columns)
5597
+ submat_tuple = (submat_rows, submat_columns)
5588
5598
 
5589
5599
  return result, (node, submat_tuple)
5590
5600
 
@@ -1,19 +0,0 @@
1
- passagemath_cmr-10.6.10.dist-info/RECORD,,
2
- passagemath_cmr-10.6.10.dist-info/WHEEL,sha256=RyxoEM-DdYra2rgZTpxdiJkmjbwgUQ_Obk5UCeDLiEQ,137
3
- passagemath_cmr-10.6.10.dist-info/top_level.txt,sha256=Kmzulf9WsphADFQuqgvdy5mvTLDj_V2zkFHU2s3UXos,6
4
- passagemath_cmr-10.6.10.dist-info/METADATA,sha256=4U7xt9YUZvl9vQNQLCz03bkvhu7Eu2OwZTRhbcJR7Uw,7251
5
- passagemath_cmr.dylibs/libcmr.dylib,sha256=zqKHbiQDRIIWn56MnpZwLFFiS0jfvriWvPnMFr7HbV4,1022144
6
- passagemath_cmr.dylibs/libgmp.10.dylib,sha256=LhIFhB5ubSkaNxYaPKPhCuik6a9CggQJXs8x8XWJKlg,580928
7
- sage/all__sagemath_cmr.py,sha256=KR76vnXfmqtz5FA-qDWl-bKa_ltk6s_L01y6zi3VleM,144
8
- sage/libs/all__sagemath_cmr.py,sha256=qPVTT6gyP0yYSmMXuAIGeRCUG42fV2IhXKSX9Ke1pa0,42
9
- sage/libs/cmr/cmr.cpython-311-darwin.so,sha256=cmB57L6_nT_4341fLYs27EYgyqrnEssd1gn5gHNWpqw,76480
10
- sage/libs/cmr/cmr.pxd,sha256=5LFDFXs20sVJoLprRTkfU0qX3SkHtdkdLiFs5B6CCGU,31667
11
- sage/libs/cmr/__init__.py,sha256=qPVTT6gyP0yYSmMXuAIGeRCUG42fV2IhXKSX9Ke1pa0,42
12
- sage/libs/cmr/cmr.pyx,sha256=h-maxhuJKYDr77zggNg9L7qyaTgRu51_MEXitaI_sdY,861
13
- sage/matrix/all__sagemath_cmr.py,sha256=qPVTT6gyP0yYSmMXuAIGeRCUG42fV2IhXKSX9Ke1pa0,42
14
- sage/matrix/matrix_cmr_sparse.cpython-311-darwin.so,sha256=y-PYMnRNJPhYXXo51CpRPlyscInaZM7F9azshZ7krZ0,1021328
15
- sage/matrix/matrix_cmr_sparse.pyx,sha256=AmgUk0hLox5BB2OAgUZIYHo4ND8jsJ13-8Kz_llxqf8,248825
16
- sage/matrix/seymour_decomposition.cpython-311-darwin.so,sha256=eu6xLjWaYNNTXEiGzaGvvA8vVEcPxLhnLX2Y-FfKk9w,937792
17
- sage/matrix/seymour_decomposition.pxd,sha256=QYse5YnIa_Dk8NGLU991eFe5u0PzxT_qM0KfXITdt4E,1186
18
- sage/matrix/seymour_decomposition.pyx,sha256=YS1BpLgFLWTwcqe0EJqlgRl0vRUX-ZhBRKAdgvyZe_U,197498
19
- sage/matrix/matrix_cmr_sparse.pxd,sha256=EROkdgXmem-ZgdXHKl7Nke_mZC_HKCZPRjocWcyivwY,1095
@@ -1,2 +0,0 @@
1
-
2
- sage
Binary file
Binary file