FORM 4.3
Macros | Functions
normal.c File Reference
#include "form3.h"

Go to the source code of this file.

Macros

#define MAXNUMBEROFNONCOMTERMS   2
 

Functions

WORD CompareFunctions (WORD *fleft, WORD *fright)
 
WORD Commute (WORD *fleft, WORD *fright)
 
WORD Normalize (PHEAD WORD *term)
 
WORD ExtraSymbol (WORD sym, WORD pow, WORD nsym, WORD *ppsym, WORD *ncoef)
 
WORD DoTheta (PHEAD WORD *t)
 
WORD DoDelta (WORD *t)
 
void DoRevert (WORD *fun, WORD *tmp)
 
WORD DetCommu (WORD *terms)
 
WORD DoesCommu (WORD *term)
 
int TreatPolyRatFun (PHEAD WORD *prf)
 
void DropCoefficient (PHEAD WORD *term)
 
void DropSymbols (PHEAD WORD *term)
 
int SymbolNormalize (WORD *term)
 
int TestFunFlag (PHEAD WORD *tfun)
 
WORD BracketNormalize (PHEAD WORD *term)
 

Detailed Description

Mainly the routine Normalize. This routine brings terms to standard FORM. Currently it has one serious drawback. Its buffers are all in the stack. This means these buffers have a fixed size (NORMSIZE). In the past this has caused problems and NORMSIZE had to be increased.

It is not clear whether Normalize can be called recursively.

Definition in file normal.c.

Macro Definition Documentation

◆ MAXNUMBEROFNONCOMTERMS

#define MAXNUMBEROFNONCOMTERMS   2

Definition at line 4378 of file normal.c.

Function Documentation

◆ CompareFunctions()

WORD CompareFunctions ( WORD * fleft,
WORD * fright )

Definition at line 48 of file normal.c.

◆ Commute()

WORD Commute ( WORD * fleft,
WORD * fright )

Definition at line 112 of file normal.c.

◆ Normalize()

WORD Normalize ( PHEAD WORD * term)

Definition at line 187 of file normal.c.

◆ ExtraSymbol()

WORD ExtraSymbol ( WORD sym,
WORD pow,
WORD nsym,
WORD * ppsym,
WORD * ncoef )

Definition at line 4066 of file normal.c.

◆ DoTheta()

WORD DoTheta ( PHEAD WORD * t)

Definition at line 4128 of file normal.c.

◆ DoDelta()

WORD DoDelta ( WORD * t)

Definition at line 4225 of file normal.c.

◆ DoRevert()

void DoRevert ( WORD * fun,
WORD * tmp )

Definition at line 4292 of file normal.c.

◆ DetCommu()

WORD DetCommu ( WORD * terms)

Definition at line 4380 of file normal.c.

◆ DoesCommu()

WORD DoesCommu ( WORD * term)

Definition at line 4439 of file normal.c.

◆ TreatPolyRatFun()

int TreatPolyRatFun ( PHEAD WORD * prf)

Definition at line 4830 of file normal.c.

◆ DropCoefficient()

void DropCoefficient ( PHEAD WORD * term)

Definition at line 4966 of file normal.c.

◆ DropSymbols()

void DropSymbols ( PHEAD WORD * term)

Definition at line 4984 of file normal.c.

◆ SymbolNormalize()

int SymbolNormalize ( WORD * term)

Routine normalizes terms that contain only symbols. Regular minimum and maximum properties are ignored.

We check whether there are negative powers in the output. This is not allowed.

Definition at line 5014 of file normal.c.

Referenced by InFunction(), and poly_sort().

◆ TestFunFlag()

int TestFunFlag ( PHEAD WORD * tfun)

Definition at line 5110 of file normal.c.

◆ BracketNormalize()

WORD BracketNormalize ( PHEAD WORD * term)

Definition at line 5141 of file normal.c.