Changeset ee3507 in git
- Timestamp:
- Aug 7, 2008, 3:18:36 PM (16 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 6a6dcddfee86f8fbec5f4296b95bf41b5a318892
- Parents:
- 6a4ea18c015f305455d0ce716fdbf16b8bce8846
- Location:
- kernel
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/f5gb.cc
r6a4ea1 ree3507 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: f5gb.cc,v 1. 8 2008-08-05 20:44:08 edercExp $ */4 /* $Id: f5gb.cc,v 1.9 2008-08-07 13:18:36 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: f5gb interface 7 7 */ 8 8 #include "mod2.h" 9 10 #ifdef HAVE_F5 9 11 #include "kutil.h" 10 12 #include "structs.h" … … 22 24 #include "f5gb.h" 23 25 #include "lpolynom.h" 24 #ifdef HAVE_F525 26 26 27 -
kernel/f5gb.h
r6a4ea1 ree3507 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: f5gb.h,v 1. 7 2008-08-05 20:44:08 edercExp $ */4 /* $Id: f5gb.h,v 1.8 2008-08-07 13:18:36 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: f5gb interface … … 8 8 #ifndef F5_HEADER 9 9 #define F5_HEADER 10 #include "mod2.h"11 #include "lpolynom.h"12 10 13 11 #ifdef HAVE_F5 12 #include "lpolynom.h" 14 13 15 14 16 15 // structure of the rules, i.e. index and term 17 struct rule{ 16 struct rule 17 { 18 18 long index; 19 19 poly term; -
kernel/lpolynom.cc
r6a4ea1 ree3507 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: lpolynom.cc,v 1. 1 2008-08-05 20:44:08 edercExp $ */4 /* $Id: lpolynom.cc,v 1.2 2008-08-07 13:18:36 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: lpolynomial definition 7 7 */ 8 8 #include "mod2.h" 9 10 #ifdef HAVE_F5 9 11 #include "kutil.h" 10 12 #include "structs.h" … … 22 24 #include "f5gb.h" 23 25 #include "lpolynom.h" 24 #ifdef HAVE_F525 26 26 27 … … 29 30 */ 30 31 31 void lpoly::setPoly(poly p){ 32 void lpoly::setPoly(poly p) 33 { 32 34 polynomial = p; 33 35 } 34 36 35 void lpoly::setTerm(poly t){ 37 void lpoly::setTerm(poly t) 38 { 36 39 term = t; 37 40 } 38 41 39 void lpoly::setIndex(long i){ 42 void lpoly::setIndex(long i) 43 { 40 44 index = i; 41 45 } 42 46 43 poly lpoly::getPoly(){ 47 poly lpoly::getPoly() 48 { 44 49 return polynomial; 45 50 } 46 51 47 poly lpoly::getTerm(){ 52 poly lpoly::getTerm() 53 { 48 54 return term; 49 55 } 50 56 51 long lpoly::getIndex(){ 57 long lpoly::getIndex() 58 { 52 59 return index; 53 60 } -
kernel/lpolynom.h
r6a4ea1 ree3507 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: lpolynom.h,v 1. 1 2008-08-05 20:44:08 edercExp $ */4 /* $Id: lpolynom.h,v 1.2 2008-08-07 13:18:36 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: f5gb interface … … 8 8 #ifndef LPOLYNOM_HEADER 9 9 #define LPOLYNOM_HEADER 10 #include "mod2.h"11 10 12 11 #ifdef HAVE_F5 … … 14 13 15 14 // class of a labeled polynomial 16 class lpoly { 15 class lpoly 16 { 17 17 private: 18 18 poly term;
Note: See TracChangeset
for help on using the changeset viewer.