Changeset 948192 in git for kernel/f5gb.h
- Timestamp:
- Aug 5, 2008, 10:44:08 PM (16 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 511bc5755561fc33f62670b036a5dc2b2559842d
- Parents:
- e8272f78a1d27210a94b7855f599bd5fc2f63a25
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/f5gb.h
re8272f r948192 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: f5gb.h,v 1. 6 2008-06-26 16:05:21ederc Exp $ */4 /* $Id: f5gb.h,v 1.7 2008-08-05 20:44:08 ederc Exp $ */ 5 5 /* 6 6 * ABSTRACT: f5gb interface … … 9 9 #define F5_HEADER 10 10 #include "mod2.h" 11 #include "lpolynom.h" 11 12 12 13 #ifdef HAVE_F5 … … 20 21 21 22 22 // class of a labeled polynomial23 class lpoly {24 private:25 poly term;26 long index;27 poly polynomial;28 29 public:30 void setPoly(poly p);31 poly getPoly();32 void setTerm(poly t);33 poly getTerm();34 void setIndex(long i);35 long getIndex();36 };37 38 39 40 41 23 // sort polynomials in ideal i by decreasing total degree 42 24 void qsort_degree(poly* left, poly* right); 43 25 44 26 45 // computes incrementally gbs of subsets of the input 46 // gb{f_m} -> gb{f_m,f_(m-1)} -> gb{f_m,...,f_1} 27 /* computes incrementally gbs of subsets of the input 28 ** gb{f_m} -> gb{f_m,f_(m-1)} -> gb{f_m,...,f_1} 29 */ 47 30 lpoly* f5_inc(lpoly* lp, lpoly* g_prev); 48 31
Note: See TracChangeset
for help on using the changeset viewer.