Lines Matching refs:Complex
78 return Complex(*obj)
80 return Complex(obj)
84 return Complex(math.cos(phi)*r, math.sin(phi)*r)
96 class Complex: class
137 return Complex(-self.re, -self.im)
180 return Complex(self.re + other.re, self.im + other.im)
186 return Complex(self.re - other.re, self.im - other.im)
194 return Complex(self.re*other.re - self.im*other.im,
203 return Complex((self.re*other.re + self.im*other.im) / d,
220 return Complex(math.cos(phi)*r, math.sin(phi)*r)
228 return Complex(math.cos(z.im)*r,math.sin(z.im)*r)
249 ( (0,0), Complex() ),
250 ( (0,0), Complex() ),
251 ( (1,0), Complex(1) ),
252 ( (0,1), Complex(0,1) ),
253 ( (1,2), Complex(Complex(1,2)) ),
254 ( (1,3), Complex(Complex(1,2),1) ),
255 ( (0,0), Complex(0,Complex(0,0)) ),
256 ( (3,4), Complex(3,Complex(4)) ),
257 ( (-1,3), Complex(1,Complex(3,2)) ),
258 ( (-7,6), Complex(Complex(1,2),Complex(4,8)) ) )
270 (1, Complex(0,10), Complex(1,10)),
271 (Complex(0,10), 1, Complex(1,10)),
272 (Complex(0,10), Complex(1), Complex(1,10)),
273 (Complex(1), Complex(0,10), Complex(1,10)),
277 (1, Complex(0,10), Complex(1,-10)),
278 (Complex(0,10), 1, Complex(-1,10)),
279 (Complex(0,10), Complex(1), Complex(-1,10)),
280 (Complex(1), Complex(0,10), Complex(1,-10)),
284 (1, Complex(0,10), Complex(0, 10)),
285 (Complex(0,10), 1, Complex(0,10)),
286 (Complex(0,10), Complex(1), Complex(0,10)),
287 (Complex(1), Complex(0,10), Complex(0,10)),
291 (1, Complex(0,10), Complex(0, -0.1)),
292 (Complex(0, 10), 1, Complex(0, 10)),
293 (Complex(0, 10), Complex(1), Complex(0, 10)),
294 (Complex(1), Complex(0,10), Complex(0, -0.1)),
298 (1, Complex(0,10), 1),
299 (Complex(0,10), 1, Complex(0,10)),
300 (Complex(0,10), Complex(1), Complex(0,10)),
301 (Complex(1), Complex(0,10), 1),
302 (2, Complex(4,0), 16),
306 (1, Complex(0,10), 1),
307 (Complex(0,10), 1, -1),
308 (Complex(0,10), Complex(1), -1),
309 (Complex(1), Complex(0,10), 1),