#13041: Conversion of number field elements to algebraic numbers
-------------------------------------+-------------------------------------
Reporter: rbeezer | Owner: AlexGhitza
Type: defect | Status: needs_review
Priority: minor | Milestone: sage-6.4
Component: algebra | Resolution:
Keywords: sd40.5 | Merged in:
Authors: Marc Mezzarobba | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/mmezzarobba/NFtoQQbar | 526e66c778c58e34086efd6ad5871ea84186520d
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Description changed by mmezzarobba:
Old description:
> {{{
> sage: C.<z> = CyclotomicField(7)
> sage: a = 2*z^2 + 5*z^4
> sage: E = C.algebraic_closure()
> sage: E(a)
> ---------------------------------------------------------------------------
> TypeError Traceback (most recent call
> last)
> <snip>
> TypeError: Illegal initializer for algebraic number
> }}}
New description:
Implement a basic (but better than nothing) conversion of elements of
number fields embedded into the complex numbers to elements of `QQbar`.
Origininal report:
{{{
sage: C.<z> = CyclotomicField(7)
sage: a = 2*z^2 + 5*z^4
sage: E = C.algebraic_closure()
sage: E(a)
---------------------------------------------------------------------------
TypeError Traceback (most recent call
last)
<snip>
TypeError: Illegal initializer for algebraic number
}}}
--
--
Ticket URL: <http://trac.sagemath.org/ticket/13041#comment:7>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.