#17805: Transforming a free monoid element into a list
-------------------------------------+-------------------------------------
Reporter: darij | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.6
Component: combinatorics | Keywords: free monoid, free
Merged in: | algebra, words
Reviewers: | Authors: Darij Grinberg
Work issues: | Report Upstream: N/A
Commit: | Branch: public/combinat
15366729081cb0a2354611df6f2fce02f5e0c223| /free-monoid-to-list
Stopgaps: | Dependencies:
-------------------------------------+-------------------------------------
I want to turn the free monoid element `xxyx` into the list `[x, x, y,
x]`. Currently the `to_word` method does something like this, but it
returns a word consisting of letters whose parent is `str`, while I want a
list consisting of generators of the free monoid. The attached branch does
this. I am using it as a primitive in defining an endomorphism of the free
algebra.
--
Ticket URL: <http://trac.sagemath.org/ticket/17805>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.