#9470: Switch toric varieties to enhanced fans
----------------------------------+-----------------------------------------
Reporter: novoselt | Owner: AlexGhitza
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-4.5.2
Component: algebraic geometry | Keywords:
Author: Andrey Novoseltsev | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
----------------------------------+-----------------------------------------
Changes (by vbraun):
* status: needs_review => needs_work
Comment:
The `cone_containing` method of a `Fan_of_toric_variety` should also
return a `Cone_of_toric_variety`, but right now:
{{{
sage: P2=toric_varieties.P2()
sage: fan=P2.fan()
sage: [ type(c) for c in fan ]
[<class 'sage.schemes.generic.toric_variety.Cone_of_toric_variety'>,
<class 'sage.schemes.generic.toric_variety.Cone_of_toric_variety'>, <class
'sage.schemes.generic.toric_variety.Cone_of_toric_variety'>]
sage: N=fan.lattice()
sage: c = fan.cone_containing( N(0,1) ); c
1-d cone in 2-d lattice N
sage: type(c)
<class 'sage.geometry.cone.ConvexRationalPolyhedralCone'>
sage: c.ambient()
1-d cone in 2-d lattice N
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9470#comment:2>
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.