source:
git/kernel/f5gb.h
@
244ed5
Last change on this file since 244ed5 was 244ed5, checked in by , 15 years ago | |
---|---|
|
|
File size: 822 bytes |
Rev | Line | |
---|---|---|
[936551] | 1 | /**************************************** |
2 | * Computer Algebra System SINGULAR * | |
3 | ****************************************/ | |
[244ed5] | 4 | /* $Id: f5gb.h,v 1.12 2008-11-27 17:18:05 ederc Exp $ */ |
[936551] | 5 | /* |
[d0f98e] | 6 | * ABSTRACT: f5gb interface |
[936551] | 7 | */ |
8 | #ifndef F5_HEADER | |
9 | #define F5_HEADER | |
10 | ||
11 | #ifdef HAVE_F5 | |
[ed30c5] | 12 | #include "lpolynomial.h" |
[244ed5] | 13 | #include "lplist.h" |
[d0f98e] | 14 | |
15 | ||
16 | // sort polynomials in ideal i by decreasing total degree | |
[ed30c5] | 17 | void qsort_degree(poly* left, poly* right); |
[d0f98e] | 18 | |
[8627ad] | 19 | |
[4cfd6d] | 20 | // generating the list lp of ideal generators and |
21 | // test if 1 is in lp(return 1) or not(return 0) | |
[244ed5] | 22 | bool generate_input_list(LPoly* lp, ideal id, poly one); |
[4cfd6d] | 23 | |
[948192] | 24 | /* computes incrementally gbs of subsets of the input |
[4cfd6d] | 25 | gb{f_m} -> gb{f_m,f_(m-1)} -> gb{f_m,...,f_1} |
[948192] | 26 | */ |
[ed30c5] | 27 | // lpoly* f5_inc(lpoly* lp, lpoly* g_prev); |
[8627ad] | 28 | |
29 | ||
[d0f98e] | 30 | // main function of our f5 implementation |
[171950] | 31 | ideal F5main(ideal i, ring r); |
[936551] | 32 | #endif |
33 | #endif | |
[171950] | 34 |
Note: See TracBrowser
for help on using the repository browser.