quad_qagi docs confusing



Daniel Lakeland wrote:
> If I want to numerically calculate integrate(f(x),x,minf,inf) in
> quadpack, I have to say
> 
> quad_qagi(f(x),x,minf,both)
> 
> which is so unintuitive that even after reading the docs several times
> I spent about half an hour figuring it out. Worse yet, if I say
> 
> quad_qagi(f(x),x,minf,inf) I get half the integral that I expect (it
> integrates -inf to 0)
> 

You are right.  It is confusing.  The maxima interface is a very thin 
layer over the actual qagi function.  That's my excuse, anyway. :-)

The interface should be changed to recognize recognize a to inf, minf to 
a, and minf to inf.  It should give errors for other cases.

I'll look into doing this.

Ray