#9972: Add toric lattice morphisms
-------------------------------------+--------------------------------------
   Reporter:  novoselt               |       Owner:  mhampton  
       Type:  enhancement            |      Status:  needs_work
   Priority:  major                  |   Milestone:  sage-4.6  
  Component:  geometry               |    Keywords:            
     Author:  Andrey Novoseltsev     |    Upstream:  N/A       
   Reviewer:  Volker Braun           |      Merged:            
Work_issues:  switch to FanMorphism  |  
-------------------------------------+--------------------------------------

Comment(by vbraun):

 Well `face_lattice`, `faces`, `facet_of`, and `facets` should return
 mathematically equivalent results if the cone is in the wrong ambient, so
 they don't count.  For `adjacent` and `star_generators` I would tend to
 let your argument pass that the output would be so wildly wrong that it is
 immediately obvious. But `ambient_ray_indices` of a `Cone` always returns
 valid index ranges (namely, `range(0,cone.nrays())`).

 So I do maintain that this method is particularly dangerous. Note that I
 don't want to get rid of the `_ambient_ray_indices` data member, just
 {{{
 def ray_indices(self, cone):
     if self is cone.ambient():
         return cone._ambient_ray_indices
     # slow fallback
 }}}

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