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

Class Polynomial

source code

object --+
         |
        Polynomial

A class to represent a polynomial in the loop momentum (4-vector) q and how the symmetrized coefficients are ordered. The ordering rule correspond to what is presented in Eq. C.15 of arxiv:hep-ph/1405.0301

Instance Methods [hide private]
 
__init__(self, rank)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
init_coef_list(self)
Creates a list whose elements are arrays being the coefficient indices.
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

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, rank)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

init_coef_list(self)

source code 

Creates a list whose elements are arrays being the coefficient indices. We order this list according to the algorithm in get_coef_position. This coef_list can then be used for the function get_coef_at_position()

get_coef_position(self, indices_list)

source code 

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. We assume that the explicit construction of the position below is faster than a lookup in a table