#20027: Different behavior for reflections for matrix Coxeter group and Weyl
groups
---------------------------+-----------------------------------------------
Reporter: tscrim | Owner: sage-combinat
Type: defect | Status: new
Priority: major | Milestone: sage-7.1
Component: | Keywords: coxeter groups, reflections
combinatorics | Authors:
Merged in: | Report Upstream: N/A
Reviewers: | Branch:
Work issues: | Dependencies:
Commit: |
Stopgaps: |
---------------------------+-----------------------------------------------
Currently, we have the following behavior:
{{{
sage: W = CoxeterGroup(['A',1])
sage: W.reflections()
[[-1]]
sage: W = WeylGroup(['A',1])
sage: W.reflections()
Finite family {[0 1]
[1 0]: (1, -1)}
}}}
In particular, the former returns a list of elements in the group, whereas
the latter returns a family whose keys are elements in the group and whose
values are roots. This leads to different iterator behaviors between the
two. Since Weyl groups are a subcategory of Coxeter groups, we should make
this behavior consistent.
Note, this was introduced by #11010 and is specific for the matrix
implementation of `CoxeterGroup`. We can also lift this up to the category
of (finite) Coxeter groups.
--
Ticket URL: <http://trac.sagemath.org/ticket/20027>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.