ColorFull::Col_functions Class Reference
Detailed DescriptionLibrary class containing functions for index contraction and numerical evaluation. This is where the parameters Nc, TR and CF are contained. Constructor & Destructor Documentation◆ Col_functions()
Default constructor. Member Function Documentation◆ cnum_num() [1/4]Numerically evaluates a Monomial using the Nc, TR and CF data members. ◆ cnum_num() [2/4]
Numerically evaluates a Polynomial, using the Nc, TR and CF data members. ◆ cnum_num() [3/4]Numerically evaluates a Poly_vec (vector of Polynomial), using cnum_num (Polynomial). ◆ cnum_num() [4/4]◆ color_correlator()
Calculates < M | T_i T_j | M >, the "color correlator" relevant for coherent gluon emission of gluon g_new from parton i and parton j, or gluon exchange between i and j. The Ca should thus be | M >, and i and j are the partons involved in the emission (exchange). (The incoming amplitude is what it is, there is no special treatment of gluons only cases.) ◆ default_parton_numbers()
Function that finds the default parton numbers for a Col_str. The default numbers are 1,...,N_parton, where quarks have the first odd numbers, anti-quarks have the first even numbers, and gluons have subsequent numbers. The intended usage is after gluon splitting, where the gluon g_old has split into q_new and qbar_new, and the parton numbers before splitting are assumed to be default. ◆ double_num() [1/4]
Numerically evaluates a Monomial to a double using the Nc, TR and CF data members. ◆ double_num() [2/4]
Numerically evaluates a Polynomial to a double using the Nc, TR and CF data members. ◆ double_num() [3/4]Numerically evaluates a Poly_vec (vector of Polynomial) using the Nc, TR and CF data members. ◆ double_num() [4/4]◆ emit_gluon() [1/2]
Function for emitting a gluon from a Col_str. When the gluon is inserted before the emitter in a Quark_line, the amplitude comes with a minus sign. ◆ emit_gluon() [2/2]
Function for emitting a gluon from a Col_amp. When the gluon is inserted before the emitter in a Quark_line, the amplitude comes with a minus sign. ◆ exchange_gluon() [1/2]Function for exchanging a gluon between the partons p1 and p2 in the Col_str Cs. When the gluon is inserted before the emitter in a Quark_line, the amplitude comes with a minus sign. ◆ exchange_gluon() [2/2]Function for exchanging a gluon between two partons p1 and p2 in the Col_amp Ca. When the gluon is inserted before the emitter in a Quark_line, the amplitude comes with a minus sign. (There is no special treatment of the glons only cases.) ◆ factorial()
The factorial of an int, 0! is defined as 1. ◆ get_CF()
Returns the value of CF. ◆ get_full_CF()
Returns true, if full CF is used. ◆ get_Nc()
Returns the number of colors. ◆ get_TR()
Returns the normalization of the generators, tr(t^a t^b)=TR*delta^{a,b}. ◆ leading() [1/3]
Takes the leading Nc terms of a Polynonmial, i.e. Monomials with highest power of Nc+CF. If full_CF is false (default), CF is replaced by TR Nc. If full_CF is true CF is replaced by TR(Nc^2-1)/Nc. ◆ leading() [2/3]Take the leading part of a Poly_vec. Keeps only Monomials with maximal power of CF plus Nc, uses leading( const Polynomial & Poly). If full_CF is false (default), CF is replaced by TR Nc. If full_CF is true CF is replaced by TR(Nc^2-1)/Nc. Note that taking the leading terms of a Poly_vec is not the same as taking the leading terms in each Polynomial. ◆ leading() [3/3]Takes the leading part of a matrix of Polynomials, keeping only those with maximal power of CF plus Nc. If full_CF is false (default), CF is replaced by TR Nc. If full_CF is true CF is replaced by TR(Nc^2-1)/Nc. Note that taking the leading terms of a Poly_matr is not the same as taking the leading terms in each Poly_vec. ◆ leading_Nc_pow() [1/2]
Function for finding the leading power of Nc in a Poly_vec, i.e., the power of Nc plus the power of CF. ◆ leading_Nc_pow() [2/2]
Function for finding the leading power of Nc in a Poly_vec. ◆ Poly_matr_cnum_num()◆ Poly_vec_cnum_num()Numerically evaluates a Poly_vec (vector of Polynomial) and stores in the form of a Poly_vec, uses polynomial_cnum_num( Pv.at( p ) ). for each Polynomial. ◆ Polynomial_cnum_num()
Numerically evaluates a Polynomial using the value of the data member Nc, and stores in the format of a Polynomial with only one term with only a numerical part. ◆ read_in_dmatr()
Reads in a numerical matrix and save it as a double matrix, dmatr. The file should be of the format {{d11,...,d1n}, ..., {dn1,...,dnn}}, and may contain comment lines starting with # at the top. ◆ read_in_dvec()
Reads in a numerical vector and save it as a double vector, dvec. The file should be of the format {d11,...,d1n}, and may contain comment lines starting with # at the top. ◆ rename_partons() [1/2]
Function that renames the partons in a Col_str using a map where, in each pair, the first number is to be replaced by the second. (The Col_functions member function default_parton_numbers returns a map where the partons are given default numbers.) ◆ rename_partons() [2/2]
Function that renames the partons in a Col_amp using a map where, in each pair, the first number is to be replaced by the second. (The Col_functions member function default_parton_numbers returns a map where the partons are given default numbers.) ◆ scalar_product() [1/2]
Function for calculating the scalar products between Col_amps. Does not add implicit state in the gluons only case. ◆ scalar_product() [2/2]
Function for calculating the scalar product between two Col_strs. Does not add implicit state in the gluons only case. ◆ set_CF()
Set the value of CF. The value of Nc is NOT adjusted accordingly. ◆ set_full_CF()
Switch on/off full_CF. ◆ set_Nc()
Set the number of colors. The value of CF is adjusted accordingly. ◆ set_TR()
Set the normalization of the generators. The value of CF is adjusted accordingly. ◆ split_gluon() [1/2]
Function for splitting the gluon g_old in a Col_str to a qqbar pair. ◆ split_gluon() [2/2]
Function for splitting the gluon g_old in a Col_amp to a qqbar pair. ◆ write_out_dmatr()
Writes out the double version of a (scalar product) matrix to the file filename. ◆ write_out_dvec()
Function for writing out a numerical vector, to the file filename. The documentation for this class was generated from the following file:
Generated on Fri Jun 2 2017 11:57:53 for ColorFull by 1.8.13 |