Changeset e54c6ee in git for libpolys/polys/monomials/ring.h
- Timestamp:
- Aug 16, 2016, 10:47:22 AM (8 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38dfc5131670d387a89455159ed1e071997eec94')
- Children:
- f8735a6f0fe51d2c1c11121c35982563485c2b25
- Parents:
- 3238c13e1d0da1d4c477894d1b70583f86f828f9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/monomials/ring.h
r3238c1 re54c6ee 72 72 ro_typ; 73 73 74 /// order stuff 75 typedef enum rRingOrder_t 76 { 77 ringorder_no = 0, 78 ringorder_a, 79 ringorder_a64, ///< for int64 weights 80 ringorder_c, 81 ringorder_C, 82 ringorder_M, 83 ringorder_S, ///< S? 84 ringorder_s, ///< s? 85 ringorder_lp, 86 ringorder_dp, 87 ringorder_rp, 88 ringorder_Dp, 89 ringorder_wp, 90 ringorder_Wp, 91 ringorder_ls, 92 ringorder_ds, 93 ringorder_Ds, 94 ringorder_ws, 95 ringorder_Ws, 96 ringorder_am, 97 ringorder_L, 98 // the following are only used internally 99 ringorder_aa, ///< for idElimination, like a, except pFDeg, pWeigths ignore it 100 ringorder_rs, ///< opposite of ls 101 ringorder_IS, ///< Induced (Schreyer) ordering 102 ringorder_unspec 103 } rRingOrder_t; 104 105 typedef enum rOrderType_t 106 { 107 rOrderType_General = 0, ///< non-simple ordering as specified by currRing 108 rOrderType_CompExp, ///< simple ordering, component has priority 109 rOrderType_ExpComp, ///< simple ordering, exponent vector has priority 110 ///< component not compatible with exp-vector order 111 rOrderType_Exp, ///< simple ordering, exponent vector has priority 112 ///< component is compatible with exp-vector order 113 rOrderType_Syz, ///< syzygy ordering 114 rOrderType_Schreyer, ///< Schreyer ordering 115 rOrderType_Syz2dpc, ///< syzcomp2dpc 116 rOrderType_ExpNoComp ///< simple ordering, differences in component are 117 ///< not considered 118 } rOrderType_t; 119 74 120 // ordering is a degree ordering 75 121 struct sro_dp … … 341 387 342 388 ring rDefault(int ch, int N, char **n); 343 ring rDefault(const coeffs cf, int N, char **n );389 ring rDefault(const coeffs cf, int N, char **n, const rRingOrder_t o=ringorder_lp); 344 390 ring rDefault(int ch, int N, char **n,int ord_size, int *ord, int *block0, int *block1, int **wvhdl=NULL); 345 391 ring rDefault(const coeffs cf, int N, char **n,int ord_size, int *ord, int *block0, int *block1, int **wvhdl=NULL); … … 660 706 661 707 662 /// order stuff663 typedef enum rRingOrder_t664 {665 ringorder_no = 0,666 ringorder_a,667 ringorder_a64, ///< for int64 weights668 ringorder_c,669 ringorder_C,670 ringorder_M,671 ringorder_S, ///< S?672 ringorder_s, ///< s?673 ringorder_lp,674 ringorder_dp,675 ringorder_rp,676 ringorder_Dp,677 ringorder_wp,678 ringorder_Wp,679 ringorder_ls,680 ringorder_ds,681 ringorder_Ds,682 ringorder_ws,683 ringorder_Ws,684 ringorder_am,685 ringorder_L,686 // the following are only used internally687 ringorder_aa, ///< for idElimination, like a, except pFDeg, pWeigths ignore it688 ringorder_rs, ///< opposite of ls689 ringorder_IS, ///< Induced (Schreyer) ordering690 ringorder_unspec691 } rRingOrder_t;692 693 typedef enum rOrderType_t694 {695 rOrderType_General = 0, ///< non-simple ordering as specified by currRing696 rOrderType_CompExp, ///< simple ordering, component has priority697 rOrderType_ExpComp, ///< simple ordering, exponent vector has priority698 ///< component not compatible with exp-vector order699 rOrderType_Exp, ///< simple ordering, exponent vector has priority700 ///< component is compatible with exp-vector order701 rOrderType_Syz, ///< syzygy ordering702 rOrderType_Schreyer, ///< Schreyer ordering703 rOrderType_Syz2dpc, ///< syzcomp2dpc704 rOrderType_ExpNoComp ///< simple ordering, differences in component are705 ///< not considered706 } rOrderType_t;707 708 708 static inline BOOLEAN rIsSyzIndexRing(const ring r) 709 709 { assume(r != NULL); assume(r->cf != NULL); return r->order[0] == ringorder_s;}
Note: See TracChangeset
for help on using the changeset viewer.