numpy complex number

Solutions on MaxInterview for numpy complex number by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "numpy complex number"
Paula
03 Aug 2018
1z = 1j						#Imaginary unit
2z = 3+4j					#A complex number, 3+4i
3z = complex(3,4)			#A complex number, 3+4i
4abs(3+4j)					#Absolute value (modulus)
5z.real						#Real part
6z.imag						#Imaginary part
7angle(z,deg=False)			#Argument (radian)
8z.conjugate()				#Complex conjugate