Public Member Functions |
Public Attributes |
Protected Member Functions |
Protected Attributes |
Friends |
List of all members
ColorFull::Col_basis Class Reference
Inheritance diagram for ColorFull::Col_basis:
Detailed DescriptionTo contain a color basis, where each basis vector is a Col_amp. Technically the color information is contained in the member cb, which is a vector of Col_amps, a col_basis. Constructor & Destructor Documentation◆ Col_basis()
Default constructor. ◆ ~Col_basis()
Destructor. Member Function Documentation◆ append() [1/2]
Appends a Col_amp to the basis, stored in cb. ◆ append() [2/2]
Appends the Col_amps in cb_in to the col_basis member cb. ◆ at() [1/2]
Returns the Col_amp (basis vector) at place i. ◆ at() [2/2]
Returns the Col_amp (basis vector) at place i. ◆ basis_file_name()
Returns a standard filename, used for writing out the basis to a file. ◆ check_diagonal()
Checking that a numerical (double) matrix is diagonal. Used for the leading version of the scalar product matrix. Returns true if the matrix is diagonal and false otherwise. ◆ check_spm()
Makes consistency checks on the scalar product matrix. ◆ check_symmetry()
Checking that a numerical (double) matrix (the scalar product matrix) is symmetric. Returns true if the matrix is symmetric and false otherwise. ◆ clear()
Erase the basis, stored in cb. ◆ Col_basis_of_str()
Converts a text string (in a file) to a basis, used by the read_in_basis functions. ◆ color_gamma()
Function for calculating the color structure part of the soft anomalous dimension matrix. First calculates the effect of gluon exchange on a basis vector and then decomposes the result into the basis. For this to work the basis must clearly contain all resulting basis vectors, meaning for example that it can not be used for Tree_level_gluon_basis. The function is only available for the Trace_basis and the Orthogonal_basis classes. The ij-component of the resulting matrix gives the amplitude for ending up in component i if starting in component j. ◆ decompose()Each type of color basis has to implement a function for decomposing an amplitude in the color basis. Reimplemented in ColorFull::Orthogonal_basis, and ColorFull::Trace_type_basis. ◆ empty()
Is the col_basis empty? ◆ exchange_gluon()Function for finding the resulting Col_amp after exchanging a gluon between parton p1 and parton p2 in the basis vector vec. ◆ ij_entry()
Calculates element i,j in scalar product matrix using the scalar product. ◆ is_Orthogonal_basis()
Is it an Orthogonal_basis? ◆ is_Trace_basis()
Is it a Trace_basis? ◆ is_Tree_level_gluon_basis()
Is it a Tree_level_gluon_basis? ◆ leading_scalar_product_matrix()
Finds the leading Nc scalar product matrices, leading_P_spm and leading_d_spm. If the polynomial scalar product matrix, P_spm has been calculated, P_spm is used, otherwise P_spm is first calculated and the leading Nc limit is then taken of P_spm. ◆ n_gluon_check()
◆ n_quark_check()
◆ read_in_Col_basis() [1/2]
Function for reading in the basis from the file filename. The basis should be in human readable format, of form: Reimplemented in ColorFull::Tree_level_gluon_basis. ◆ read_in_Col_basis() [2/2]
Function for reading in the basis from default filename (see basis_file_name). Reimplemented in ColorFull::Tree_level_gluon_basis. ◆ read_in_d_spm() [1/2]
Read in a numerical matrix from a file filename (see spm_file_name) and save it as a double matrix, dmatr, in the member variable d_spm. The file should be in the format ◆ read_in_d_spm() [2/2]
Read in a numerical matrix from a file with default filename (see spm_file_name) and save it as a double matrix, dmatr, in the member variable d_spm. The file should be in the format {{d11,...,d1n}, ◆ read_in_leading_d_spm() [1/2]
Read in a numerical matrix from the file filename and save it as a double matrix, dmatr, in the member variable leading_d_spm. The file should be in the format ◆ read_in_leading_d_spm() [2/2]
Read in a numerical matrix from a file with default filename (see spm_file_name) and save it as a double matrix, dmatr, in the member variable leading_d_spm. The file should be in the format ◆ read_in_leading_P_spm() [1/2]
Read in a Polynomial matrix from a file with default filename (see spm_file_name) and save it as a Poly_matr in the member variable leading_P_spm. The file should be in the format ◆ read_in_leading_P_spm() [2/2]
Reads in a Polynomial matrix from default filename (see spm_file_name) and save it as a Poly_matr in the member variable leading_P_spm. The file should be in the format ◆ read_in_P_spm() [1/2]
Read in a Polynomial matrix from the file filename and save it as a Poly_matr in the member variable P_spm. The file should be in the format ◆ read_in_P_spm() [2/2]
Read in a Polynomial matrix from a file with default filename (see spm_file_name) and save it as a Poly_matr in the member variable P_spm. The file should be in the format ◆ rename_indices()A function to rename the indices in two Col_strs, such that in the first they are called 1,2,3..., and in the second the relative order is kept. ◆ scalar_product()
Function for calculating scalar products algebraically using the basis and the scalar product matrix (Poly_matr) in the basis. (Does add implicit conjugated part for Tree_level_gluon_basis, as these terms are contained in the matrix of scalar products.) Reimplemented in ColorFull::Orthogonal_basis. ◆ scalar_product_matrix() [1/2]
Function for calculating the scalar products matrix. This function loops over all basis vectors and stores the value of the scalar product between basis vector i and basis vector j in the i,j -entry in P_spm and d_spm. The calculation is done using memoization. The symmetry of the scalar product matrix is not used for the calculation, instead it is checked that the resulting matrix is indeed symmetric. ◆ scalar_product_matrix() [2/2]
The underlying function for calculation of scalar product matrices. Calculation depends on the arguments: save_P_spm, save_d_spm and use_mem. If save_P_spm is true the Polynomial scalar product matrix is saved to P_spm. If save_d_spm is true, the numerical scalar product matrix is saved to d_spm. The leading_d_spm is only calculated and written out if save_P_spm is true. If use_mem is true memoization is used in order to calculate a color topology only once. ◆ scalar_product_matrix_no_mem()
This function works like scalar_product_matrix, but does not use memoization. ◆ scalar_product_matrix_num()
This function works as scalar_product_matrix, but does the calculation numerically. It hence only calculates d_spm. ◆ scalar_product_matrix_num_no_mem()
This function works like scalar_product_matrix_num, but does not use memoization. ◆ scalar_product_num() [1/2]
Function for calculating scalar products numerically, knowing the basis and the scalar product matrix in numerical form. (Does add implicit conjugated part for Tree_level_gluon_basis, as these terms are contained in the matrix of scalar products.) Reimplemented in ColorFull::Orthogonal_basis. ◆ scalar_product_num() [2/2]Calculates the scalar product between numerical (complex) amplitudes v1, V2 using the numerical scalar product matrix, d_spm. The vectors thus needs to be expressed in the basis contained in cb. (Does add implicit conjugated part for Tree_level_gluon_basis, as these terms are contained in the matrix of scalar products.) Reimplemented in ColorFull::Orthogonal_basis. ◆ scalar_product_num_diagonal()Calculates the scalar product between numerical (complex) amplitudes v1, v2 using the numerical scalar product matrix, d_spm. Assumes that there are only diagonal contributions. This is useful for calculations in leading Nc limit. (Does add implicit conjugated part for Tree_level_gluon_basis, as these terms are contained in the matrix of scalar products.) ◆ simplify()
Simplifies all the basis vectors by using simplify on the individual Col_amps in the basis. ◆ size()
Returns the number of basis vectors. ◆ spm_file_name()
Returns a standard filename, used for writing out scalar product matrices. If leading is true, "_l" is appended to the filename. If "poly" is true "P_" is added to the filename, and if it is false "d_", as in double, is added to the filename. ◆ write_out_Col_basis() [1/2]
Function for writing out the basis to a file with name filename. Reimplemented in ColorFull::Tree_level_gluon_basis. ◆ write_out_Col_basis() [2/2]
Function for writing out the basis to a file with default name (see basis_file_name). Reimplemented in ColorFull::Tree_level_gluon_basis. ◆ write_out_Col_basis_to_stream()
Function for writing out the basis in a human readable format to an ostream. Reimplemented in ColorFull::Tree_level_gluon_basis. ◆ write_out_d_spm() [1/2]
Writes out d_spm to the file filename. ◆ write_out_d_spm() [2/2]
Writes out d_spm to the standard filename, see spm_file_name. ◆ write_out_leading_d_spm() [1/2]
Writes out leading_d_spm to the file filename. ◆ write_out_leading_d_spm() [2/2]
Writes out leading_d_spm to the standard filename, see spm_file_name. ◆ write_out_leading_P_spm() [1/2]
Writes out leading_P_spm to the file filename. ◆ write_out_leading_P_spm() [2/2]
Writes out leading_P_spm to the standard filename, see spm_file_name. ◆ write_out_P_spm() [1/2]
Writes out P_spm to the file filename. ◆ write_out_P_spm() [2/2]
Writes out P_spm to the standard filename, see spm_file_name. Friends And Related Function Documentation◆ operator<<
Member Data Documentation◆ cb
To actually contain the info about the basis vectors cb= vector1, vector2... . Technically cb is a col_basis, a vector of Col_amps. ◆ Col_fun
To contain the set of Col_functions used. ◆ d_spm
To contain the double version of the scalar product matrix. ◆ leading_d_spm
To contain the double version of the leading part of the scalar product matrix. ◆ leading_P_spm
To contain the Polynomial version of the leading part of the scalar product matrix. ◆ ng
The number of gluons, initially set to 0 and (possibly) changed with create_basis, or while reading in the basis. ◆ nq
The number of qqbar-pairs, initially set to 0 and (possibly) changed with create_basis, or while reading in the basis. ◆ orthogonal_basis
◆ P_spm
To contain the Polynomial version of the scalar product matrix. ◆ trace_basis
◆ tree_level_gluon_basis
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 |