nintegrate - second attempt



On 5/24/07, Andrej Vodopivec <andrej.vodopivec at gmail.com> wrote:

> On 5/24/07, Barton Willis <willisb at unk.edu> wrote:
> > Maybe nintegrate should handle complex valued integrands more gracefully:
>
> nintegrate handles complex valued integrands funny - this is because
> of the coerce-float-fun design. nintegrate(expr, x,a,b) is equivalent
> to nintegrate(realpart(expr),x,a,b); I think this is wrong but I
> didn't write coerce-float-fun.

Well, if you want coerce-float-fun to work differently, please tell us.
I didn't write it either (in fact I'm pretty sure it was Bill Schelter),
but that doesn't stop me, or anybody, from modifying it.

Robert