Is there a function inverse to complex(x,y), such that (x,y) == ReIm(complex(x,y)) ?
I could obviously write one -- def ReIm(z): return (z.real,z.imag) -- but presumably a library function if it exists would be speedier.
-- Anton Sherwood *\\* www.bendwavy.org *\\* www.zazzle.com/tamfang -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org