Wolfram Library Archive

All Collections Articles Books Conference Proceedings
Courseware Demos MathSource Technical Notes
Title Downloads

Reading FORM output into Mathematica

Thomas Hahn
Organization: Max-Planck-Institute for Physics (Werner-Heisenberg-Institute)
URL: http://wwwth.mppmu.mpg.de/members/hahn/
Old MathSource #

Revision date


This program provides a Mathematica function called FormGet which reads output files from FORM into Mathematica. (FORM is a computer algebra system commonly used in high energy physics.)

The output format of FORM is slightly different from Mathematica's InputForm, and while the translations (e.g. round brackets into square brackets for functions) are in most cases straightforward to perform with any decent pattern-matching language like perl or awk, it becomes a pain in the neck to program this for every FORM file one may want to read.

In addition, FormGet preserves the structure of the FORM output if it was grouped into common factors with the bracket command.

For instructions on compiling and usage, see the comments at the beginning of FormGet.tm.

*Mathematica Technology > Front End > Importing

FORM, interfacing, Vermaseren, high energy physics, Feynman diagrams

FormGet.tm (7.3 KB) - MathLink program

Translate this page: