| 44 | { return lhs; } |
| 45 | |
| 46 | const ap::complex ap::operator-(const ap::complex& lhs) |
| 47 | { return ap::complex(-lhs.x, -lhs.y); } |
| 48 | |
| 49 | const ap::complex ap::operator+(const ap::complex& lhs, const ap::complex& rhs) |
| 50 | { ap::complex r = lhs; r += rhs; return r; } |