doc: adds doc for complex integrate
This commit is contained in:
parent
071cd2503e
commit
f5eb85376a
@ -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))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user