#3045: [with patch, needs review] K.gen() where K = GF(p) returns 1, not a
primitive element
---------------------------+------------------------------------------------
 Reporter:  jxxcarlson     |        Owner:  was       
     Type:  defect         |       Status:  new       
 Priority:  major          |    Milestone:  sage-3.4.1
Component:  number theory  |   Resolution:            
 Keywords:  galois field   |  
---------------------------+------------------------------------------------
Comment (by AlexGhitza):

 Kiran, I tried to find some examples and couldn't.  I think the point of
 the warning in the docstring is that we are not guaranteeing that the
 finite fields code wouldn't change in the future in such a way that other
 generators would be returned; or, for that matter, that the same version
 of Sage running on wildly different architectures won't return different
 generators.  I modified the docstrings a bit to (hopefully) make that more
 clear.

 Note that multiplicative_generator() calls pari's znprimroot(), so
 whatever fuzziness there is in pari's finding a generator gets
 automatically inherited by Sage.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/3045#comment:3>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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