Changes between Version 1 and Version 27 of Ticket #21161
 Timestamp:
 04/26/19 15:11:19 (3 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

Ticket #21161

Property
Status
changed from
new
toneeds_review

Property
Reviewers
changed from
to
JeanPhilippe Labbé

Property
Authors
changed from
to
Matthias Koeppe
 Property Cc jipilab cremona tscrim added

Property
Branch
changed from
to
public/repr_of_numberfields__the_parents__should_indicate_its_embedding_if_there_is_one

Property
Milestone
changed from
sage7.4
tosage8.8
 Property Keywords number field added

Property
Commit
changed from
to
76c384e5399ab8ab36920f42f4715c0225b3a273

Property
Status
changed from

Ticket #21161 – Description
v1 v27 9 9 }}} 10 10 11 I propose to change the print representation when there is an embedding, for example like this: 11 This ticket changes the print representation when there is an embedding as follows. 12 12 {{{ 13 sage: K.<sqrt2> = NumberField(x^2  2, embedding=1.4) 14 sage: sqrt2.parent() 15 Real Number Field in sqrt2 as the root of the defining polynomial x^2  2 near 1.41421356237309? 13 Number Field in a with defining polynomial x^13  2/3*x + 3 with a = 1.106745229567614? 16 14 }}} 15 This also works well for more complicated situations such as this one: 16 {{{ 17 sage: K.<a> = NumberField(x^4  3); K 18 Number Field in a with defining polynomial x^4  3 19 sage: H.<b>, from_H = K.subfield(a^2) 20 sage: H 21 Number Field in b with defining polynomial x^2  3 with b = a^2 22 }}}