@@ -1067,12 +1067,13 @@ def moebius_function_matrix(self, algorithm='cython'):
1067
1067
[ 0 0 0 0 0 0 0 1]
1068
1068
1069
1069
TESTS::
1070
- sage: # needs sage.modules
1071
- sage: H.moebius_function_matrix().is_immutable() # optional - sage.libs.flint
1070
+
1071
+ sage: # needs sage.modules sage.libs.flint
1072
+ sage: H.moebius_function_matrix().is_immutable()
1072
1073
True
1073
- sage: hasattr(H,'_moebius_function_matrix') # optional - sage.libs.flint
1074
+ sage: hasattr(H,'_moebius_function_matrix')
1074
1075
True
1075
- sage: H.moebius_function == H._moebius_function_from_matrix # optional - sage.libs.flint
1076
+ sage: H.moebius_function == H._moebius_function_from_matrix
1076
1077
True
1077
1078
sage: H = posets.TamariLattice(3)._hasse_diagram
1078
1079
sage: M = H.moebius_function_matrix('matrix'); M
@@ -1081,13 +1082,13 @@ def moebius_function_matrix(self, algorithm='cython'):
1081
1082
[ 0 0 1 -1 0]
1082
1083
[ 0 0 0 1 -1]
1083
1084
[ 0 0 0 0 1]
1084
- sage: _ = H.__dict__.pop('_moebius_function_matrix') # optional - sage.modules
1085
- sage: H.moebius_function_matrix('cython') == M # optional - sage.libs.flint sage.modules
1085
+ sage: _ = H.__dict__.pop('_moebius_function_matrix')
1086
+ sage: H.moebius_function_matrix('cython') == M
1086
1087
True
1087
- sage: _ = H.__dict__.pop('_moebius_function_matrix') # optional - sage.libs.flint sage.modules
1088
- sage: H.moebius_function_matrix('recursive') == M # optional - sage.modules
1088
+ sage: _ = H.__dict__.pop('_moebius_function_matrix')
1089
+ sage: H.moebius_function_matrix('recursive') == M
1089
1090
True
1090
- sage: _ = H.__dict__.pop('_moebius_function_matrix') # optional - sage.modules
1091
+ sage: _ = H.__dict__.pop('_moebius_function_matrix')
1091
1092
sage: H.moebius_function_matrix('banana')
1092
1093
Traceback (most recent call last):
1093
1094
...
@@ -1158,7 +1159,6 @@ def coxeter_transformation(self, algorithm='cython'):
1158
1159
1159
1160
EXAMPLES::
1160
1161
1161
- sage: # needs sage.modules
1162
1162
sage: # needs sage.libs.flint sage.modules
1163
1163
sage: P = posets.PentagonPoset()._hasse_diagram
1164
1164
sage: M = P.coxeter_transformation(); M
@@ -1173,7 +1173,6 @@ def coxeter_transformation(self, algorithm='cython'):
1173
1173
1174
1174
TESTS::
1175
1175
1176
- sage: # needs sage.modules
1177
1176
sage: # needs sage.libs.flint sage.modules
1178
1177
sage: P = posets.PentagonPoset()._hasse_diagram
1179
1178
sage: M = P.coxeter_transformation()
0 commit comments