Package aloha :: Module aloha_lib :: Class LorentzObject
[hide private]
[frames] | no frames]

Class LorentzObject

source code

object --+    
         |    
  Variable --+
             |
            LorentzObject
Known Subclasses:

A symbolic Object for All Helas object. All Helas Object Should derivated from this class

Nested Classes [hide private]
  mult_class
Specific class for LorentzObject Multiplication
  add_class
A list of Variable/ConstantObject/...

Inherited from Variable: VariableError

Instance Methods [hide private]
 
__init__(self, lorentz_indices, spin_indices, prefactor=1, other_indices=[], variable='')
initialization of the object with default value
source code
 
__pow__(self, power)
definition of an auto-contracted object
source code
 
copy(self)
return a shadow copy of the object.
source code
 
expand(self)
Expand the content information into LorentzObjectRepresentation.
source code
 
create_representation(self) source code
 
__eq__(self, obj)
redifine equality
source code
 
has_component(self, lor_list, spin_list)
check if this Lorentz Object have some of those indices
source code

Inherited from Variable: __add__, __div__, __iadd__, __mul__, __radd__, __rdiv__, __repr__, __rmul__, __rsub__, __rtruediv__, __str__, __sub__, __truediv__, factorize, simplify

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

Class Variables [hide private]

Inherited from Variable: contract_first, vartype

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, lorentz_indices, spin_indices, prefactor=1, other_indices=[], variable='')
(Constructor)

source code 

initialization of the object with default value

Overrides: object.__init__

__pow__(self, power)

source code 

definition of an auto-contracted object

Overrides: Variable.__pow__

copy(self)

source code 

return a shadow copy of the object. This is performed in calling again the __init__ instance

Overrides: Variable.copy

expand(self)

source code 

Expand the content information into LorentzObjectRepresentation.

Overrides: Variable.expand

__eq__(self, obj)
(Equality operator)

source code 

redifine equality

Overrides: Variable.__eq__