Changeset 675c62c in git for factory/facHensel.cc
 Timestamp:
 Mar 21, 2013, 12:13:33 PM (10 years ago)
 Branches:
 (u'jengelhdatetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '2234726c50d679d6664181a5c72f75a6fd64a787')
 Children:
 db6e7a98045a733d7ba595de0942788d4be78d4e
 Parents:
 70bf04b2c457945aee9cb5bd27b38d416f07691e
 gitauthor:
 Martin Lee <martinlee84@web.de>20130321 12:13:33+01:00
 gitcommitter:
 Martin Lee <martinlee84@web.de>20130322 15:54:21+01:00
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

factory/facHensel.cc
r70bf04b r675c62c 2145 2145 M (j + 2, 1)= mulMod (bufFactors[0] [j + 1], bufFactors[1] [j + 1], MOD); 2146 2146 } 2147 else 2148 M (j + 1, 1)= 0; 2149 2147 2150 CanonicalForm uIZeroJ; 2148 2149 2151 if (degBuf0 > 0 && degBuf1 > 0) 2150 2152 uIZeroJ= mulMod (bufFactors[0] [0], buf[1], MOD) + 2151 2153 mulMod (bufFactors[1] [0], buf[0], MOD); 2152 2154 else if (degBuf0 > 0) 2153 uIZeroJ= mulMod (buf[0], bufFactors[1], MOD); 2155 uIZeroJ= mulMod (buf[0], bufFactors[1], MOD) + 2156 mulMod (buf[1], bufFactors[0][0], MOD); 2154 2157 else if (degBuf1 > 0) 2155 uIZeroJ= mulMod (bufFactors[0], buf[1], MOD); 2158 uIZeroJ= mulMod (bufFactors[0], buf[1], MOD) + 2159 mulMod (buf[0], bufFactors[1][0], MOD); 2156 2160 else 2157 uIZeroJ= 0; 2161 uIZeroJ= mulMod (bufFactors[0], buf[1], MOD) + 2162 mulMod (buf[0], bufFactors[1], MOD); 2158 2163 Pi [0] += xToJ*uIZeroJ; 2159 2164 … … 2237 2242 MOD); 2238 2243 } 2244 else 2245 M (j + 1, l + 1)= 0; 2239 2246 2240 2247 if (degPi > 0 && degBuf > 0) 2241 uIZeroJ= mulMod (Pi[l  1] [0], buf[l + 1], MOD) +2242 mulMod (uIZeroJ, bufFactors[l +1] [0], MOD);2248 uIZeroJ= mulMod (Pi[l  1] [0], buf[l + 1], MOD) + 2249 mulMod (uIZeroJ, bufFactors[l + 1] [0], MOD); 2243 2250 else if (degPi > 0) 2244 uIZeroJ= mulMod (uIZeroJ, bufFactors[l + 1], MOD); 2251 uIZeroJ= mulMod (uIZeroJ, bufFactors[l + 1], MOD) + 2252 mulMod (Pi[l  1][0], buf[l + 1], MOD); 2245 2253 else if (degBuf > 0) 2246 uIZeroJ= mulMod (Pi[l  1], buf[l + 1], MOD); 2247 else 2248 uIZeroJ= 0; 2254 uIZeroJ= mulMod (Pi[l  1], buf[l + 1], MOD) + 2255 mulMod (uIZeroJ, bufFactors[l + 1][0], MOD); 2256 else 2257 uIZeroJ= mulMod (Pi[l  1], buf[l + 1], MOD) + 2258 mulMod (uIZeroJ, bufFactors[l + 1], MOD); 2249 2259 2250 2260 Pi [l] += xToJ*uIZeroJ;
Note: See TracChangeset
for help on using the changeset viewer.