=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/lib/weight,v retrieving revision 1.2 retrieving revision 1.6 diff -u -p -r1.2 -r1.6 --- OpenXM_contrib2/asir2000/lib/weight 2003/10/17 14:36:25 1.2 +++ OpenXM_contrib2/asir2000/lib/weight 2003/11/15 06:28:21 1.6 @@ -1,244 +1,411 @@ -load("solve")$ - -def nonposdegchk(Res){ - - for(I=0;IB[I]) - return -1$ - } - - return 0$ -} - -def weight(PolyList,Vars){ - - dp_ord(2)$ - - PolyListNum=length(PolyList)$ - - ExpMat=[]$ - for(I=0;IB[I]) + return -1$ + } + + return 0$ +} + +def roundret(V){ + + VN=length(V)$ + RET0=newvect(VN,V)$ + + for(I=1;I<1000;I++){ + RET1=I*RET0$ + for(J=0;J