doc: adds doc for complex integrate

This commit is contained in:
Deepak Mallubhotla 2022-03-28 19:20:29 -05:00
parent 071cd2503e
commit f5eb85376a
Signed by: deepak
GPG Key ID: BEBAEBF28083E022

View File

@ -3,6 +3,9 @@ from scipy.integrate import quad, quadrature
def complex_quad(func, a, b, **kwargs):
'''
Extends scipy.integrate for complex functions.
'''
def real_func(x):
return np.real(func(x))