#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 novoselt):

 So for `is_equivalent` optimization I propose inserting
 {{{
         if self == other:
             return True
         if self.ambient() == other.ambient():
             return self.ambient_ray_indices() ==
 other.ambient_ray_indices()
 }}}
 in the beginning of `Cone.is_equivalent`. Maybe with `==` replaced with
 `is` in the `if` statements - both variants will work correctly, the
 question is how many simple but potentially non-informative checks we want
 to perform before using a generic algorithm.

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