Coder Social home page Coder Social logo

pengcheng001 / form Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vermaseren/form

0.0 0.0 0.0 5.48 MB

The FORM project for symbolic manipulation of very big expressions

License: GNU General Public License v3.0

Shell 1.07% C++ 16.18% C 78.69% Makefile 0.13% M4 0.89% Visual Basic 6.0 3.04%

form's Introduction

FORM

Test Coverage Status

FORM is a Symbolic Manipulation System. It reads symbolic expressions from files and executes symbolic/algebraic transformations upon them. The answers are returned in a textual mathematical representation. As its landmark feature, the size of the considered expressions in FORM is only limited by the available disk space and not by the available RAM. FORM has been essential for many state-of-the-art computations in High Energy Physics.

FORM's original author is Jos Vermaseren of NIKHEF, the Dutch institute for subatomic physics. Other people that have made contributions can be found in the file "AUTHORS".

Quick examples

The following FORM program repeatedly matches the power of a variable x in the expression E, as long as the power is more than 1 and creates two new terms with lower power:

Symbol x,n;
Local E = x^10;

repeat id x^n?{>1} = x^(n-1) + x^(n-2);

Print;
.end

and yields F = 34 + 55*x.

The following FORM program matches the function f that has any arguments before encountering an x and any arguments after, and switches them around:

Symbol x;
Local E = f(1,2,x,3,4);

id f(?a,x,?b) = f(?b,?a);

Print;
.end

and yields F = f(3,4,1,2).

FORM can match many more complicated patterns and has many more features, as documented in the additional information.

Build instructions

Before building FORM, it is advised to install the optional dependencies gmp and zlib for better performance. To quickly build FORM, install the autoconf and automake packages. Then, after cloning the repository, run:

autoreconf -i
./configure
make
make install

For more advanced build options, see the file "INSTALL".

Additional information

The latest reference manual can be found here and the Form Cookbook can be found here.

More background information, a collection of FORM programs, and a number of courses can be found on the official FORM website and on the Wiki.

Information about copying and licensing of this software can be found in the file "COPYING".

Bugs and remarks

For reporting bugs, asking questions, giving remarks and suggestions, we welcome you to use the Issue Tracker.

form's People

Contributors

tueda avatar vermaseren avatar benruijl avatar fchapoton avatar mreininghaus avatar alexmyczko avatar magv avatar spj101 avatar rldelgado avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.