pysted.utils.complex_quadrature
- pysted.utils.complex_quadrature(func, a, b, args)
Integrate a complex integrand using the Gauss-Kronrod quadrature.
- Parameters:
func – The function to integrate.
a – The lower bound of the integration.
b – The upper bound of the integration.
args – Additionals arguments of the function to integrate.
- Returns:
The integration result as a complex number.