FORM v5.0.1-33-gdf7fc94
Macros | Functions
reshuf.c File Reference
#include "form3.h"
Include dependency graph for reshuf.c:

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)
 
int MultDo (PHEAD WORD *term, WORD *pattern)
 
int TryDo (PHEAD WORD *term, WORD *pattern, WORD level)
 
int DoDistrib (PHEAD WORD *term, WORD level)
 
int EqualArg (WORD *parms, WORD num1, WORD num2)
 
int DoDelta3 (PHEAD WORD *term, WORD level)
 
int TestPartitions (WORD *tfun, PARTI *parti)
 
int DoPartitions (PHEAD WORD *term, WORD level)
 
int DoPermutations (PHEAD WORD *term, WORD level)
 
int DoShuffle (WORD *term, WORD level, WORD fun, WORD option)
 
int Shuffle (WORD *from1, WORD *from2, WORD *to)
 
int FinishShuffle (WORD *fini)
 
int 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 254 of file reshuf.c.

◆ FullRenumber()

int FullRenumber ( PHEAD WORD *  term,
WORD  par 
)

Definition at line 326 of file reshuf.c.

◆ MoveDummies()

void MoveDummies ( PHEAD WORD *  term,
WORD  shift 
)

Definition at line 438 of file reshuf.c.

◆ AdjustRenumScratch()

void AdjustRenumScratch ( PHEAD0  )

Definition at line 508 of file reshuf.c.

◆ CountDo()

WORD CountDo ( WORD *  term,
WORD *  instruct 
)

Definition at line 554 of file reshuf.c.

◆ CountFun()

WORD CountFun ( WORD *  term,
WORD *  countfun 
)

Definition at line 708 of file reshuf.c.

◆ DimensionSubterm()

WORD DimensionSubterm ( WORD *  subterm)

Definition at line 869 of file reshuf.c.

◆ DimensionTerm()

WORD DimensionTerm ( WORD *  term)

Definition at line 970 of file reshuf.c.

◆ DimensionExpression()

WORD DimensionExpression ( PHEAD WORD *  expr)

Definition at line 1002 of file reshuf.c.

◆ MultDo()

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

Definition at line 1046 of file reshuf.c.

◆ TryDo()

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

Definition at line 1074 of file reshuf.c.

◆ DoDistrib()

int DoDistrib ( PHEAD WORD *  term,
WORD  level 
)

Definition at line 1121 of file reshuf.c.

◆ EqualArg()

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

Definition at line 1381 of file reshuf.c.

◆ DoDelta3()

int DoDelta3 ( PHEAD WORD *  term,
WORD  level 
)

Definition at line 1407 of file reshuf.c.

◆ TestPartitions()

int TestPartitions ( WORD *  tfun,
PARTI parti 
)

Definition at line 1611 of file reshuf.c.

◆ DoPartitions()

int DoPartitions ( PHEAD WORD *  term,
WORD  level 
)

Definition at line 1726 of file reshuf.c.

◆ DoPermutations()

int DoPermutations ( PHEAD WORD *  term,
WORD  level 
)

Definition at line 2011 of file reshuf.c.

◆ DoShuffle()

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

Definition at line 2099 of file reshuf.c.

◆ Shuffle()

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

Definition at line 2233 of file reshuf.c.

◆ FinishShuffle()

int FinishShuffle ( WORD *  fini)

Definition at line 2425 of file reshuf.c.

◆ DoStuffle()

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

Definition at line 2491 of file reshuf.c.

◆ Stuffle()

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

Definition at line 2706 of file reshuf.c.

◆ FinishStuffle()

int FinishStuffle ( WORD *  fini)

Definition at line 2833 of file reshuf.c.

◆ StuffRootAdd()

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

Definition at line 2880 of file reshuf.c.