Commit 3531a87
Release Manager
gh-39733: Make rational matrix rref default to flint_multimodular, add suboptions for flint algorithm
Because one of the algorithms used by flint is multimodular, it ought to
be faster than the implementation in Python.
At least after we upgrade to a version after
flintlib/flint#2129 .
(p/s: if someone uses the old version, the current choice of flint might
be slower in some cases, see the linked issue. An alternative which is
likely always faster is to explicitly use the multimodular algorithm in
flint. Do you think the current implementation is fine, or should we
provide an explicit `flint_multimodular` option instead?)
Fixes #39197
### 📝 Checklist
<!-- Put an `x` in all the boxes that apply. -->
- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [ ] I have created tests covering the changes.
- [ ] I have updated the documentation and checked the documentation
preview.
### ⌛ Dependencies
<!-- List all open PRs that this PR logically depends on. For example,
-->
<!-- - #12345: short description why this is a dependency -->
<!-- - #34567: ... -->
#39204
URL: #39733
Reported by: user202729
Reviewer(s): Travis Scrimshaw
2 files changed
+71
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1499 | 1499 | | |
1500 | 1500 | | |
1501 | 1501 | | |
1502 | | - | |
| 1502 | + | |
1503 | 1503 | | |
1504 | | - | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
| 1507 | + | |
| 1508 | + | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
1505 | 1514 | | |
1506 | 1515 | | |
1507 | 1516 | | |
1508 | | - | |
1509 | | - | |
1510 | | - | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
1511 | 1520 | | |
1512 | 1521 | | |
1513 | 1522 | | |
1514 | 1523 | | |
1515 | | - | |
| 1524 | + | |
1516 | 1525 | | |
1517 | 1526 | | |
1518 | 1527 | | |
1519 | | - | |
| 1528 | + | |
1520 | 1529 | | |
1521 | 1530 | | |
1522 | 1531 | | |
| |||
1548 | 1557 | | |
1549 | 1558 | | |
1550 | 1559 | | |
1551 | | - | |
| 1560 | + | |
| 1561 | + | |
1552 | 1562 | | |
1553 | 1563 | | |
1554 | 1564 | | |
| |||
1560 | 1570 | | |
1561 | 1571 | | |
1562 | 1572 | | |
1563 | | - | |
1564 | | - | |
1565 | | - | |
1566 | | - | |
| 1573 | + | |
1567 | 1574 | | |
1568 | | - | |
1569 | | - | |
| 1575 | + | |
| 1576 | + | |
1570 | 1577 | | |
1571 | 1578 | | |
1572 | 1579 | | |
| |||
1656 | 1663 | | |
1657 | 1664 | | |
1658 | 1665 | | |
1659 | | - | |
| 1666 | + | |
1660 | 1667 | | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
1661 | 1672 | | |
1662 | 1673 | | |
1663 | 1674 | | |
1664 | | - | |
| 1675 | + | |
1665 | 1676 | | |
1666 | 1677 | | |
1667 | 1678 | | |
1668 | 1679 | | |
1669 | 1680 | | |
1670 | 1681 | | |
1671 | 1682 | | |
1672 | | - | |
| 1683 | + | |
1673 | 1684 | | |
1674 | 1685 | | |
1675 | 1686 | | |
| |||
1678 | 1689 | | |
1679 | 1690 | | |
1680 | 1691 | | |
| 1692 | + | |
| 1693 | + | |
| 1694 | + | |
| 1695 | + | |
1681 | 1696 | | |
| 1697 | + | |
| 1698 | + | |
1682 | 1699 | | |
1683 | 1700 | | |
1684 | | - | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
| 1705 | + | |
| 1706 | + | |
| 1707 | + | |
| 1708 | + | |
| 1709 | + | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
| 1723 | + | |
| 1724 | + | |
| 1725 | + | |
1685 | 1726 | | |
1686 | 1727 | | |
1687 | 1728 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
209 | | - | |
| 208 | + | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
| 217 | + | |
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
234 | 239 | | |
235 | 240 | | |
236 | 241 | | |
| |||
0 commit comments