Skip to content

Commit 59da456

Browse files
author
Matthias Koeppe
committed
./sage -fixdoctests --distribution sagemath-categories --only-tags src/sage/combinat
1 parent b59d93b commit 59da456

37 files changed

+1046
-1046
lines changed

src/sage/combinat/root_system/cartan_matrix.py

Lines changed: 144 additions & 144 deletions
Large diffs are not rendered by default.

src/sage/combinat/root_system/coxeter_group.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,19 @@ def CoxeterGroup(data, implementation="reflection", base_ring=None, index_set=No
4646
``implementation`` is not specified, the reflection representation
4747
is returned::
4848
49-
sage: W = CoxeterGroup(["A",2]); W # optional - sage.libs.gap
49+
sage: W = CoxeterGroup(["A",2]); W # needs sage.libs.gap
5050
Finite Coxeter group over Integer Ring with Coxeter matrix:
5151
[1 3]
5252
[3 1]
5353
54-
sage: W = CoxeterGroup(["A",3,1]); W # optional - sage.libs.gap
54+
sage: W = CoxeterGroup(["A",3,1]); W # needs sage.libs.gap
5555
Coxeter group over Integer Ring with Coxeter matrix:
5656
[1 3 2 3]
5757
[3 1 3 2]
5858
[2 3 1 3]
5959
[3 2 3 1]
6060
61-
sage: W = CoxeterGroup(['H',3]); W # optional - sage.libs.gap
61+
sage: W = CoxeterGroup(['H',3]); W # needs sage.libs.gap
6262
Finite Coxeter group over Number Field in a with defining polynomial x^2 - 5
6363
with a = 2.236067977499790? with Coxeter matrix:
6464
[1 3 2]
@@ -74,24 +74,24 @@ def CoxeterGroup(data, implementation="reflection", base_ring=None, index_set=No
7474
and Category of finite weyl groups
7575
and Category of well generated finite irreducible complex reflection groups
7676
77-
sage: W = CoxeterGroup(["A",2], implementation="matrix"); W # optional - sage.libs.gap
77+
sage: W = CoxeterGroup(["A",2], implementation="matrix"); W # needs sage.libs.gap
7878
Weyl Group of type ['A', 2] (as a matrix group acting on the ambient space)
7979
80-
sage: W = CoxeterGroup(["H",3], implementation="matrix"); W # optional - sage.libs.gap sage.rings.number_field
80+
sage: W = CoxeterGroup(["H",3], implementation="matrix"); W # needs sage.libs.gap sage.rings.number_field
8181
Finite Coxeter group over Number Field in a with defining polynomial x^2 - 5
8282
with a = 2.236067977499790? with Coxeter matrix:
8383
[1 3 2]
8484
[3 1 5]
8585
[2 5 1]
8686
87-
sage: W = CoxeterGroup(["H",3], implementation="reflection"); W # optional - sage.rings.number_field
87+
sage: W = CoxeterGroup(["H",3], implementation="reflection"); W # needs sage.rings.number_field
8888
Finite Coxeter group over Number Field in a with defining polynomial x^2 - 5
8989
with a = 2.236067977499790? with Coxeter matrix:
9090
[1 3 2]
9191
[3 1 5]
9292
[2 5 1]
9393
94-
sage: W = CoxeterGroup(["A",4,1], implementation="permutation") # optional - sage.libs.gap
94+
sage: W = CoxeterGroup(["A",4,1], implementation="permutation") # needs sage.libs.gap
9595
Traceback (most recent call last):
9696
...
9797
ValueError: the type must be finite
@@ -101,12 +101,12 @@ def CoxeterGroup(data, implementation="reflection", base_ring=None, index_set=No
101101
102102
We use the different options for the "reflection" implementation::
103103
104-
sage: W = CoxeterGroup(["H",3], implementation="reflection", base_ring=RR); W # optional - sage.libs.gap
104+
sage: W = CoxeterGroup(["H",3], implementation="reflection", base_ring=RR); W # needs sage.libs.gap
105105
Finite Coxeter group over Real Field with 53 bits of precision with Coxeter matrix:
106106
[1 3 2]
107107
[3 1 5]
108108
[2 5 1]
109-
sage: W = CoxeterGroup([[1,10],[10,1]], implementation="reflection", # optional - sage.symbolics
109+
sage: W = CoxeterGroup([[1,10],[10,1]], implementation="reflection", # needs sage.symbolics
110110
....: index_set=['a','b'], base_ring=SR); W
111111
Finite Coxeter group over Symbolic Ring with Coxeter matrix:
112112
[ 1 10]

src/sage/combinat/root_system/coxeter_type.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -245,11 +245,11 @@ def coxeter_matrix(self):
245245
246246
EXAMPLES::
247247
248-
sage: CoxeterType(['A', 3]).coxeter_matrix() # optional - sage.graphs
248+
sage: CoxeterType(['A', 3]).coxeter_matrix() # needs sage.graphs
249249
[1 3 2]
250250
[3 1 3]
251251
[2 3 1]
252-
sage: CoxeterType(['A', 3, 1]).coxeter_matrix() # optional - sage.graphs
252+
sage: CoxeterType(['A', 3, 1]).coxeter_matrix() # needs sage.graphs
253253
[1 3 2 3]
254254
[3 1 3 2]
255255
[2 3 1 3]
@@ -263,9 +263,9 @@ def coxeter_graph(self):
263263
264264
EXAMPLES::
265265
266-
sage: CoxeterType(['A', 3]).coxeter_graph() # optional - sage.graphs
266+
sage: CoxeterType(['A', 3]).coxeter_graph() # needs sage.graphs
267267
Graph on 3 vertices
268-
sage: CoxeterType(['A', 3, 1]).coxeter_graph() # optional - sage.graphs
268+
sage: CoxeterType(['A', 3, 1]).coxeter_graph() # needs sage.graphs
269269
Graph on 4 vertices
270270
"""
271271

@@ -357,16 +357,16 @@ def bilinear_form(self, R=None):
357357
358358
EXAMPLES::
359359
360-
sage: CoxeterType(['A', 2, 1]).bilinear_form() # optional - sage.graphs sage.rings.number_field
360+
sage: CoxeterType(['A', 2, 1]).bilinear_form() # needs sage.graphs sage.rings.number_field
361361
[ 1 -1/2 -1/2]
362362
[-1/2 1 -1/2]
363363
[-1/2 -1/2 1]
364-
sage: CoxeterType(['H', 3]).bilinear_form() # optional - sage.graphs sage.rings.number_field
364+
sage: CoxeterType(['H', 3]).bilinear_form() # needs sage.graphs sage.rings.number_field
365365
[ 1 -1/2 0]
366366
[ -1/2 1 1/2*E(5)^2 + 1/2*E(5)^3]
367367
[ 0 1/2*E(5)^2 + 1/2*E(5)^3 1]
368-
sage: C = CoxeterMatrix([[1,-1,-1],[-1,1,-1],[-1,-1,1]]) # optional - sage.graphs sage.rings.number_field
369-
sage: C.bilinear_form() # optional - sage.graphs sage.rings.number_field
368+
sage: C = CoxeterMatrix([[1,-1,-1],[-1,1,-1],[-1,-1,1]]) # needs sage.graphs sage.rings.number_field
369+
sage: C.bilinear_form() # needs sage.graphs sage.rings.number_field
370370
[ 1 -1 -1]
371371
[-1 1 -1]
372372
[-1 -1 1]
@@ -479,7 +479,7 @@ def coxeter_matrix(self):
479479
EXAMPLES::
480480
481481
sage: C = CoxeterType(['H',3])
482-
sage: C.coxeter_matrix() # optional - sage.graphs
482+
sage: C.coxeter_matrix() # needs sage.graphs
483483
[1 3 2]
484484
[3 1 5]
485485
[2 5 1]
@@ -493,7 +493,7 @@ def coxeter_graph(self):
493493
EXAMPLES::
494494
495495
sage: C = CoxeterType(['H',3])
496-
sage: C.coxeter_graph().edges(sort=True) # optional - sage.graphs
496+
sage: C.coxeter_graph().edges(sort=True) # needs sage.graphs
497497
[(1, 2, 3), (2, 3, 5)]
498498
"""
499499
return self._cartan_type.coxeter_diagram()

src/sage/combinat/root_system/hecke_algebra_representation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ def cartan_type(self):
871871
sage: E.cartan_type()
872872
['B', 3, 1]
873873
874-
sage: NonSymmetricMacdonaldPolynomials(["B", 2, 1]).cartan_type() # optional - sage.graphs
874+
sage: NonSymmetricMacdonaldPolynomials(["B", 2, 1]).cartan_type() # needs sage.graphs
875875
['B', 2, 1]
876876
"""
877877
return self._T_Y.cartan_type()

0 commit comments

Comments
 (0)