-
-
Notifications
You must be signed in to change notification settings - Fork 655
Open
Description
If a number field comes with an embedding into the complex numbers, QQbar should allow coercions (or at least conversions) from that number field.
For example:
sage: K.<a> = NumberField(x^3 - x + 1, embedding=-1.32)
sage: QQbar.coerce_map_from(K)
Ring morphism:
From: Number Field in a with defining polynomial x^3 - x + 1
To: Algebraic Field
Defn: a |--> -1.324717957244746?
Currently, this map can already be created using K.hom([QQbar(a)])
(see #13041).
Component: coercion
Keywords: qqbar
Issue created by migration from https://trac.sagemath.org/ticket/5355