quad_qagi docs confusing



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)


-- 
Daniel Lakeland
dlakelan at street-artists.org
http://www.street-artists.org/~dlakelan