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

Go to the source code of this file.

Functions

WORD ReNumber (PHEAD WORD *term)
 
VOID FunLevel (PHEAD WORD *term)
 
WORD DetCurDum (PHEAD WORD *t)
 
int FullRenumber (PHEAD WORD *term, WORD par)
 
VOID MoveDummies (PHEAD WORD *term, WORD shift)
 
void AdjustRenumScratch (PHEAD0)
 
WORD CountDo (WORD *term, WORD *instruct)
 
WORD CountFun (WORD *term, WORD *countfun)
 
WORD DimensionSubterm (WORD *subterm)
 
WORD DimensionTerm (WORD *term)
 
WORD DimensionExpression (PHEAD WORD *expr)
 
WORD MultDo (PHEAD WORD *term, WORD *pattern)
 
WORD TryDo (PHEAD WORD *term, WORD *pattern, WORD level)
 
WORD DoDistrib (PHEAD WORD *term, WORD level)
 
WORD EqualArg (WORD *parms, WORD num1, WORD num2)
 
WORD DoDelta3 (PHEAD WORD *term, WORD level)
 
WORD TestPartitions (WORD *tfun, PARTI *parti)
 
WORD DoPartitions (PHEAD WORD *term, WORD level)
 
WORD DoPermutations (PHEAD WORD *term, WORD level)
 
WORD DoShuffle (WORD *term, WORD level, WORD fun, WORD option)
 
int Shuffle (WORD *from1, WORD *from2, WORD *to)
 
int FinishShuffle (WORD *fini)
 
WORD DoStuffle (WORD *term, WORD level, WORD fun, WORD option)
 
int Stuffle (WORD *from1, WORD *from2, WORD *to)
 
int FinishStuffle (WORD *fini)
 
WORD * StuffRootAdd (WORD *t1, WORD *t2, WORD *to)
 

Detailed Description

Mixed routines: Routines for relabelling dummy indices. The multiply command The distrib_ function The tryreplace statement

Definition in file reshuf.c.

Macro Definition Documentation

◆ NEWCODE

#define NEWCODE

Definition at line 35 of file reshuf.c.

Function Documentation

◆ ReNumber()

WORD ReNumber ( PHEAD WORD *  term)

Definition at line 80 of file reshuf.c.

◆ FunLevel()

VOID FunLevel ( PHEAD WORD *  term)

Definition at line 130 of file reshuf.c.

◆ DetCurDum()

WORD DetCurDum ( PHEAD WORD *  t)

Definition at line 252 of file reshuf.c.

◆ FullRenumber()

int FullRenumber ( PHEAD WORD *  term,
WORD  par 
)

Definition at line 324 of file reshuf.c.

◆ MoveDummies()

VOID MoveDummies ( PHEAD WORD *  term,
WORD  shift 
)

Definition at line 436 of file reshuf.c.

◆ AdjustRenumScratch()

void AdjustRenumScratch ( PHEAD0  )

Definition at line 506 of file reshuf.c.

◆ CountDo()

WORD CountDo ( WORD *  term,
WORD *  instruct 
)

Definition at line 552 of file reshuf.c.

◆ CountFun()

WORD CountFun ( WORD *  term,
WORD *  countfun 
)

Definition at line 706 of file reshuf.c.

◆ DimensionSubterm()

WORD DimensionSubterm ( WORD *  subterm)

Definition at line 867 of file reshuf.c.

◆ DimensionTerm()

WORD DimensionTerm ( WORD *  term)

Definition at line 968 of file reshuf.c.

◆ DimensionExpression()

WORD DimensionExpression ( PHEAD WORD *  expr)

Definition at line 1000 of file reshuf.c.

◆ MultDo()

WORD MultDo ( PHEAD WORD *  term,
WORD *  pattern 
)

Definition at line 1044 of file reshuf.c.

◆ TryDo()

WORD TryDo ( PHEAD WORD *  term,
WORD *  pattern,
WORD  level 
)

Definition at line 1072 of file reshuf.c.

◆ DoDistrib()

WORD DoDistrib ( PHEAD WORD *  term,
WORD  level 
)

Definition at line 1119 of file reshuf.c.

◆ EqualArg()

WORD EqualArg ( WORD *  parms,
WORD  num1,
WORD  num2 
)

Definition at line 1379 of file reshuf.c.

◆ DoDelta3()

WORD DoDelta3 ( PHEAD WORD *  term,
WORD  level 
)

Definition at line 1405 of file reshuf.c.

◆ TestPartitions()

WORD TestPartitions ( WORD *  tfun,
PARTI parti 
)

Definition at line 1607 of file reshuf.c.

◆ DoPartitions()

WORD DoPartitions ( PHEAD WORD *  term,
WORD  level 
)

Definition at line 1722 of file reshuf.c.

◆ DoPermutations()

WORD DoPermutations ( PHEAD WORD *  term,
WORD  level 
)

Definition at line 2007 of file reshuf.c.

◆ DoShuffle()

WORD DoShuffle ( WORD *  term,
WORD  level,
WORD  fun,
WORD  option 
)

Definition at line 2095 of file reshuf.c.

◆ Shuffle()

int Shuffle ( WORD *  from1,
WORD *  from2,
WORD *  to 
)

Definition at line 2229 of file reshuf.c.

◆ FinishShuffle()

int FinishShuffle ( WORD *  fini)

Definition at line 2421 of file reshuf.c.

◆ DoStuffle()

WORD DoStuffle ( WORD *  term,
WORD  level,
WORD  fun,
WORD  option 
)

Definition at line 2487 of file reshuf.c.

◆ Stuffle()

int Stuffle ( WORD *  from1,
WORD *  from2,
WORD *  to 
)

Definition at line 2702 of file reshuf.c.

◆ FinishStuffle()

int FinishStuffle ( WORD *  fini)

Definition at line 2829 of file reshuf.c.

◆ StuffRootAdd()

WORD * StuffRootAdd ( WORD *  t1,
WORD *  t2,
WORD *  to 
)

Definition at line 2876 of file reshuf.c.