On Tue, Jul 5, 2011 at 1:49 AM, Tom Bachmann <[email protected]> wrote:
> My real questions are then as follows, I guess:
>
> 1. Does anyone see a better way around the issue?

I'm afraid not.

It's possible to some extent to avoid branch cuts simply by using
'better' special functions, e.g. loggamma(z) (the nice version)
instead of gamma(z) and log(gamma(z)). But you will probably not be
able to do that everywhere.

> 2. Any suggestions for a better interface?

My first instinct is that a class/symbolic function Polar(Abs(z),
Arg(z)) would be a nicer representation, though in other contexts one
would probably rather want such a type to normalize the argument to
the standard range.

Fredrik

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
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/sympy?hl=en.

Reply via email to