#18653: Slicing for quiver paths
---------------------------------+------------------------
Reporter: SimonKing | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.8
Component: combinatorics | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
---------------------------------+------------------------
Description changed by SimonKing:
Old description:
> The following should be made to work:
> {{{
> sage: A.<a,b,c,d,e,f> = FreeAlgebra(QQ, implementation='letterplace')
> sage: p = a*b*a*c*d*a*f
> sage: p[3:-1]
> c*d*a
> }}}
> So, a `__getitem__` method should be implemented for paths.
New description:
The following should be made to work:
{{{
sage: A.<a,b,c,d,e,f> = FreeAlgebra(QQ, implementation='letterplace')
sage: p = a*b*a*c*d*a*f
sage: p[3:-1]
c*d*a
}}}
So, a `__getitem__` method should be implemented for monomials of free
algebras.
--
--
Ticket URL: <http://trac.sagemath.org/ticket/18653#comment:1>
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.