#4869: make element of relative number field from polynomial
---------------------------+------------------------------------------------
Reporter: AlexGhitza | Owner: was
Type: defect | Status: new
Priority: minor | Milestone: sage-3.4
Component: number theory | Keywords: relative number field polynomial
---------------------------+------------------------------------------------
John Cremona remarked at #4837:
for an absolute extension we can create an element from a polynomial over
the base field, but not for a relative extension:
{{{
sage: K.<z>=CyclotomicField(7)
sage: Ky.<y>=PolynomialRing(K)
sage: L.<a>=K.extension(y^2+1)
sage: K(K.polynomial_ring().random_element())
z + 1
sage: L(L.polynomial_ring().random_element())
---------------------------------------------------------------------------
TypeError
...
TypeError: Unable to coerce 7/2*z^5 + 1/2*z^4 + z^3 - 37/2*z to a rational
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4869>
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
-~----------~----~----~----~------~----~------~--~---