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

Class ProjP

source code

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

A object for (1+gamma5)/2

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, spin1, spin2, prefactor=1)
Initialize the object
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]
  projp = {(0, 0): 0, (0, 1): 0, (0, 2): 0, (0, 3): 0, (1, 0): 0...

Inherited from aloha_lib.Variable: contract_first, vartype

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

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

source code 

Initialize the object

Overrides: object.__init__

create_representation(self)

source code 
Overrides: aloha_lib.LorentzObject.create_representation

Class Variable Details [hide private]

projp

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