=================================================================== RCS file: /home/cvs/OpenXM/src/ox_toolkit/ox_toolkit.h,v retrieving revision 1.21 retrieving revision 1.22 diff -u -p -r1.21 -r1.22 --- OpenXM/src/ox_toolkit/ox_toolkit.h 2003/06/02 20:38:41 1.21 +++ OpenXM/src/ox_toolkit/ox_toolkit.h 2003/06/03 16:06:48 1.22 @@ -1,5 +1,5 @@ /* -*- mode: C -*- */ -/* $OpenXM: OpenXM/src/ox_toolkit/ox_toolkit.h,v 1.20 2003/06/02 10:25:57 ohara Exp $ */ +/* $OpenXM: OpenXM/src/ox_toolkit/ox_toolkit.h,v 1.21 2003/06/02 20:38:41 ohara Exp $ */ #ifndef _OX_TOOLKIT_H_ @@ -93,6 +93,7 @@ typedef struct cell { struct cmo *cmo; struct cell *next; struct cell *prev; + int exp; } cell; typedef struct { @@ -210,6 +211,7 @@ cell* list_first(cmo_list *); int list_endof(cmo_list *, cell *el); cell* list_next(cell *el); cmo_list* list_append(cmo_list*, cmo *ob); +cmo_list* list_append_monomial(cmo_list* , cmo* coef, int exp); cmo_list* list_appendl(cmo_list*, ...); int list_length(cmo_list* ); cmo* list_nth(cmo_list* , int n);