#13191: Construct a 2-d fan from rays only
--------------------------------------+-------------------------------------
       Reporter:  vbraun              |         Owner:  AlexGhitza  
           Type:  enhancement         |        Status:  needs_review
       Priority:  major               |     Milestone:  sage-5.2    
      Component:  algebraic geometry  |    Resolution:              
       Keywords:                      |   Work issues:              
Report Upstream:  N/A                 |     Reviewers:              
        Authors:  Volker Braun        |     Merged in:              
   Dependencies:                      |      Stopgaps:              
--------------------------------------+-------------------------------------
Changes (by vbraun):

 * cc: novoselt (added)
  * status:  new => needs_review


Old description:

> It would be convenient to construct a 2-d fan just from rays (by creating
> the maximal number of 2-d cones). This is what this patch does.

New description:

 It would be convenient to construct a 2-d fan just from rays (by creating
 the maximal number of 2-d cones). This is what this patch does.
 {{{
 sage: fan = Fan2d([(1,1), (-1,-1), (1,-1), (-1,1)])
 sage: [ cone.ambient_ray_indices() for cone in fan ]
 [(2, 1), (1, 3), (3, 0), (0, 2)]
 sage: fan.is_complete()
 True
 }}}

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13191#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 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.

Reply via email to