#8670: Provide projections methods for word paths
-----------------------------+----------------------------------------------
Reporter: slabbe | Owner: slabbe
Type: enhancement | Status: new
Priority: major | Milestone: sage-4.4
Component: combinatorics | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
Nice mathematical objects can be obtained when projecting appropriately a
discrete path (Rauzy fractals for instance).
This patch introduces 3 projection functions for word path. It also adds 1
function to `WordMorphism` and 2 matrix rotation functions to
`sage/plot/plot3d/transforms.pyx`.
The first 1000 points of the Rauzy fractal :
{{{
sage: s = WordMorphism('1->12,2->13,3->1')
sage: D = s.fixed_point('1')
sage: v = s.pisot_vector()
sage: P = WordPaths('123',[(1,0,0),(0,1,0),(0,0,1)])
sage: w = P(D[:1000])
sage: w.projected_plot(v)
}}}
See more examples in doctests.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8670>
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.