Changes between Initial Version and Version 1 of Ticket #26872


Ignore:
Timestamp:
12/11/18 08:51:23 (5 months ago)
Author:
slelievre
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26872

    • Property Cc slelievre vdelecroix added
    • Property Keywords universal cyclotomic field added
    • Property Summary changed from Implement abs for UniversalCyclotomicField elements to Implement abs and sqrt for UniversalCyclotomicField elements
  • Ticket #26872 – Description

    initial v1  
    1 Reported by Ask Sage user Assombrance:
     1Inspired by this report by Ask Sage user Assombrance:
    22
    33- [[https://ask.sagemath.org/question/44623|Ask Sage question 44623: Norm in UniversalCyclotomicField]]
    44
    5 It should be enough to implement `__abs__` for elements of the universal
    6 cyclotomic field, computed as the square root of `z * z.conjugate()` or of
    7 `z.real()**2 + z.imag()**2`.
     5For abs, we need to implement `__abs__` for elements of the universal
     6cyclotomic field; it could be computed as the square root of `z * z.conjugate()`
     7or of `z.real()**2 + z.imag()**2`, or by using `to_cyclotomic_field`, or by
     8changing ring to `QQbar`.