Classes | |
| class | atlas::polynomials::Polynomial< C > |
| Polynomials with coefficients in C, which is expected to be a standard unsigned type. More... | |
Typedefs | |
| typedef size_t | Degree |
Functions | |
| template<typename C> | |
| bool | compare (const Polynomial< C > &, const Polynomial< C > &) |
| Polynomial comparison. | |
| template<typename C> | |
| void | safeAdd (C &, C) |
| a += b. | |
| template<typename C> | |
| void | safeProd (C &, C) |
| a *= b. | |
| template<typename C> | |
| void | safeSubtract (C &, C) |
| a -= b. | |
Variables | |
| const Degree | MinusOne = ~ Degree(0) |
|
|
Definition at line 25 of file polynomials_fwd.h. Referenced by atlas::polynomials::Polynomial< KLCoeff >::degree(), atlas::polynomials::Polynomial< C >::safeAdd(), and atlas::polynomials::Polynomial< C >::safeSubtract(). |
|
||||||||||||||||
|
Polynomial comparison. Explanation: p < q if deg(p) < deg(q), or if degrees are equal, and the comparison holds for coefficients, in lex-order starting from the top. Definition at line 289 of file polynomials_def.h. References atlas::polynomials::Polynomial< C >::degree(), and atlas::polynomials::Polynomial< C >::isZero(). Referenced by atlas::bitvector::normalize(). |
|
||||||||||||||||
|
a += b. Throws a NumericOverflow exception in case of overflow. Definition at line 325 of file polynomials_def.h. Referenced by atlas::polynomials::Polynomial< C >::safeAdd(). |
|
||||||||||||||||
|
a *= b. Throws a NumericOverflow exception in case of overflow. Definition at line 342 of file polynomials_def.h. Referenced by atlas::polynomials::Polynomial< C >::safeAdd(), and atlas::polynomials::Polynomial< C >::safeSubtract(). |
|
||||||||||||||||
|
a -= b. Throws a NumericUnderflow exception in case of underflow. Definition at line 362 of file polynomials_def.h. Referenced by atlas::polynomials::Polynomial< C >::safeSubtract(). |
|
|
Definition at line 28 of file polynomials.h. |
1.3.9.1