Yes, I stand corrected on that matter. I still think it is an illogical choice though, to return just the imaginary part. But I can live with it.
Anne On 8 June 2010 12:40, Alex Ghitza <[email protected]> wrote: > On Tue, 8 Jun 2010 12:33:38 +0100, Anne Driver <[email protected]> > wrote: > > Yes, I did read the documentation. It says it returns the imaginary part. > > But there is no I - just a real number. As such I believe at the *very > least > > * the documentation should say it returns the imaginary part as a real > > number. Better still is to return the imaginary part with an I in front > of > > it. > > I don't have strong opinions about the matter, but I'd like to point out > that the imaginary part of a complex number *is* just a real number > (if z = x + i*y, the imaginary part is y, without the i). So the > documentation is correct about this. > > > Best, > Alex > > -- > Alex Ghitza -- http://aghitza.org/ > Lecturer in Mathematics -- The University of Melbourne -- Australia > -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
