HEPMath 1.4: A mathematica package for semi-automatic computations in high energy physics ?
This article introduces the Mathematica package HEPMath which provides a number of utilities and algorithms for High Energy Physics computations in Mathematica. Its functionality is similar to packages like FormCalc or FeynCalc, but it takes a more complete and extensible approach to implementing common High Energy Physics notations in the Mathematica language, in particular those related to tensors and index contractions. It also provides a more flexible method for the generation of numerical code which is based on new features for C code generation in Mathematica. In particular it can automatically generate Python extension modules which make the compiled functions callable from Python, thus eliminating the need to write any code in a low-level language like C or Fortran. It also contains seamless interfaces to LHAPDF, FeynArts, and LoopTools. Program title: HEPMath Catalogue identifier: AEWU_v1_0 Program summary URL:http://cpc.cs.qub.ac.uk/summaries/AEWU_v1_0.html Program obtainable from: CPC Program Library, Queens University, Belfast, N. Ireland Licensing provisions: Standard CPC licence, http://cpc.cs.qub.ac.uk/licence/licence.html No. of lines in distributed program, including test data, etc.: 27360 No. of bytes in distributed program, including test data, etc.: 668749 Distribution format: tar.gz Programming language: Mathematica, C and python. Computer: Workstation. Operating system: Linux. Classification: 11.1, 5, 4.4. External routines: FeynArts (optional), LoopTools (optional), LHAPDF (optional) Nature of problem: Automatisation of (Feynman diagrammatic) computations in High Energy Physics, representation and manipulation of tensors with symbolic indices in the Mathematica language, generation of numerical code and interface to Python. Solution method: A Mathematica package which provides functions to construct and manipulate tensor expressions in Mathematica and interface to other popular tools in High Energy Physics. Unusual features: A code generation method which uses Mathematicas byte code compiler (Compile) rather than CForm/FortranForm and the automatic generation of Python extension modules. Running time: The examples provided only take a few seconds to run.
high energy physics code generation python feynman amplitudes tensor algebra