Package madgraph :: Package various :: Module q_polynomial :: Class FromIREGIFortranCodeGenerator
[hide private]
[frames] | no frames]

Class FromIREGIFortranCodeGenerator

source code

Back up of the class Polynomial, which uses the same coefficeints orders with IREGI. It is useful in the case that the order of MadLoop coefficients changes in the future.

Instance Methods [hide private]
 
__init__(self, rank) source code
 
init_coef_list(self)
Creates a list whose elements are arrays being the coefficient indices sorted in growing order and the value is their position in a one-dimensional vector.
source code
 
get_coef_position(self, indices_list)
Returns the canonical position for a coefficient characterized by the value of the indices of the loop momentum q it multiplies, that is for example C_01032 multiplying q_0*q_1*q_0*q_3*q_2
source code
 
get_coef_at_position(self, pos)
Returns the coefficient at position pos in the one dimensional vector
source code
Method Details [hide private]

init_coef_list(self)

source code 

Creates a list whose elements are arrays being the coefficient indices sorted in growing order and the value is their position in a one-dimensional vector. For example the position of the coefficient C_01032 will be placed in the list under array.array('i',(0,0,1,3,2)).