-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define is_homogeneous for MPolyRingElem #1649
base: master
Are you sure you want to change the base?
Conversation
Tests not passing |
Did you discuss this with the Geometry crowd? There might be a reason this function did not exist ... (other than oversight) |
It didn't occur to me, given that it is already part of the AA documentation which promises it as being available for all MPolyRingElem subtypes. To quote
But sure, we can discuss it -- CC @ederc @wdecker @jankoboehm @simonbrandhorst @afkafkafk13 (I probably forgot someone, sorry) |
de4a969
to
496bc96
Compare
To be clear, I think the question here is whether we should keep exporting I note that in Oscar, there is also a function |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1649 +/- ##
=======================================
Coverage 86.75% 86.75%
=======================================
Files 114 114
Lines 29660 29659 -1
=======================================
Hits 25731 25731
+ Misses 3929 3928 -1 ☔ View full report in Codecov by Sentry. |
I of course forgot to tag @HechtiDerLachs sorry! |
We discussed this a bit and would suggest that we have (to avoid confusion with the OSCAR function) is_homogeneous with two required arguments, polynomial and weight vector and a convenience function is_standard_homogeneous for a polynomial to cover the typical use case. That would also capture the setting we can realize here. Would that be fine? |
Just a random comment: Maybe Also, we could make |
This does not make it more understandable. You still need to know what the 'standard' refers to, if you want to make sense of suggested completion.
I am very much in favour of this suggestion. The error message should state that the user could either specify a grading or use 'is_standard_homogeneous' (or whatever name it bears at that moment). |
No description provided.