#7545: Gaussian Integers
-------------------------------------------------+-------------------------
Reporter: wuthrich | Owner:
Type: enhancement | davidloeffler
Priority: minor | Status:
Component: number fields | needs_info
Keywords: gaussian integers, Z[i], | Milestone: sage-
quadratic number ring | wishlist
Authors: | Resolution:
Report Upstream: N/A | Merged in:
Branch: | Reviewers:
Dependencies: | Work issues:
| Commit:
| Stopgaps:
-------------------------------------------------+-------------------------
Comment (by jdemeyer):
Replying to [comment:19 kcrisman]:
> Alternately, should we use `QuadraticField`?
The best choice would be
{{{
ZI = QuadraticField(-1, 'I').ring_of_integers()
}}}
> Also they are printed as a + b*i not as b*i + a.
This is an indeed an "issue". However, it certainly does not justify
adding a whole new class just to print things differently. One should add
some kind of option to `NumberField` to `_repr_()` things in a different
order.
--
Ticket URL: <http://trac.sagemath.org/ticket/7545#comment:20>
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.