| 260 | |
| 261 | |
| 262 | inline complex operator*(const complex& c1, const complex& c2) |
| 263 | { |
| 264 | return complex |
| 265 | ( |
| 266 | c1.re*c2.re - c1.im*c2.im, |
| 267 | c1.im*c2.re + c1.re*c2.im |
| 268 | ); |
| 269 | } |
| 270 | |
| 271 | |
| 272 | inline complex operator/(const complex& c1, const complex& c2) |