#5061: Steenrod algebras report additive order of 0 is p
---------------------+------------------------------------------------------
 Reporter:  boothby  |       Owner:  tbd
     Type:  defect   |      Status:  new
 Priority:  major    |   Milestone:     
Component:  algebra  |    Keywords:     
---------------------+------------------------------------------------------
 This is wrong:

 {{{
 sage: S2 = SteenrodAlgebra(2)
 sage: z = S2(0)
 sage: z.additive_order()
 2
 }}}

 looking at the code, it's easy to see why this happens...

 {{{
     def additive_order(self):
         """
         The additive order of any element of the mod p Steenrod algebra is
 p.

         OUTPUT:
             order -- positive prime number

         EXAMPLES:
             sage: z = Sq(4) + Sq(6) + Sq(0)
             sage: z.additive_order()
             2
         """
         return self._prime
 }}}

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