+1, I've had to do that manually myself before.

On Oct 14, 2010 2:40 PM, "Oscar Lazo" <estadisticame...@gmail.com> wrote:



On Oct 14, 4:54 am, Johan Grönqvist <johan.gronqv...@gmail.com> wrote:
> A workaround seems to be ...
I think it would be enough to add an option to numerical_integral on
the likes of:

sage: numerical_integral(sqrt(sec(x)-1),pi/2, pi,complex=True)

so that it would do the following internally:

rea=numerical_integral(rea(sqrt(sec(x)-1)),pi/2, pi)
ima=numerical_integral(imag(sqrt(sec(x)-1)),pi/2, pi)

return ( rea[0]+I*ima[0], rea[1], ima[1])

what do you think? I could do this myself very easily if we agree that
this is a good idea.

Oscar


-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this gr...

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to