ColorFull::Polynomial Class Reference
Detailed DescriptionFor 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◆ Polynomial() [1/4]
Default constructor, leaves polynomial empty=1. ◆ Polynomial() [2/4]
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. ◆ Polynomial() [3/4]
Constructor allowing setting the Polynomial using a double. The Polynomial gets one Monomial where the real part of cnum_part gets the value of dnum. ◆ Polynomial() [4/4]
Constructor allowing setting the Polynomial using an int. The Polynomial gets one Monomial where int_part has the value num. Member Function Documentation◆ append()◆ at() [1/2]◆ at() [2/2]◆ clear()
Erases info in polynomial. ◆ conjugate()
Take complex conjugate of the polynomial. Note that this changes the Polynomial itself. ◆ empty()
Is the polynomial empty? ◆ erase()
Erases the Monomial at place i. ◆ normal_order()
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. ◆ read_in_Polynomial()
Function for reading in the Polynomial from the file filename, uses Polynomial_of_str. ◆ remove_CF()
Replaces CF with TR*Nc-TR/Nc. ◆ simplify()
Collects terms with same power of TR and Nc and Cf. ◆ size()
Returns the number of terms in the Polynomial. ◆ write_out_Polynomial()
Function for writing out the Polynomial to a file with name filename. Member Data Documentation◆ poly
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 |