| version 1.5, 2003/08/21 02:30:23 |
version 1.8, 2020/10/06 11:33:46 |
|
|
| /* $OpenXM: OpenXM/src/kan96xx/Kan/poly2.c,v 1.4 2003/08/20 01:39:17 takayama Exp $ */ |
/* $OpenXM: OpenXM/src/kan96xx/Kan/poly2.c,v 1.7 2005/07/03 11:08:54 ohara Exp $ */ |
| #include <stdio.h> |
#include <stdio.h> |
| |
#include <stdlib.h> |
| #include "datatype.h" |
#include "datatype.h" |
| #include "stackm.h" |
#include "stackm.h" |
| #include "extern.h" |
#include "extern.h" |
| Line 694 POLY modulo0(f,ringp) |
|
| Line 695 POLY modulo0(f,ringp) |
|
| struct object test(ob) /* test3 */ |
struct object test(ob) /* test3 */ |
| struct object ob; |
struct object ob; |
| { |
{ |
| struct object rob; |
struct object rob = OINIT; |
| int k; |
int k; |
| static POLY f0; |
static POLY f0; |
| static POLY f1; |
static POLY f1; |
| Line 1007 struct coeff *gcdOfCoeff(POLY f) { |
|
| Line 1008 struct coeff *gcdOfCoeff(POLY f) { |
|
| } |
} |
| |
|
| int shouldReduceContent(POLY f,int ss) { |
int shouldReduceContent(POLY f,int ss) { |
| extern DoCancel; |
extern int DoCancel; |
| static int prevSize = 1; |
static int prevSize = 1; |
| int size; |
int size; |
| if (f == POLYNULL) return 0; |
if (f == POLYNULL) return 0; |