On Mon, Jul 4, 2011 at 7:49 PM, Tom Bachmann <[email protected]> wrote: > Hi, > > I hit a bit of a set-back today with my integration code. Specifically, I am > getting wrong results, because of improper treatment of branch cuts. >
... > > My real questions are then as follows, I guess: > > 1. Does anyone see a better way around the issue? > 2. Any suggestions for a better interface? I haven't looked at your code but I can tell you handling branch cuts computationally can be a subtle problem. I would try to see if Frederich (the author of mpmath) is around and ask him. I think he's thought about these things a lot. IIRC, Prof James Davenport told me once that there was an edition of Abramowitz and Stegun which had a function with one branch cut in one *printing* and another branch cut in another printing of the same edition! So, even the best can make mistakes. > > Thanks, > Tom > > -- > 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. > > -- 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.
