Changeset 6deedd in git for factory/facFqFactorizeUtil.cc
- Timestamp:
- Nov 29, 2011, 2:33:18 PM (11 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 91788c087460478b3feb0c0461c30cb0383129fe
- Parents:
- 7efef7a73060a49677b3bcf2172e9cdb3b4d76a8
- git-author:
- Martin Lee <martinlee84@web.de>2011-11-29 14:33:18+01:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-12-12 18:00:42+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/facFqFactorizeUtil.cc
r7efef7 r6deedd 128 128 } 129 129 130 CanonicalForm shift2Zero (const CanonicalForm& F, CFList& Feval, const CFList& evaluation )130 CanonicalForm shift2Zero (const CanonicalForm& F, CFList& Feval, const CFList& evaluation, int l) 131 131 { 132 132 CanonicalForm A= F; 133 int k= A.level();133 int k= evaluation.length() + l - 1; 134 134 for (CFListIterator i= evaluation; i.hasItem(); i++, k--) 135 135 A= A (Variable (k) + i.getItem(), k); … … 145 145 } 146 146 147 CanonicalForm reverseShift (const CanonicalForm& F, const CFList& evaluation )147 CanonicalForm reverseShift (const CanonicalForm& F, const CFList& evaluation, int l) 148 148 { 149 int l= evaluation.length() +1;149 int k= evaluation.length() + l - 1; 150 150 CanonicalForm result= F; 151 151 CFListIterator j= evaluation; 152 for (int i= l; i > 1; i--, j++)152 for (int i= k; j.hasItem() && (i > l - 1); i--, j++) 153 153 { 154 154 if (F.level() < i)
Note: See TracChangeset
for help on using the changeset viewer.