Trees | Indices | Help |
---|
|
object --+ | dict --+ | ColorMatrix
A color matrix, meaning a dictionary with pairs (i,j) as keys where i and j refer to elements of color basis objects. Values are Color Factor objects. Also contains two additional dictionaries, one with the fixed Nc representation of the matrix, and the other one with the "inverted" matrix, i.e. a dictionary where keys are values of the color matrix.
|
|||
new empty dictionary |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
|
|
|||
|
|||
|
|
|||
_col_basis1 = None hash(x) |
|||
_col_basis2 = None hash(x) |
|||
col_matrix_fixed_Nc =
|
|||
inverted_col_matrix =
|
|||
Inherited from |
|
|||
Inherited from |
|
Initialize a color matrix with one or two color basis objects. If only one color basis is given, the other one is assumed to be equal. As options, any value of Nc and minimal/maximal power of Nc can also be provided. Note that the min/max power constraint is applied only at the end, so that it does NOT speed up the calculation.
|
Create the matrix using internal color basis objects. Use the stored color basis objects and takes Nc and Nc_min/max parameters as __init__. If is_isymmetric is True, build only half of the matrix which is assumed to be symmetric. |
Create a new product result, and result with fixed Nc for two color basis entries. Implement Nc power limits. |
Returns a nicely formatted string with the fixed Nc representation of the current matrix (only the real part)
|
Returns a copy of the immutable Color String representation struct2 where summed indices are modified to avoid duplicates with those appearing in struct1. Assumes internal summed indices are negative. |
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Jul 24 08:02:10 2012 | http://epydoc.sourceforge.net |