Changeset 8627ad in git for kernel/f5gb.h
- Timestamp:
- Jun 26, 2008, 6:05:21 PM (15 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- cf4f984ee6d7c9c1a66934b0144d4e0d64c11b01
- Parents:
- 4bf7611fbd40e148feb7eae45c84e0cfe66f2ad0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/f5gb.h
r4bf7611 r8627ad 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: f5gb.h,v 1. 5 2008-06-01 15:15:00ederc Exp $ */4 /* $Id: f5gb.h,v 1.6 2008-06-26 16:05:21 ederc Exp $ */ 5 5 /* 6 6 * ABSTRACT: f5gb interface … … 13 13 14 14 15 // structure of the rules, i.e. index and term 16 struct rule{ 17 long index; 18 poly term; 19 }; 20 21 22 // class of a labeled polynomial 15 23 class lpoly { 16 24 private: 17 poly * t_ptr;18 long * i_ptr;19 poly * p_ptr;25 poly term; 26 long index; 27 poly polynomial; 20 28 21 29 public: 22 void setPoly(poly *p);23 poly *getPoly();24 void setTerm(poly *t);25 poly *getTerm();26 void setIndex(long *i);27 long *getIndex();30 void setPoly(poly p); 31 poly getPoly(); 32 void setTerm(poly t); 33 poly getTerm(); 34 void setIndex(long i); 35 long getIndex(); 28 36 }; 29 37 … … 34 42 void qsort_degree(poly* left, poly* right); 35 43 44 45 // computes incrementally gbs of subsets of the input 46 // gb{f_m} -> gb{f_m,f_(m-1)} -> gb{f_m,...,f_1} 47 lpoly* f5_inc(lpoly* lp, lpoly* g_prev); 48 49 36 50 // main function of our f5 implementation 37 51 ideal F5main(ideal i, ring r);
Note: See TracChangeset
for help on using the changeset viewer.