Changeset 78eba1 in git
- Timestamp:
- Mar 16, 2011, 4:16:37 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 810a6343bdc1c6a9eadf1fc5d13c3abf7723a3df
- Parents:
- 83f55ff1c5ff260acd15b853eaecd7d374a336df
- git-author:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-03-16 16:16:37+01:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:01:06+01:00
- Location:
- libpolys/polys
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/Makefile.am
r83f55f r78eba1 69 69 libpolys_g_a_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long 70 70 # -fdiagnostics-show-option 71 72 dynamic_modules: ${module_LTLIBRARIES} -
libpolys/polys/kbuckets.h
r83f55f r78eba1 5 5 ****************************************/ 6 6 /* $Id$ */ 7 #include <polys/operations/pShallowCopyDelete.h> 8 #include <polys/monomials/ring.h> 7 9 #include <polys/templates/p_Procs.h> 8 #include <polys/operations/pShallowCopyDelete.h>9 10 10 11 //#define HAVE_COEF_BUCKETS -
libpolys/polys/polys1.cc
r83f55f r78eba1 22 22 #include <polys/monomials/ring.h> 23 23 // #include <???/ideals.h> 24 #include <polys/polys.h>24 // #include <polys/polys.h> 25 25 // #include "ipid.h" 26 26 #ifdef HAVE_FACTORY -
libpolys/polys/templates/p_Minus_mm_Mult_qq__T.cc
r83f55f r78eba1 67 67 tb = n_Mult__T(pGetCoeff(q), tm, r); 68 68 #ifdef HAVE_ZERODIVISORS 69 if (!n IsZero(tb)) {69 if (!n_IsZero__T(tb,r)) { 70 70 #endif 71 71 tc = pGetCoeff(p); … … 102 102 #ifdef HAVE_ZERODIVISORS 103 103 tb = n_Mult__T(pGetCoeff(q), tneg, r); 104 if (!n IsZero(tb))104 if (!n_IsZero__T(tb,r)) 105 105 { 106 106 #endif -
libpolys/polys/templates/p_Mult_nn__T.cc
r83f55f r78eba1 33 33 #else 34 34 number tmp = n_Mult__T(n, pGetCoeff(p), r); 35 if (!n IsZero(tmp))35 if (!n_IsZero__T(tmp,r)) 36 36 { 37 37 number nc = pGetCoeff(p); -
libpolys/polys/templates/p_Numbers.h
r83f55f r78eba1 49 49 #define n_Copy_RingGeneral(n, r) r->cf->cfCopy(n,r->cf) 50 50 #define n_Delete_RingGeneral(n, r) r->cf->cfDelete(n,r->cf) 51 #define n_Mult_RingGeneral(n1, n2, r) r->cf-> nMult(n1, n2, r->cf)52 #define n_Add_RingGeneral(n1, n2, r) r->cf-> nAdd(n1, n2, r->cf)53 #define n_IsZero_RingGeneral(n, r) r->cf-> nIsZero(n, r->cf)54 #define n_Equal_RingGeneral(n1, n2, r) r->cf-> nEqual(n1, n2, r->cf)55 #define n_Neg_RingGeneral(n, r) r->cf-> nNeg(n, r->cf)56 #define n_Sub_RingGeneral(n1, n2, r) r->cf-> nSub(n1, n2, r->cf)51 #define n_Mult_RingGeneral(n1, n2, r) r->cf->cfMult(n1, n2, r->cf) 52 #define n_Add_RingGeneral(n1, n2, r) r->cf->cfAdd(n1, n2, r->cf) 53 #define n_IsZero_RingGeneral(n, r) r->cf->cfIsZero(n, r->cf) 54 #define n_Equal_RingGeneral(n1, n2, r) r->cf->cfEqual(n1, n2, r->cf) 55 #define n_Neg_RingGeneral(n, r) r->cf->cfNeg(n, r->cf) 56 #define n_Sub_RingGeneral(n1, n2, r) r->cf->cfSub(n1, n2, r->cf) 57 57 //#define n_InpMult_RingGeneral(n1, n2, r) r->cf->nInpMult(n1, n2, r->cf) 58 58 #define n_InpMult_RingGeneral(n1, n2, r) ndInpMult(n1, n2, r->cf) 59 #define n_InpAdd_RingGeneral(n1, n2, r) n 1=ndInpAdd(n1, n2, r->cf)59 #define n_InpAdd_RingGeneral(n1, n2, r) ndInpAdd(n1, n2, r->cf) 60 60 #endif 61 61 … … 85 85 #define n_Sub_FieldQ(n1, n2, r) nlSub(n1, n2, r->cf) 86 86 #define n_InpMult_FieldQ(n1, n2, r) nlInpMult(n1, n2, r->cf) 87 #define n_InpAdd_FieldQ(n1, n2, r) n 1=nlInpAdd(n1, n2, r->cf)87 #define n_InpAdd_FieldQ(n1, n2, r) nlInpAdd(n1, n2, r->cf) 88 88 #endif -
libpolys/polys/templates/p_Procs.h
r83f55f r78eba1 12 12 #ifndef P_PROCS_H 13 13 #define P_PROCS_H 14 #include <polys/monomials/ring.h> 14 15 // #include <polys/structs.h> 15 16 -
libpolys/polys/templates/p_Procs_Lib.cc
r83f55f r78eba1 26 26 #include <polys/templates/p_MemAdd.h> 27 27 #include <polys/templates/p_MemCopy.h> 28 //#include <polys/kbuckets.h>28 #include <polys/kbuckets.h> 29 29 30 30 #include "p_Procs.inc" -
libpolys/polys/templates/pp_Mult_nn__T.cc
r83f55f r78eba1 40 40 number nc = pGetCoeff(p); 41 41 number tmp = n_Mult__T(n, nc, r); 42 if (! n IsZero(tmp))42 if (! n_IsZero__T(tmp,r)) 43 43 { 44 44 p_AllocBin(pNext(q), bin, r);
Note: See TracChangeset
for help on using the changeset viewer.