Complex numbers in python
Are complex numbers a supported data-type in python? If so, how do you use them?
Are complex numbers a supported data-type in python? If so, how do you use them?
I’m using right now the scipy.integrate.quad to successfully integrate some real integrands. Now a situation appeared that I need to integrate a complex integrand. quad seems not be able to do it, as the other scipy.integrate routines, so I ask: is there any way to integrate a complex integrand using scipy.integrate, without having to separate the integral in the real and the imaginary parts?
I want to combine 2 parts of the same array to make a complex array: