[sage-support] Re: complex logs

2009-07-06 Thread Marshall Hampton
Perhaps working in the symbolic ring is causing something you don't like. In David's example above, you might want to convert things to CDF, which gives: sage: a = CDF(1 + 3*I) sage: z = log(a) sage: z 1.1512925465 + 1.2490457724*I ...instead of sage: a = 1 + 3*I sage: z = log(a) sage: z log(3*

[sage-support] Re: complex logs

2009-07-06 Thread David Joyner
On Mon, Jul 6, 2009 at 12:25 PM, mac8090 wrote: > > when I try to take logarithms of a complex number sage version 3.5 > doesn't like it. How do I find/use a multiplication preserving > embedding to make it work? I don't understand the question. In the latest version you get this: sage: a = 1 +