Package aloha :: Module aloha_object :: Class Sigma
[hide private]
[frames] | no frames]

Class Sigma

source code

         object --+        
                  |        
 aloha_lib.Variable --+    
                      |    
aloha_lib.LorentzObject --+
                          |
                         Sigma

Sigma Matrices

Nested Classes [hide private]

Inherited from aloha_lib.LorentzObject: add_class, mult_class

Inherited from aloha_lib.Variable: VariableError

Instance Methods [hide private]
 
__init__(self, lorentz1, lorentz2, spin1, spin2, prefactor=1)
initialization of the object with default value
source code
 
create_representation(self) source code

Inherited from aloha_lib.LorentzObject: __eq__, __pow__, copy, expand, has_component

Inherited from aloha_lib.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]
  sigma = {(0, 0, 0, 0): 0, (0, 0, 0, 1): 0, (0, 0, 0, 2): 0, (0...

Inherited from aloha_lib.Variable: contract_first, vartype

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, lorentz1, lorentz2, spin1, spin2, prefactor=1)
(Constructor)

source code 

initialization of the object with default value

Overrides: object.__init__
(inherited documentation)

create_representation(self)

source code 
Overrides: aloha_lib.LorentzObject.create_representation

Class Variable Details [hide private]

sigma

Value:
{(0, 0, 0, 0): 0,
 (0, 0, 0, 1): 0,
 (0, 0, 0, 2): 0,
 (0, 0, 0, 3): 0,
 (0, 0, 1, 0): 0,
 (0, 0, 1, 1): 0,
 (0, 0, 1, 2): 0,
 (0, 0, 1, 3): 0,
...