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

Module aloha_lib

source code

This module develop basic structure for the symbolic treatment of the Helas Amplitude.

The Symbolic treatment are based on a series of (scalar) variable of the form a * x. 'a' is a (complex) number and x is an abstract variable. Those variable can be multiply/add to each other and will then create a list of those variable in 'MultVariable','AddVariable'.

As We will work on two different level, we have two concrete representation of Variable:

In order to pass from HighLevel Object (deriving from LorentzObject) to concrete definition based on ScalarVariable, we define a new class 'LorentzObjectRepresentation'

Each class defines the attribute "typevar" which is unique, this fastenize the type recognition of the object.

Classes [hide private]
  FracVariable
A representation of a fraction.
  AddVariable
A list of Variable/ConstantObject/...
  MultVariable
A list of Variable with multiplication as operator between themselves.
  Variable
This is the standard object for all the variable linked to expression.
  ScalarVariable
A concrete symbolic scalar variable
  MultLorentz
Specific class for LorentzObject Multiplication
  LorentzObject
A symbolic Object for All Helas object.
  IndicesIterator
Class needed for the iterator
  LorentzObjectRepresentation
A concrete representation of the LorentzObject.
  ConstantObject
Variables [hide private]
  precision_cut = 1e-14
  USE_TAG = set([])
  depth = -1
  __package__ = 'aloha'