#20445: Iteration through Coxeter groups
---------------------------------+------------------------
Reporter: stumpc5 | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-7.2
Component: combinatorics | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
---------------------------------+------------------------
Comment (by stumpc5):
{{{
###########################################################################
#
# N.B. a difference with older versions of Chevie is that IsLeftDescending
and
# FirstLeftDescending return an index in the list of generators,
not a
# reflectionName, for efficiency. LeftDescentSet still returns names
of
# reflections.
#
###########################################################################
## generic reduction of FirstLeftDescending to IsLeftDescending
## in practical implementations of Coxeter groups this routine can often
## be overriden by a more efficient one.
AbsCoxOps.FirstLeftDescending:=function(W, x)local i,ILD;
ILD:=W.operations.IsLeftDescending; # avoid dispatching overhead
for i in W.generatingReflections do if ILD(W,x,i) then return i; fi; od;
return false;
end;
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/20445#comment:2>
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.