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

Class Polynomial_naive_ordering

source code

object --+
         |
        Polynomial_naive_ordering

A class to represent a polynomial in the loop momentum (4-vector) q

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 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

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 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)).