|
char * | d2s (double d, CObstack *heap) |
| Convert double to char string allocating storage on given heap. More...
|
|
int | Equivalent (CNode *a, CNode *b) |
|
void | Add (double *r, double *a, double *b) |
|
void | Sub (double *r, double *a, double *b) |
|
void | Mul (double *r, double *a, double *b) |
|
void | Div (double *r, double *a, double *b) |
|
void | Neg (double *r, double *a) |
|
void | Plus (double *r, double *a) |
|
void | Pow (double *r, double *a, double *b) |
|
| ILLEGAL_OP2 (Rsh) |
|
| ILLEGAL_OP2 (Lsh) |
|
| ILLEGAL_OP2 (Rep) |
|
| ILLEGAL_OP2 (Mod) |
|
| ILLEGAL_OP2 (And) |
|
| ILLEGAL_OP2 (Xor) |
|
| ILLEGAL_OP2 (Xnor) |
|
| ILLEGAL_OP2 (Or) |
|
| ILLEGAL_OP2 (Lor) |
|
| ILLEGAL_OP2 (Land) |
|
| ILLEGAL_OP1 (Com) |
|
| ILLEGAL_OP1 (Rand) |
|
| ILLEGAL_OP1 (Rnand) |
|
| ILLEGAL_OP1 (Ror) |
|
| ILLEGAL_OP1 (Rnor) |
|
| ILLEGAL_OP1 (Rxor) |
|
| ILLEGAL_OP1 (Rxnor) |
|
CNode * | cVECTOR (CVector &vec) |
| Short cut for creating VCONSTANT node with a given vector value. More...
|
|
CNode * | cSTRING (const char *s) |
| Short cut for creating VCONSTANT node with a given string value. More...
|
|
CNode * | cINT32 (INT32 i) |
| Short cut for creating VCONSTANT node with a given integer value. More...
|
|
CNode * | cREAL (double number) |
| Short cut for creating RCONSTANT node with a given double value. More...
|
|
CNode * | cELINK (CNode *n1, CNode *n2) |
| Link together two nodes with an ELIST operator. More...
|
|
CNode * | cABS (CNode *a) |
| Short cut for creating an subtree that calculates the absolute value of an expression. More...
|
|
CNode * | cABSDIFF (CNode *a, CNode *b) |
| Short cut for creating an subtree that calculates the absolute difference between two expressions. More...
|
|
CNode * | cLINK (CNode *n1, CNode *n2) |
| Short cut for linking together to nodes with a LIST operator. More...
|
|
CNode * | cMAX (CNode *n1, CNode *n2) |
| Short cut for creating a expression tree that calculates the maximum of two expressions. More...
|
|
template<class T > |
void | ArgList2Vector (CNode *n, NodeOp_t op, int argNumber, vector< T > &v) |
| Walks a list of nodes and collects the specified augments of a given node type. More...
|
|
void | EList2VectorExclude (CNode *n, const set< NodeOp_t > &excludeOps, vector< CNode * > &v) |
| Walks an expression elist of nodes and collects the subtrees that don't match the given node types. More...
|
|
void | List2VectorExclude (CNode *n, const set< NodeOp_t > &excludeOps, vector< CNode * > &v) |
| Walks an expression list of nodes and collects the subtrees that don't match the given node types. More...
|
|
CNode * | Vector2EList (const vector< CNode * > &v) |
| Converts a vector array of CNode* into a linked ELIST of the elements. More...
|
|
CNode * | List2EList (list< CNode * > &v) |
| Converts a list of CNode* into a linked ELIST of the elements. More...
|
|
int | ListCount (CNode *n, NodeOp_t op) |
| Walks a list/elist of nodes and counts the number of node with the specified operation. More...
|
|
int | ListCount (CNode *n) |
| Walks a list/elist of nodes and counts the number of non-list nodes. More...
|
|
double | s2d (char *s) |
| Convert char string to double. More...
|
|
CNode * | RebalanceRight (CNode *n) |
|
void | MeasureDepth (CNode *n, int *count, int *depth) |
|
CNode_pr | cLINK (CNode_pr pr1, CNode *n2) |
|
string | HierarchicalReference2String (CNode *ref) |
|
CNode * | cMAX_N (CNode *first,...) |
|
CNode * | cADD_N (CNode *first,...) |
|
CNode * | cMUL_N (CNode *first,...) |
|
CNode * | cABSDIFFPLUS1_N (CNode *first,...) |
|
int | cMAX (int a1, int a2) |
|
int | cMAX (int a1, int a2, int a3) |
|
int | cADD (int a1, int a2) |
|
int | cMUL (int a1, int a2) |
|
int | cABSDIFFPLUS1 (int a1, int a2) |
|