@@ -111,30 +111,27 @@ Methods
111
111
# https://www.gnu.org/licenses/
112
112
# ****************************************************************************
113
113
114
+ from copy import copy, deepcopy
115
+ from itertools import combinations, product
116
+
114
117
from cpython.object cimport Py_EQ, Py_NE
115
118
116
119
from sage.data_structures.bitset_base cimport *
117
- from sage.structure.richcmp cimport rich_to_bool
118
- from sage.matroids.matroid cimport Matroid
119
- from sage.matroids.basis_exchange_matroid cimport BasisExchangeMatroid
120
- from .lean_matrix cimport (LeanMatrix, GenericMatrix, BinaryMatrix,
121
- TernaryMatrix, QuaternaryMatrix, PlusMinusOneMatrix,
122
- RationalMatrix, generic_identity)
123
- from .set_system cimport SetSystem
124
- from .utilities import newlabel, spanning_stars, spanning_forest, lift_cross_ratios
125
- from sage.graphs.spanning_tree import kruskal
126
120
from sage.graphs.graph import Graph
127
-
128
- from sage.matrix.matrix2 cimport Matrix
129
- import sage.matrix.constructor
121
+ from sage.graphs.spanning_tree import kruskal
130
122
from sage.matrix.constructor import matrix
131
- from copy import copy, deepcopy
123
+ from sage.matrix.matrix2 cimport Matrix
124
+ from sage.matroids.basis_exchange_matroid cimport BasisExchangeMatroid
125
+ from sage.matroids.lean_matrix cimport (LeanMatrix, GenericMatrix, BinaryMatrix,
126
+ TernaryMatrix, QuaternaryMatrix, PlusMinusOneMatrix,
127
+ RationalMatrix, generic_identity)
128
+ from sage.matroids.matroid cimport Matroid
129
+ from sage.matroids.set_system cimport SetSystem
130
+ from sage.matroids.utilities import newlabel, spanning_stars, spanning_forest, lift_cross_ratios
131
+ from sage.rings.finite_rings.finite_field_constructor import FiniteField as GF
132
132
from sage.rings.integer_ring import ZZ
133
133
from sage.rings.rational_field import QQ
134
- from sage.rings.finite_rings.finite_field_constructor import FiniteField
135
- from sage.rings.finite_rings.finite_field_constructor import FiniteField as GF
136
- import itertools
137
- from itertools import combinations, product
134
+ from sage.structure.richcmp cimport rich_to_bool
138
135
139
136
cdef bint GF2_not_defined = True
140
137
cdef GF2, GF2_one, GF2_zero
0 commit comments