=================================================================== RCS file: /home/cvs/OpenXM/src/kan96xx/Kan/extern.h,v retrieving revision 1.9 retrieving revision 1.18 diff -u -p -r1.9 -r1.18 --- OpenXM/src/kan96xx/Kan/extern.h 2003/07/14 12:49:52 1.9 +++ OpenXM/src/kan96xx/Kan/extern.h 2004/07/30 11:21:55 1.18 @@ -1,4 +1,4 @@ -/* $OpenXM: OpenXM/src/kan96xx/Kan/extern.h,v 1.8 2003/07/10 08:20:04 takayama Exp $ */ +/* $OpenXM: OpenXM/src/kan96xx/Kan/extern.h,v 1.17 2004/05/13 04:38:28 takayama Exp $ */ /*********** global variables for module stackmachine***************/ extern int VerboseStack; extern int DebugStack; @@ -136,6 +136,7 @@ struct object KaoMult(struct object aa,struct object b struct object KooDiv2(struct object ob1,struct object ob2); struct object KoNegate(struct object ob1); struct object KreduceRationalFunction(struct object ob); +struct object KooPower(struct object ob1,struct object ob2); /* for rational function object */ struct object KoInverse(struct object ob); @@ -163,6 +164,7 @@ struct object KpoArrayOfPOLY(struct arrayOfPOLY *ap); struct object KpoMatrixOfPOLY(struct matrixOfPOLY *mp); struct object KpoRingp(struct ring *ringp); struct object KpoDouble(double a); +struct object KpoUniversalNumber(struct coeff *u); #define KopInteger(o) ( (o).lc.ival ) #define KopString(o) ( (o).lc.str ) #define KopPOLY(o) ( (o).lc.poly ) @@ -188,6 +190,7 @@ int objArrayToOrderMatrix(struct object oA,int order[] int KsetOrderByObjArray(struct object oA); struct object oGetOrderMatrix(struct ring *ringp); /* order.c */ struct object KgetOrderMatrixOfCurrentRing(); +struct object oRingToOXringStructure(struct ring *ringp); /* order.c */ int KsetUpRing(struct object ob1,struct object ob2, struct object ob3,struct object ob4,struct object ob5); void KshowRing(struct ring *ringp); struct object KdefaultPolyRing(struct object num); @@ -243,15 +246,20 @@ POLY arrayToPOLY(struct object ob); struct object POLYToArray(POLY f); struct object oPrincipalPart(struct object ob); struct object oInitW(struct object ob,struct object oWeight); +struct object KordWsAll(struct object ob,struct object oWeight); /* :misc */ struct object homogenizeObject(struct object ob,int *gradep); struct object homogenizeObject_vec(struct object ob,int *gradep); struct object homogenizeObject_go(struct object ob,int *gradep); +void KresetDegreeShift(void); int oGrade(struct object ob); struct ring *oRingp(struct object ob); struct object KisOrdered(struct object of); struct object KvectorToSchreyer_es(struct object obarray); +POLY objArrayToPOLY(struct object ob); +struct object POLYtoObjArray(POLY f,int size); +struct object KgetExponents(struct object obPoly,struct object type); /* hilbert.c */ struct object hilberto(struct object obgb,struct object obvlist); @@ -270,3 +278,8 @@ struct object KschreyerSkelton(struct object g); /* misc */ struct object KregionMatches(struct object sobj, struct object keyArray); int objToInteger(struct object ob); + +/* shell.c */ +struct object KoxWhich(struct object cmdo,struct object patho); +struct object KoxShell(struct object ob); +void KoxShellHelp(char *key,FILE *fp);