#include <PolynomialFactorizationPair.h>
|
class | FactorizedPolynomial< P > |
|
template<typename P1 > |
P1 | computePolynomial (const Factorization< P1 > &) |
|
template<typename P1 > |
P1 | computePolynomial (const PolynomialFactorizationPair< P1 > &) |
|
template<typename P1 > |
bool | operator== (const PolynomialFactorizationPair< P1 > &_polyFactA, const PolynomialFactorizationPair< P1 > &_polyFactB) |
|
template<typename P1 > |
bool | operator< (const PolynomialFactorizationPair< P1 > &_polyFactA, const PolynomialFactorizationPair< P1 > &_polyFactB) |
|
template<typename P1 > |
bool | canBeUpdated (const PolynomialFactorizationPair< P1 > &_toUpdate, const PolynomialFactorizationPair< P1 > &_updateWith) |
|
template<typename P1 > |
void | update (PolynomialFactorizationPair< P1 > &_toUpdate, PolynomialFactorizationPair< P1 > &_updateWith) |
| Updates the first given polynomial factorization pair with the information stored in the second given polynomial factorization pair. More...
|
|
template<typename P1 > |
Factorization< P1 > | gcd (const PolynomialFactorizationPair< P1 > &_pfPairA, const PolynomialFactorizationPair< P1 > &_pfPairB, Factorization< P1 > &_restA, Factorization< P1 > &_restB, typename P1::CoeffType &_coeff, bool &_pfPairARefined, bool &_pfPairBRefined) |
| Calculates the factorization of the gcd of the polynomial represented by the two given polynomial factorization pairs. More...
|
|
template<typename P1 > |
Factors< FactorizedPolynomial< P1 > > | factor (const PolynomialFactorizationPair< P1 > &_pfPair, const typename P1::CoeffType &) |
|
template<typename P1 > |
std::ostream & | operator<< (std::ostream &_out, const PolynomialFactorizationPair< P1 > &_pfPair) |
| Prints the given polynomial-factorization pair on the given output stream. More...
|
|
template<typename P>
class carl::PolynomialFactorizationPair< P >
Definition at line 96 of file PolynomialFactorizationPair.h.
◆ PolynomialFactorizationPair() [1/3]
◆ PolynomialFactorizationPair() [2/3]
◆ PolynomialFactorizationPair() [3/3]
◆ ~PolynomialFactorizationPair()
◆ assertFactorization()
◆ checkFactorization()
◆ factorization()
◆ factorizedTrivially()
◆ flattenFactorization()
Turn (possible) tree structure of factorization into linear list of factors.
- Returns
- true, if the factorization has been changed; false, otherwise.
◆ gatherVariables()
◆ hash()
◆ isIrreducible()
◆ operator=()
◆ polynomial()
◆ rehash()
◆ setNewFactors()
Set new factorization for polynomial as two factors.
- Parameters
-
_fpolyA | First polynomial. |
exponentA | Exponent of first polynomial. |
_fpolyB | Second polynomial. |
exponentB | Exponent of second polynomial. |
◆ canBeUpdated
template<typename P >
template<typename P1 >
- Parameters
-
_toUpdate | The polynomial factorization pair to be checked for the possibility to be updated. |
_updateWith | The polynomial factorization pair used to update the first given one. |
- Returns
- true, if the first polynomial factorization pair can be updated with the second one.
◆ computePolynomial [1/2]
template<typename P >
template<typename P1 >
◆ computePolynomial [2/2]
template<typename P >
template<typename P1 >
◆ factor
template<typename P >
template<typename P1 >
- Parameters
-
_pfPair | The polynomial to calculate the factorization for. |
- Returns
- A factorization of this factorized polynomial. (probably finer than the one factorization() returns)
◆ FactorizedPolynomial< P >
◆ gcd
template<typename P >
template<typename P1 >
Calculates the factorization of the gcd of the polynomial represented by the two given polynomial factorization pairs.
As a side effect the factorizations of these pairs can be refined. (c.f. Accelerating Parametric Probabilistic Verification, Algorithm 2)
- Parameters
-
_pfPairA | The first polynomial factorization pair to calculate the gcd with. |
_pfPairB | The second polynomial factorization pair to calculate the gcd with. |
_restA | The remaining factorization of the first polynomial without the gcd. |
_restB | The remaining factorization of the second polynomial without the gcd. |
_coeff | |
_pfPairARefined | A bool which is set to true, if the factorization of the first given polynomial factorization pair has been refined. |
_pfPairBRefined | A bool which is set to true, if the factorization of the second given polynomial factorization pair has been refined. |
- Returns
- The factorization of the gcd of the polynomial represented by the two given polynomial factorization pairs.
◆ operator<
template<typename P >
template<typename P1 >
- Parameters
-
_polyFactA | The first polynomial factorization pair to compare. |
_polyFactB | The second polynomial factorization pair to compare. |
- Returns
- true, if the first given polynomial factorization pair is less than the second given polynomial factorization pair.
◆ operator<<
template<typename P >
template<typename P1 >
Prints the given polynomial-factorization pair on the given output stream.
- Parameters
-
_out | The stream to print on. |
_pfPair | The polynomial-factorization pair to print. |
- Returns
- The output stream after inserting the output.
◆ operator==
template<typename P >
template<typename P1 >
- Parameters
-
_polyFactA | The first polynomial factorization pair to compare. |
_polyFactB | The second polynomial factorization pair to compare. |
- Returns
- true, if the two given polynomial factorization pairs are equal.
◆ update
template<typename P >
template<typename P1 >
Updates the first given polynomial factorization pair with the information stored in the second given polynomial factorization pair.
- Parameters
-
_toUpdate | The polynomial factorization pair to update with the second given one. |
_updateWith | The polynomial factorization pair used to update the first given one. |
◆ mFactorization
◆ mHash
◆ mIrreducible
◆ mMutex
◆ mpPolynomial
A pointer to a polynomial.
This pointer might be set to nullptr, if the factorization has not yet been expanded.
Definition at line 121 of file PolynomialFactorizationPair.h.
The documentation for this class was generated from the following file: