Changeset f7a975 in git
- Timestamp:
- Apr 8, 2011, 12:13:42 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
- Children:
- 9959c4523c38de5512e2a1bcc348be2677981317
- Parents:
- 4021bbf45258a9c11212461e6d5de35fed6c4aac
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-04-08 12:13:42+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:04:21+01:00
- Location:
- libpolys/polys
- Files:
-
- 11 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/ext_fields/longalg.cc
r4021bb rf7a975 17 17 #include <coeffs/numbers.h> 18 18 #include <polys/polys.h> 19 #include <polys/ ideals.h>19 #include <polys/simpleideals.h> 20 20 #include <polys/monomials/ring.h> 21 21 #ifdef HAVE_FACTORY -
libpolys/polys/ideals.h
r4021bb rf7a975 9 9 */ 10 10 // #include <kernel/structs.h> 11 12 #include <polys/monomials/ring.h>13 14 struct sip_sideal15 {16 poly* m;17 long rank;18 int nrows;19 int ncols;20 #define IDELEMS(i) ((i)->ncols)21 #define MATCOLS(i) ((i)->ncols)22 #define MATROWS(i) ((i)->nrows)23 #define MATELEM(mat,i,j) ((mat)->m)[MATCOLS((mat)) * ((i)-1) + (j)-1]24 25 };26 27 struct sip_smap28 {29 poly *m;30 char *preimage;31 int nrows;32 int ncols;33 };34 35 class ip_smatrix;36 typedef ip_smatrix * matrix;37 38 struct sideal_list;39 typedef struct sideal_list * ideal_list;40 41 struct sideal_list42 {43 ideal_list next;44 ideal d;45 #ifndef NDEBUG46 int nr;47 #endif48 };49 11 50 12 //typedef struct sip_sideal * ideal; … … 124 86 125 87 BOOLEAN idIs0 (ideal h); 126 127 long idRankFreeModule(ideal m, ring lmRing, ring tailRing);128 129 static inline long idRankFreeModule(ideal m, ring r){ return idRankFreeModule(m, r, r); }130 88 131 89 // returns TRUE, if idRankFreeModule(m) > 0 -
libpolys/polys/kbuckets.cc
r4021bb rf7a975 115 115 116 116 omCheckAddrBin(bucket, kBucket_bin); 117 if (bucket->bucket_ring!=currRing)118 {119 rTest(bucket->bucket_ring);120 }121 117 assume(bucket->buckets_used <= MAX_BUCKET); 122 118 if (! kbTest_i(bucket, 0)) return FALSE; -
libpolys/polys/monomials/p_polys.cc
r4021bb rf7a975 21 21 22 22 #include <polys/weight.h> 23 #include <polys/ ideals.h>23 #include <polys/simpleideals.h> 24 24 25 25 #include <polys/monomials/ring.h> -
libpolys/polys/monomials/ring.cc
r4021bb rf7a975 24 24 #include <polys/ext_fields/longtrans.h> 25 25 #include <coeffs/ffields.h> 26 // #include <???/ideals.h>27 26 #include <polys/monomials/ring.h> 28 27 #include <polys/monomials/maps.h> … … 32 31 33 32 #include <polys/matpol.h> 34 #include <polys/ideals.h>35 33 36 34 #ifdef HAVE_PLURAL … … 4128 4126 Print(" limit %d\n",r->typ[j].data.is.limit); 4129 4127 #ifndef NDEBUG 4130 PrintS(" F: ");idShow(r->typ[j].data.is.F, r, r, 1);4128 //PrintS(" F: ");idShow(r->typ[j].data.is.F, r, r, 1); 4131 4129 #endif 4132 4130 … … 4454 4452 res->qideal= idrCopyR_NoSort(r->qideal, r, res); 4455 4453 4456 assume(id RankFreeModule(res->qideal, res) == 0);4454 assume(id_RankFreeModule(res->qideal, res) == 0); 4457 4455 4458 4456 #ifdef HAVE_PLURAL … … 4464 4462 4465 4463 #endif 4466 assume(id RankFreeModule(res->qideal, res) == 0);4464 assume(id_RankFreeModule(res->qideal, res) == 0); 4467 4465 } 4468 4466 … … 4867 4865 res->qideal= idrCopyR_NoSort(r->qideal, r, res); 4868 4866 4869 assume(id RankFreeModule(res->qideal, res) == 0);4867 assume(id_RankFreeModule(res->qideal, res) == 0); 4870 4868 4871 4869 #ifdef HAVE_PLURAL … … 4877 4875 4878 4876 #endif 4879 assume(id RankFreeModule(res->qideal, res) == 0);4877 assume(id_RankFreeModule(res->qideal, res) == 0); 4880 4878 } 4881 4879 -
libpolys/polys/nc/gring.cc
r4021bb rf7a975 28 28 #include <kernel/polys.h> 29 29 #include <kernel/numbers.h> 30 #include < kernel/ideals.h>30 #include <polys/simpleideals.h> 31 31 #include <kernel/matpol.h> 32 32 #include <kernel/kbuckets.h> -
libpolys/polys/nc/sca.cc
r4021bb rf7a975 34 34 #include <kernel/p_polys.h> 35 35 #include <kernel/kutil.h> 36 #include < kernel/ideals.h>36 #include <polys/simpleideals.h> 37 37 #include <kernel/intvec.h> 38 38 #include <kernel/polys.h> -
libpolys/polys/operations/p_Mult_q.cc
r4021bb rf7a975 71 71 pAssume1(! pHaveCommonMonoms(p, q)); 72 72 #ifdef HAVE_RINGS 73 assume(!rField_is_Ring( currRing));73 assume(!rField_is_Ring(r)); 74 74 #endif 75 75 assume(lp >= 1 && lq >= 1); -
libpolys/polys/simpleideals.cc
r4021bb rf7a975 8 8 9 9 /* includes */ 10 #include <kernel/mod2.h>11 12 #ifndef NDEBUG13 # define MYTEST 014 #else /* ifndef NDEBUG */15 # define MYTEST 116 #endif /* ifndef NDEBUG */17 18 #include <kernel/options.h>19 #include <omalloc/omalloc.h>20 #include <kernel/febase.h>21 #include <kernel/numbers.h>22 #include <kernel/longrat.h>23 #include <kernel/polys.h>24 #include <kernel/ring.h>25 #include <kernel/kstd1.h>26 #include <kernel/matpol.h>27 #include <kernel/weight.h>28 #include <kernel/intvec.h>29 #include <kernel/syz.h>30 #include <kernel/sparsmat.h>31 #include <kernel/ideals.h>32 #include <kernel/prCopy.h>33 #include <kernel/gring.h>34 35 36 omBin sip_sideal_bin = omGetSpecBin(sizeof(sip_sideal));37 38 /* #define WITH_OLD_MINOR */39 #define pCopy_noCheck(p) pCopy(p)40 41 static poly * idpower;42 /*collects the monomials in makemonoms, must be allocated befor*/43 static int idpowerpoint;44 /*index of the actual monomial in idpower*/45 static poly * givenideal;46 /*the ideal from which a power is computed*/47 48 /*0 implementation*/49 10 50 11 /*2 -
libpolys/polys/simpleideals.h
r4021bb rf7a975 9 9 */ 10 10 #include <polys/monomials/ring.h> 11 12 struct sip_sideal 13 { 14 poly* m; 15 long rank; 16 int nrows; 17 int ncols; 18 #define IDELEMS(i) ((i)->ncols) 19 #define MATCOLS(i) ((i)->ncols) 20 #define MATROWS(i) ((i)->nrows) 21 #define MATELEM(mat,i,j) ((mat)->m)[MATCOLS((mat)) * ((i)-1) + (j)-1] 22 23 }; 24 25 struct sip_smap 26 { 27 poly *m; 28 char *preimage; 29 int nrows; 30 int ncols; 31 }; 32 33 class ip_smatrix; 34 typedef ip_smatrix * matrix; 35 36 struct sideal_list; 37 typedef struct sideal_list * ideal_list; 38 39 struct sideal_list 40 { 41 ideal_list next; 42 ideal d; 43 #ifndef NDEBUG 44 int nr; 45 #endif 46 }; 11 47 12 48 #ifdef PDEBUG -
libpolys/polys/templates/p_Procs_Dynamic.cc
r4021bb rf7a975 11 11 #include "polys/config.h" 12 12 // #include <polys/structs.h> 13 #include <polys/p_polys.h>14 13 #include <polys/monomials/ring.h> 14 #include <polys/monomials/p_polys.h> 15 15 #include <polys/p_Procs.h> 16 16 #include <polys/p_Numbers.h> -
libpolys/polys/templates/p_Procs_Static.cc
r4021bb rf7a975 11 11 #include "polys/config.h" 12 12 // #include <polys/structs.h> 13 #include <polys/p_polys.h>14 13 #include <polys/monomials/ring.h> 14 #include <polys/monomials/p_polys.h> 15 15 #include <polys/p_Procs.h> 16 16 #include <polys/p_Numbers.h>
Note: See TracChangeset
for help on using the changeset viewer.