On Nov 27, 6:23 pm, Alex Raichev <[EMAIL PROTECTED]> wrote: > Hi all: > > I have a list c of elements of QQbar and want to form the field > generated by QQ and the elements of c. What's the easiest way to do > this? > I looked through section 29.1 Number Fields of the Sage reference > manual, but couldn't find a simple solution using the functions > mentioned there.
You want number_field_elements_from_algebraics(c) (or maybe number_field_elements_from_algebraics(c, minimal=True), if you care about getting the smallest possible number field). Carl --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---