# HG changeset patch
# User J. H. Palmieri <palmieri@math.washington.edu>
# Date 1235674021 28800
# Node ID 3947e15f39537e39140abb555c6ca7d1cba3739d
# Parent aac9256fde7cee87fac430b48e2e03d44cc47ea5
doc patch for #5061
diff r aac9256fde7c r 3947e15f3953 sage/algebras/steenrod_algebra_element.py
a

b


1807  1807  
1808  1808  def additive_order(self): 
1809  1809  """ 
1810   The additive order of any element of the mod p Steenrod algebra is 
1811   p. 
 1810  The additive order of any nonzero element of the mod p 
 1811  Steenrod algebra is p. 
1812  1812  
1813  1813  OUTPUT: 
1814  1814  
… 
… 

1821  1821  sage: z = Sq(4) + Sq(6) + Sq(0) 
1822  1822  sage: z.additive_order() 
1823  1823  2 
 1824  sage: (Sq(3) + Sq(3)).additive_order() 
 1825  1 
1824  1826  """ 
1825  1827  if len(self._raw['milnor']) == 0: 
1826  1828  return 1 