On 2011-9-14 23:35, Robert Bradshaw wrote:
... Otherwise, z.real, z.imag is probably going to
be as fast as you can get, and there's no need to define a function,
you could just write
sage: a = complex(3,4)
sage: x, y = a.real, a.imag
For trivial cases, yeah, but consider
parametric_plot((f(t-0.5j).real, f(t-0.5j).imag), (t,tmin,tmax))
parametric_plot(ReIm(f(t-0.5j)), (t,tmin,tmax))
--
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