#4837: [with patch, needs review] implement random_element for number fields
-----------------------------------------+----------------------------------
Reporter: AlexGhitza | Owner: AlexGhitza
Type: enhancement | Status: new
Priority: major | Milestone: sage-3.4
Component: number theory | Resolution:
Keywords: random element number field |
-----------------------------------------+----------------------------------
Changes (by AlexGhitza):
* summary: [with patch, not ready for review] implement random_element
for number fields => [with patch, needs review]
implement random_element for number fields
Comment:
Following the discussion at
http://groups.google.com/group/sage-
devel/browse_thread/thread/67b40b64970bbf19
I implemented coercion of elements from the isomorphic polynomial quotient
ring to the number field. As a consequence of this and the code for
random elements of quotient rings at #4218, random_element() for number
fields became a fairly trivial one-liner.
See the attached patch. It is advisable to first merge the patch at
#4218.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4837#comment:8>
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
-~----------~----~----~----~------~----~------~--~---