ColorFull::Polynomial Class Reference
For containing a Polynomial (in Nc, CF and TR), as a sum of Monomials. Note that a Monomial "is" TR^a*Nc^b*CF^c*int_part*cnum_part where int_part is an integer factor, cnum_part a complex numerical factor and a,b, and c integers (not necessarily positive). An empty Polynomial is defined as 1.
Constructor & Destructor Documentation
Default constructor, leaves polynomial empty=1.
Constructor allow setting the polynomial by using a string. Should be used as for example "Polynomial Poly("(-20*TR^(5))/Nc + 28*Nc*TR^(5) - 10*Nc^3*TR^(5)")". The Momomials should be separated by + or -, see also the Monomial string constructor.
Member Function Documentation
Erases info in polynomial.
Take complex conjugate of the polynomial. Note that this changes the Polynomial itself.
Is the polynomial empty?
Erases the Monomial at place i.
Orders terms in Polynomial in a unique form, first according to pow_Nc+pow_CF, then according to pow_Nc (for same pow_Nc+pow_CF) then according to int_part*num, then according to int_part, and finally according to pow_TR.
Function for reading in the Polynomial from the file filename, uses Polynomial_of_str.
Replaces CF with TR*Nc-TR/Nc.
Collects terms with same power of TR and Nc and Cf.
Returns the number of terms in the Polynomial.
Function for writing out the Polynomial to a file with name filename.
Member Data Documentation
Contains the polynomial, a sum of Monomials, as an std::vector of Monomials. An empty Polynomial is defined as 1, to get 0, multiply with 0.
The documentation for this class was generated from the following file:
Generated on Fri Jun 2 2017 11:57:54 for ColorFull by 1.8.13