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

Class Scalar

source code

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

Helas Object for a Spinor

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, particle, 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]

Inherited from aloha_lib.Variable: contract_first, vartype

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, particle, 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