I find that this is not coherent with documentation of Finite Field.
"""
sage: G=GF(7,'a',modulus=QQ[x](x+2))
sage: G.modulus()
x + 6
sage: G.variable_name()
'x'
sage: G.polynomial_ring().hom([G.gen()])
Ring morphism:
From: Univariate Polynomial Ring in x over Finite Field of size 7
To: Finite Field of size 7
Defn: x |--> 1
"""
Is this intended for cache reasons or is a bug? I mean cache eficiency
for the following doctest in finite_rings/constructor.py
"""
sage: K = GF(7, 'a')
sage: L = GF(7, 'b')
sage: K is L
True
"""
Which esentially says that the generator name is ignored in this case.
--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org