#8327: Implement the universal cyclotomic field, using Zumbroich basis
-----------------------------------------------------+----------------------
       Reporter:  nthiery                            |         Owner:           
   
           Type:  enhancement                        |        Status:  
needs_review
       Priority:  major                              |     Milestone:  sage-5.6 
   
      Component:  number fields                      |    Resolution:           
   
       Keywords:  Cyclotomic field, Zumbroich basis  |   Work issues:           
   
Report Upstream:  N/A                                |     Reviewers:           
   
        Authors:  Christian Stump, Simon King        |     Merged in:           
   
   Dependencies:  #13765                             |      Stopgaps:           
   
-----------------------------------------------------+----------------------

Comment (by nthiery):

 Replying to [comment:159 nbruin]:
 > Don't test the actual value returned by hash, but test its
 functionality. Something like (do we have some example that exercises
 hashes appropriately?):
 > {{{
 > sage: a = ...
 > sage: b = ...
 > sage: c = ...
 > sage: V = set([a,b])
 > sage: <definition for a> in V
 > true
 > sage: b in V
 > true
 > sage: c in V
 > false
 > }}}
 > and perhaps test your hash function is not the constant function and has
 a reasonable distribution:
 > {{{
 > sage: L = [<object> for i in [1..100]]
 > sage: set(hash(x) for x in L).len() >= 98
 > true
 > }}}

 Just a remark: those would make good candidates for a generic _test_hash
 method for parents.

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