|
| template<typename T > |
| void | regina::swap (Laurent< T > &a, Laurent< T > &b) noexcept |
| | Swaps the contents of the given polynomials.
|
| |
| template<typename T > |
| Laurent< T > | regina::operator* (Laurent< T > poly, const typename Laurent< T >::Coefficient &scalar) |
| | Multiplies the given polynomial by the given scalar constant.
|
| |
| template<typename T > |
| Laurent< T > | regina::operator* (const typename Laurent< T >::Coefficient &scalar, Laurent< T > poly) |
| | Multiplies the given polynomial by the given scalar constant.
|
| |
| template<typename T > |
| Laurent< T > | regina::operator/ (Laurent< T > poly, const typename Laurent< T >::Coefficient &scalar) |
| | Divides the given polynomial by the given scalar constant.
|
| |
| template<typename T > |
| Laurent< T > | regina::operator+ (const Laurent< T > &lhs, const Laurent< T > &rhs) |
| | Adds the two given polynomials.
|
| |
| template<typename T > |
| Laurent< T > | regina::operator+ (Laurent< T > &&lhs, const Laurent< T > &rhs) |
| | Adds the two given polynomials.
|
| |
| template<typename T > |
| Laurent< T > | regina::operator+ (const Laurent< T > &lhs, Laurent< T > &&rhs) |
| | Adds the two given polynomials.
|
| |
| template<typename T > |
| Laurent< T > | regina::operator+ (Laurent< T > &&lhs, Laurent< T > &&rhs) |
| | Adds the two given polynomials.
|
| |
| template<typename T > |
| Laurent< T > | regina::operator- (Laurent< T > arg) |
| | Returns the negative of the given polynomial.
|
| |
| template<typename T > |
| Laurent< T > | regina::operator- (const Laurent< T > &lhs, const Laurent< T > &rhs) |
| | Subtracts the two given polynomials.
|
| |
| template<typename T > |
| Laurent< T > | regina::operator- (Laurent< T > &&lhs, const Laurent< T > &rhs) |
| | Subtracts the two given polynomials.
|
| |
| template<typename T > |
| Laurent< T > | regina::operator- (const Laurent< T > &lhs, Laurent< T > &&rhs) |
| | Subtracts the two given polynomials.
|
| |
| template<typename T > |
| Laurent< T > | regina::operator- (Laurent< T > &&lhs, Laurent< T > &&rhs) |
| | Subtracts the two given polynomials.
|
| |
| template<typename T > |
| Laurent< T > | regina::operator* (const Laurent< T > &lhs, const Laurent< T > &rhs) |
| | Multiplies the two given polynomials.
|
| |
Implements single variable Laurent polynomials over arbitrary rings.