version 1.7, 2005/06/16 06:54:55 |
version 1.10, 2020/10/06 11:33:46 |
|
|
/* $OpenXM: OpenXM/src/kan96xx/Kan/gradedset.c,v 1.6 2003/08/19 08:02:09 takayama Exp $ */ |
/* $OpenXM: OpenXM/src/kan96xx/Kan/gradedset.c,v 1.9 2005/07/03 11:08:53 ohara Exp $ */ |
#include <stdio.h> |
#include <stdio.h> |
|
#include <stdlib.h> |
#include "datatype.h" |
#include "datatype.h" |
#include "extern2.h" |
#include "extern2.h" |
#include "gradedset.h" |
#include "gradedset.h" |
Line 253 struct gradedPolySet *putPolyInG(g,fi,grade,index,syz, |
|
Line 254 struct gradedPolySet *putPolyInG(g,fi,grade,index,syz, |
|
gnew->polys[i] = newPolySet(INITSIZE); |
gnew->polys[i] = newPolySet(INITSIZE); |
} |
} |
gnew->maxGrade = g->maxGrade; |
gnew->maxGrade = g->maxGrade; |
|
gnew->gb = g->gb; gnew->reduced = g->reduced; |
g = gnew; |
g = gnew; |
} |
} |
|
|
Line 371 void outputGradedPolySet(grG,needSyz) |
|
Line 373 void outputGradedPolySet(grG,needSyz) |
|
{ |
{ |
int i,j; |
int i,j; |
struct polySet *set; |
struct polySet *set; |
extern Ecart; |
extern int Ecart; |
printf("======== gradedPolySet ==========\n"); |
printf("======== gradedPolySet ==========\n"); |
printf("maxGrade=%d\n",grG->maxGrade); |
printf("maxGrade=%d\n",grG->maxGrade); |
for (i=0; i<grG->maxGrade; i++) { |
for (i=0; i<grG->maxGrade; i++) { |