#17294: Add gcd to number field elements
-------------------------------------+-------------------------------------
Reporter: jdemeyer | Owner:
Type: enhancement | Status: needs_info
Priority: major | Milestone: sage-6.4
Component: number fields | Resolution:
Keywords: | Merged in:
Authors: Jeroen Demeyer | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/jdemeyer/ticket/17294 | 671d58fadd54519c02145d8905baf635b40c6e02
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by vdelecroix):
* status: needs_review => needs_info
Comment:
Hello,
Note that the behavior of `gcd` for `QQ` is quite special
{{{
sage: gcd(1/3, 2/3)
1/3
}}}
It is the implementation provided by the category `QuotientFields`. It
would be different from
{{{
sage: K = NumberField(x-1, 'a')
sage: K(1/3).gcd(K(2/3))
1
}}}
I do not care so much as it is specified in the documentation. But a
number field is always the quotient field of its maximal order... Do you
think we should care?
Vincent
--
Ticket URL: <http://trac.sagemath.org/ticket/17294#comment:11>
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.