#9005: Derangements
---------------------------------+------------------------------------------
Reporter: amca01 | Owner: sage-combinat
Type: enhancement | Status: new
Priority: minor | Milestone: sage-feature
Component: combinatorics | Keywords: derangements
Author: Alasdair McAndrew | Upstream: Not yet reported upstream;
Will do shortly.
Reviewer: | Merged:
Work_issues: |
---------------------------------+------------------------------------------
The current implementation in Sage for derangements is a wrapper for the
GAP "derangements" and "number_of_derangements" which is very restrictive.
For example, it doesn't allow derangements of arbitrary lists or strings.
The documentation observes
"Warning - Wraps GAP - hence mset must be a list of objects that have
string representations that can be interpreted by the GAP interpreter. If
mset consists of at all complicated Sage objects, this function does not
do what you expect. A proper function should be written! (TODO!)"
This file is an attempt to provide that.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9005>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.