#17116: Inconsistency between imag function and method
---------------------------------+------------------------
Reporter: gagern | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.4
Component: number fields | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
---------------------------------+------------------------
Comment (by gagern):
There is a third option: instead of returning a symbolic expression or a
number field element, I could also have `imag` return an element of a
cyclotomic field of possibly higher order. For a field of order `n`, the
field of order `lcm(n, 4)` will contain `I` and can therefore be used to
represent the imaginary part as a real number. I would think that staying
in the world of cyclotomic fields might reduce the number of conversions
in some cases. But I don't have any real experience how these two compare
performance-wise for real world computations. Any opinions on this?
--
Ticket URL: <http://trac.sagemath.org/ticket/17116#comment:2>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.