FORM  4.1
Functions
comtool.c File Reference
#include "form3.h"

Go to the source code of this file.

Functions

int inicbufs ()
 
void finishcbuf (WORD num)
 
void clearcbuf (WORD num)
 
WORD * DoubleCbuffer (int num, WORD *w)
 
WORD * AddLHS (int num)
 
WORD * AddRHS (int num, int type)
 
int AddNtoL (int n, WORD *array)
 
int AddNtoC (int bufnum, int n, WORD *array)
 
int InsTree (int bufnum, int h)
 
int FindTree (int bufnum, WORD *subexpr)
 
void RedoTree (CBUF *C, int size)
 
void ClearTree (int i)
 
int IniFbuffer (WORD bufnum)
 
LONG numcommute (WORD *terms, LONG *numterms)
 

Detailed Description

Utility routines for the compiler.

Definition in file comtool.c.

Function Documentation

int IniFbuffer ( WORD  bufnum)

Initialize a factorization cache buffer. We set the size of the rhs and boomlijst buffers immediately to their final values.

Definition at line 558 of file comtool.c.

References tree::blnce, CbUf::boomlijst, CbUf::CanCommu, CbUf::dimension, tree::left, CbUf::numdum, CbUf::NumTerms, tree::parent, CbUf::rhs, tree::right, tree::usage, and tree::value.

Referenced by StartVariables().