|
void | regina::swap (Cyclotomic &a, Cyclotomic &b) noexcept |
| Swaps the contents of the given field elements. More...
|
|
Cyclotomic | regina::operator* (Cyclotomic elt, const Rational &scalar) |
| Multiplies the given field element by the given rational. More...
|
|
Cyclotomic | regina::operator* (const Rational &scalar, Cyclotomic elt) |
| Multiplies the given field element by the given rational. More...
|
|
Cyclotomic | regina::operator/ (Cyclotomic elt, const Rational &scalar) |
| Divides the given field element by the given rational. More...
|
|
Cyclotomic | regina::operator+ (const Cyclotomic &lhs, const Cyclotomic &rhs) |
| Adds the two given cyclotomic field elements. More...
|
|
Cyclotomic | regina::operator+ (Cyclotomic &&lhs, const Cyclotomic &rhs) |
| Adds the two given cyclotomic field elements. More...
|
|
Cyclotomic | regina::operator+ (const Cyclotomic &lhs, Cyclotomic &&rhs) |
| Adds the two given cyclotomic field elements. More...
|
|
Cyclotomic | regina::operator+ (Cyclotomic &&lhs, Cyclotomic &&rhs) |
| Adds the two given cyclotomic field elements. More...
|
|
Cyclotomic | regina::operator- (Cyclotomic arg) |
| Returns the negative of the given field element. More...
|
|
Cyclotomic | regina::operator- (const Cyclotomic &lhs, const Cyclotomic &rhs) |
| Subtracts the two given cyclotomic field elements. More...
|
|
Cyclotomic | regina::operator- (Cyclotomic &&lhs, const Cyclotomic &rhs) |
| Subtracts the two given cyclotomic field elements. More...
|
|
Cyclotomic | regina::operator- (const Cyclotomic &lhs, Cyclotomic &&rhs) |
| Subtracts the two given cyclotomic field elements. More...
|
|
Cyclotomic | regina::operator- (Cyclotomic &&lhs, Cyclotomic &&rhs) |
| Subtracts the two given cyclotomic field elements. More...
|
|
Cyclotomic | regina::operator* (const Cyclotomic &lhs, const Cyclotomic &rhs) |
| Multiplies the two given cyclotomic field elements. More...
|
|
Cyclotomic | regina::operator/ (const Cyclotomic &lhs, const Cyclotomic &rhs) |
| Divides the two given cyclotomic field elements. More...
|
|
Implements exact arithmetic in cyclotomic fields.