Changeset 6fcddc9 in git for libpolys/polys/nc/sca.h
- Timestamp:
- Nov 22, 2012, 10:20:13 PM (11 years ago)
- Branches:
- (u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
- Children:
- 96d505212a6d61ec4e31fe4f7c2e2044f89eb69eb3cd39575ad9cf110a22729b4ce72d7fef6726fdcadaf23fbd63bd8fb7aadb287ac4a983f63fb33c
- Parents:
- 30664c5b3e3d2f68b6afbb78f3f1798066c4f5b2
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-11-22 22:20:13+01:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-11-26 17:18:46+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/nc/sca.h
r30664c r6fcddc9 16 16 17 17 18 static inline unsigned int scaFirstAltVar(ring r)18 static inline short scaFirstAltVar(ring r) 19 19 { 20 20 assume(rIsSCA(r)); … … 23 23 } 24 24 25 static inline unsigned int scaLastAltVar(ring r)25 static inline short scaLastAltVar(ring r) 26 26 { 27 27 assume(rIsSCA(r)); … … 32 32 33 33 // The following inlines are just helpers for setup functions. 34 static inline void scaFirstAltVar(ring r, int n)34 static inline void scaFirstAltVar(ring r, short n) 35 35 { 36 36 assume(rIsSCA(r)); … … 39 39 } 40 40 41 static inline void scaLastAltVar(ring r, int n)41 static inline void scaLastAltVar(ring r, short n) 42 42 { 43 43 assume(rIsSCA(r)); … … 54 54 // this is not a basic operation... but it for efficiency we did it specially for SCA: 55 55 // return x_i * pPoly; preserve pPoly. 56 poly sca_pp_Mult_xi_pp( unsigned int i, const poly pPoly, const ring rRing);56 poly sca_pp_Mult_xi_pp(short i, const poly pPoly, const ring rRing); 57 57 58 58 ////////////////////////////////////////////////////////////////////////////////////// … … 134 134 // reduce polynomial p modulo <y_i^2> , i = iFirstAltVar .. iLastAltVar 135 135 poly p_KillSquares(const poly p, 136 const unsigned int iFirstAltVar, const unsigned int iLastAltVar,136 const short iFirstAltVar, const short iLastAltVar, 137 137 const ring r); 138 138 … … 143 143 // default - no skipping! 144 144 ideal id_KillSquares(const ideal id, 145 const unsigned int iFirstAltVar, const unsigned int iLastAltVar,145 const short iFirstAltVar, const short iLastAltVar, 146 146 const ring r, const bool bSkipZeroes = false); 147 147
Note: See TracChangeset
for help on using the changeset viewer.