spielwiese
Last change
on this file since 171950 was
171950,
checked in by Christian Eder, 15 years ago
|
new: interreduction
git-svn-id: file:///usr/local/Singular/svn/trunk@10728 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
873 bytes
|
Line | |
---|
1 | /**************************************** |
---|
2 | * Computer Algebra System SINGULAR * |
---|
3 | ****************************************/ |
---|
4 | /* $Id: f5gb.cc,v 1.3 2008-05-23 19:47:39 ederc Exp $ */ |
---|
5 | /* |
---|
6 | * ABSTRACT: f5gb interface |
---|
7 | */ |
---|
8 | #include "mod2.h" |
---|
9 | #include "kutil.h" |
---|
10 | #include "structs.h" |
---|
11 | #include "omalloc.h" |
---|
12 | #include "polys.h" |
---|
13 | #include "p_polys.h" |
---|
14 | #include "ideals.h" |
---|
15 | #include "febase.h" |
---|
16 | #include "kstd1.h" |
---|
17 | #include "khstd.h" |
---|
18 | #include "kbuckets.h" |
---|
19 | #include "weight.h" |
---|
20 | #include "intvec.h" |
---|
21 | #include "pInline1.h" |
---|
22 | |
---|
23 | #include "f5gb.h" |
---|
24 | |
---|
25 | #ifdef HAVE_F5 |
---|
26 | ideal F5main(ideal i, ring r) |
---|
27 | { |
---|
28 | ideal iTmp, g; |
---|
29 | int j; |
---|
30 | iTmp = idInit(IDELEMS(i),i->rank); |
---|
31 | |
---|
32 | for(j=0; j<IDELEMS(i); j++) |
---|
33 | { |
---|
34 | if(NULL != i->m[j]) |
---|
35 | { |
---|
36 | iTmp->m[j] = i->m[j]; |
---|
37 | } |
---|
38 | } |
---|
39 | |
---|
40 | iTmp = kInterRed(i,0); |
---|
41 | idShow(i); |
---|
42 | idShow(iTmp); |
---|
43 | /*for(j=0; j<IDELEMS(res); j++) |
---|
44 | { |
---|
45 | |
---|
46 | |
---|
47 | return res; |
---|
48 | } |
---|
49 | */ |
---|
50 | } |
---|
51 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.