Enabled poly ring caching in charpoly/minpoly (when no poly ring passed in)#1976
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1976 +/- ##
=======================================
Coverage 88.34% 88.34%
=======================================
Files 124 124
Lines 31404 31404
=======================================
Hits 27743 27743
Misses 3661 3661 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
I am sympathetic to this change, but it would mean fixing all It becomes also be a bit unergonomic to create characteristic polynomials without caching the parent of the polynomial. I wonder whether something like Happy to hear what others think. |
|
Some "thoughts" from discussion during triage (will add some more details later) Regarding the question of how much code we need to adjust library code calling this: we should first investigate this some more. @thofma suggested we could e.g. add the |
|
Also see oscar-system/Oscar.jl#4520 and oscar-system/Oscar.jl#4518 for previous discussion about this |
|
I think the rough plan from last time was to add a Now "someone" needs to do that. |
After discussion in triage meeting today: now
characteristic_polynomial(M) == characteristic_polynomial(M)works, and similarly forminpoly(M). The automatically created polynomial ring is cached. I also commented why caching is enabled.