[Python-ideas] Complex rationals in Python.

Mark Dickinson dickinsm at gmail.com
Mon Nov 24 22:05:16 CET 2008


On Mon, Nov 24, 2008 at 8:58 PM, Arnaud Delobelle
<arnodel at googlemail.com> wrote:

> If we want Q(i), then surely we also want Z[i].  Gaussian integers have
> plenty of uses.

Sure, but what are the uses of Z[i] that don't also
apply to other rings of integers of quadratic fields?

I guess I can see uses in teaching:  if you're playing around
with complex numbers for the first time then it's possible that
all your calculations actually lie in Q[i].

Mark



More information about the Python-ideas mailing list