FORM
4.2
|
#include "form3.h"
Go to the source code of this file.
Macros | |
#define | MAXNUMBEROFNONCOMTERMS 2 |
#define | EXCHN(t1, t2, n) { WORD a,i; for(i=0;i<n;i++){x=t1[i];t1[i]=t2[i];t2[i]=a;} |
#define | EXCH(x, y) { WORD a = (x); (x) = (y); (y) = a; } |
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) |
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.