version 1.6, 2003/08/19 08:02:09 |
version 1.8, 2005/06/30 08:35:07 |
|
|
/* $OpenXM: OpenXM/src/kan96xx/Kan/gradedset.c,v 1.5 2003/07/30 09:00:52 takayama Exp $ */ |
/* $OpenXM: OpenXM/src/kan96xx/Kan/gradedset.c,v 1.7 2005/06/16 06:54:55 takayama Exp $ */ |
#include <stdio.h> |
#include <stdio.h> |
#include "datatype.h" |
#include "datatype.h" |
#include "extern2.h" |
#include "extern2.h" |
Line 62 struct gradedPolySet *newGradedPolySet(n) |
|
Line 62 struct gradedPolySet *newGradedPolySet(n) |
|
errorGradedSet("No more memory."); |
errorGradedSet("No more memory."); |
g->maxGrade = 0; |
g->maxGrade = 0; |
g->lim = n; |
g->lim = n; |
|
g->gb = 0; |
|
g->reduced = 0; |
return(g); |
return(g); |
} |
} |
|
|
Line 251 struct gradedPolySet *putPolyInG(g,fi,grade,index,syz, |
|
Line 253 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; |
} |
} |
|
|