Changeset 4dafdf in git for factory/facFqBivar.cc
- Timestamp:
- Mar 13, 2013, 4:26:54 PM (11 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 20203120e3f743bc2648a192a556dec455772b76
- Parents:
- 9614bba86831fbfed42ec2f8c377ccc1ec4d9582
- git-author:
- Martin Lee <martinlee84@web.de>2013-03-13 16:26:54+01:00
- git-committer:
- Martin Lee <martinlee84@web.de>2013-03-22 15:51:50+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/facFqBivar.cc
r9614bb r4dafdf 1482 1482 tmp1= factors.getFirst(); 1483 1483 tmp2= factors.getLast(); 1484 tmp1 *= LC (F, x); 1485 tmp1= mod (tmp1, yToL); 1484 tmp1= mulMod2 (tmp1, LC (F,x), yToL); 1486 1485 tmp1 /= content (tmp1, x); 1487 tmp2 *= LC (F, x); 1488 tmp2= mod (tmp2, yToL); 1486 tmp2= mulMod2 (tmp2, LC (F,x), yToL); 1489 1487 tmp2 /= content (tmp2, x); 1490 1488 tmp3 = tmp1*tmp2; … … 1524 1522 } 1525 1523 } 1526 buf *= LC (F, x); 1527 buf= mod (buf, yToL); 1524 buf= mulMod2 (buf, LC (F,x), yToL); 1528 1525 buf /= content (buf, x); 1529 1526 if (fdivides (buf, F, quot)) … … 1559 1556 tmp1= factors.getFirst(); 1560 1557 tmp2= factors.getLast(); 1561 tmp1 *= LC (F, x); 1562 tmp1= mod (tmp1, yToL); 1558 tmp1= mulMod2 (tmp1, LC (F,x), yToL); 1563 1559 tmp1 /= content (tmp1, x); 1564 tmp2 *= LC (F, x); 1565 tmp2= mod (tmp2, yToL); 1560 tmp2= mulMod2 (tmp2, LC (F,x), yToL); 1566 1561 tmp2 /= content (tmp2, x); 1567 1562 tmp3 = tmp1*tmp2; … … 1601 1596 } 1602 1597 } 1603 buf *= LC (F, x); 1604 buf= mod (buf, yToL); 1598 buf= mulMod2 (buf, LC (F,x), yToL); 1605 1599 buf /= content (buf, x); 1606 1600 if (fdivides (buf, F, quot)) … … 1637 1631 tmp1= factors.getFirst(); 1638 1632 tmp2= factors.getLast(); 1639 tmp1 *= LC (F, x); 1640 tmp1= mod (tmp1, yToL); 1633 tmp1= mulMod2 (tmp1, LC (F,x), yToL); 1641 1634 tmp1 /= content (tmp1, x); 1642 tmp2 *= LC (F, x); 1643 tmp2= mod (tmp2, yToL); 1635 tmp2= mulMod2 (tmp2, LC (F,x), yToL); 1644 1636 tmp2 /= content (tmp2, x); 1645 1637 tmp3 = tmp1*tmp2; … … 1679 1671 } 1680 1672 } 1681 buf *= LC (F, x); 1682 buf= mod (buf, yToL); 1673 buf= mulMod2 (buf, LC (F,x), yToL); 1683 1674 buf /= content (buf, x); 1684 1675 if (fdivides (buf, F, quot)) … … 1729 1720 } 1730 1721 } 1731 buf *= LC (F, x); 1732 buf= mod (buf, yToL); 1722 buf= mulMod2 (buf, LC (F,x), yToL); 1733 1723 buf /= content (buf, x); 1734 1724 if (fdivides (buf, F, quot)) … … 1781 1771 } 1782 1772 buf2= buf; 1783 buf *= LC (F, x); 1784 buf= mod (buf, yToL); 1773 buf= mulMod2 (buf, LC (F,x), yToL); 1785 1774 buf /= content (buf, x); 1786 1775 if (fdivides (buf, F, quot)) … … 1838 1827 } 1839 1828 } 1840 buf *= LC (F, x); 1841 buf= mod (buf, yToL); 1829 buf= mulMod2 (buf, LC (F,x), yToL); 1842 1830 buf /= content (buf, x); 1843 1831 buf2= buf (y-evaluation, y); … … 1919 1907 } 1920 1908 } 1921 buf *= LC (F, x); 1922 buf= mod (buf, yToL); 1909 buf= mulMod2 (buf, LC (F,x), yToL); 1923 1910 buf /= content (buf, x); 1924 1911 buf2= buf (y-evaluation, y); … … 1993 1980 } 1994 1981 } 1995 buf *= LC (F, x); 1996 buf= mod (buf, yToL); 1982 buf= mulMod2 (buf, LC (F,x), yToL); 1997 1983 buf /= content (buf, x); 1998 1984 if (fdivides (buf, F, quot)) … … 2044 2030 } 2045 2031 } 2046 buf *= LC (F, x); 2047 buf= mod (buf, yToL); 2032 buf= mulMod2 (buf, LC (F,x), yToL); 2048 2033 buf /= content (buf, x); 2049 2034 if (fdivides (buf, F, quot)) … … 2088 2073 tmp1= factors.getFirst(); 2089 2074 tmp2= factors.getLast(); 2090 tmp1 *= LC (F, x); 2091 tmp1= mod (tmp1, yToL); 2075 tmp1= mulMod2 (tmp1, LC (F,x), yToL); 2092 2076 tmp1 /= content (tmp1, x); 2093 tmp2 *= LC (F, x); 2094 tmp2= mod (tmp2, yToL); 2077 tmp2= mulMod2 (tmp2, LC (F,x), yToL); 2095 2078 tmp2 /= content (tmp2, x); 2096 2079 tmp3 = tmp1*tmp2; … … 2151 2134 } 2152 2135 } 2153 buf *= LC (F, x); 2154 buf= mod (buf, yToL); 2136 buf= mulMod2 (buf, LC (F,x), yToL); 2155 2137 buf /= content (buf, x); 2156 2138 buf2= buf (y - evaluation, y); … … 2220 2202 tmp1= factors.getFirst(); 2221 2203 tmp2= factors.getLast(); 2222 tmp1 *= LC (F, x); 2223 tmp1= mod (tmp1, yToL); 2204 tmp1= mulMod2 (tmp1, LC (F,x), yToL); 2224 2205 tmp1 /= content (tmp1, x); 2225 tmp2 *= LC (F, x); 2226 tmp2= mod (tmp2, yToL); 2206 tmp2= mulMod2 (tmp2, LC (F,x), yToL); 2227 2207 tmp2 /= content (tmp2, x); 2228 2208 tmp3 = tmp1*tmp2; … … 2283 2263 } 2284 2264 } 2285 buf *= LC (F, x); 2286 buf= mod (buf, yToL); 2265 buf= mulMod2 (buf, LC (F,x), yToL); 2287 2266 buf /= content (buf, x); 2288 2267 buf2= buf (y - evaluation, y);
Note: See TracChangeset
for help on using the changeset viewer.