scipy.integrate.quad使用了哪种技术

Which technique does scipy.integrate.quad use

scipy documentation states that integrate.quad uses "a technique from the Fortran library QUADPACK". QUADPACK 提供了几个使用不同技术的例程。 integrate.quad 使用哪一个?

您问题的答案已在之前的 post:

中给出

How to know integration technique used by quadpack

For finite integration limits, the integration is performed using a Clenshaw-Curtis method which uses Chebyshev moments. ... If one of the integration limits is infinite, then a Fourier integral is computed (assuming w neq 0).