|  | Basic Polynomial Algebra Subprograms (BPAS)
    v. 1.791
    | 
A Factor is a pair of a BPASRing element and an integer exponent. More...
#include <Factors.hpp>
 Full inheritance diagram for Factor< Ring >:
 Full inheritance diagram for Factor< Ring >:| Public Member Functions | |
| Factor () | |
| Construct an empty factor. | |
| Factor (const Ring &r, int e) | |
| Construct a factor from a Ring element and an exponent.  More... | |
| Factor (Ring &&r, int e) | |
| Move-construct a factor from a Ring element and an exponent.  More... | |
| Factor (const std::pair< Ring, int > &p) | |
| Construct a Factor from a std::pair of a Ring element and integer exponent.  More... | |
| bool | operator== (const Factor< Ring > &f) | 
| Equality comparison operator.  More... | |
| bool | operator!= (const Factor< Ring > &f) | 
| Inequality comparison operator.  More... | |
| ExpressionTree | convertToExpressionTree () const | 
| Convert the Factor to an ExpressionTree.  More... | |
| Friends | |
| std::ostream & | operator<< (std::ostream &out, const Factor< Ring > &f) | 
| Output operator, defines a to string conversion.  More... | |
A Factor is a pair of a BPASRing element and an integer exponent.
Template Ring should derive from BPASRing.
Construct a factor from a Ring element and an exponent.
| r | the Ring element | 
| e | the exponent | 
Move-construct a factor from a Ring element and an exponent.
| r | the Ring element | 
| e | the exponent | 
Construct a Factor from a std::pair of a Ring element and integer exponent.
| p | the pair | 
| 
 | inlinevirtual | 
Convert the Factor to an ExpressionTree.
Implements ExpressionTreeConvert.
| 
 | friend | 
Output operator, defines a to string conversion.
| out | the output stream | 
| f | the Factor | 
 1.8.13
 1.8.13