#11302: Make it easier to construct a fan from a triangulation
-----------------------------+----------------------------------------------
Reporter: vbraun | Owner: mhampton
Type: PLEASE CHANGE | Status: new
Priority: major | Milestone: sage-4.7.1
Component: geometry | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: Volker Braun
Merged: | Dependencies:
-----------------------------+----------------------------------------------
A common step in toric geometry is to construct the fan from some
triangulation. This patch adds a `fan()` method to the triangulation
class, so you can write:
{{{
sage: pc = PointConfiguration([(0,0), (1,0), (0,1), (-1,-1)], star=0,
fine=True)
sage: triangulation = pc.triangulate()
sage: fan = triangulation.fan(); fan
Rational polyhedral fan in 2-d lattice N
sage: fan.is_equivalent( toric_varieties.P2().fan() )
True
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11302>
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.