Every line of 'numpy magnitude of complex number' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
251 def __complex__(self): 252 """complex(self) == complex(float(self), 0)""" 253 return complex(float(self))
338 def __complex__(self): 339 return complex(self.i)
62 @property 63 @abstractmethod 64 def imag(self): 65 """Retrieve the imaginary component of this number. 66 67 This should subclass Real. 68 """ 69 raise NotImplementedError
2 def __init__(self, real, imaginary): 3 pass