-
-
Notifications
You must be signed in to change notification settings - Fork 480
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
Add construction methods to FiniteRankFreeModule, CombinatorialFreeModule and Cartesian products #30235
Comments
New commits:
|
Commit: |
Dependencies: #30194 |
This comment has been minimized.
This comment has been minimized.
comment:5
Setting new milestone based on a cursory review of ticket status, priority, and last modification date. |
Changed branch from u/mkoeppe/add_construction_methods_to_finiterankfreemodule_and_combinatorialfreemodule to none |
Changed commit from |
Changed dependencies from #30194 to none |
New commits:
|
Author: Matthias Koeppe |
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:13
We will need to be really careful with this because lots of classes are subclasses of However, I am generally +1 on doing this. There is a ticket out there on implementing extension of scalars, and this would be a step towards doing that generically by being able to implement pushouts. |
comment:45
Tests pass, the pyright crash is unrelated; needs review |
comment:46
While the subclass for the construction version is the proper way to do it, I am not sure how much of a hassle it will create long-term once we have a more general way to do constructions for things that subclass CFM. The hack way would be def construction(self):
if self.__class__.__mro__[1] == CombinatorialFreeModule:
return VectorFunctor(...)
return super().construction() (We cannot to One thing that does need to be changed is that we will have two |
comment:47
Another hackish way would be to assign |
comment:48
Replying to @mkoeppe:
Indeed, although I think that is even more of a hack since it is doing stuff non-locally (to the method). |
comment:49
I don't have an objection to using |
comment:50
I'm making this change now. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Reviewer: Travis Scrimshaw |
comment:53
I think this is acceptable. Éric, do you have any comments? |
comment:54
Replying to @tscrim:
No, I don't. This is mostly beyond my knowledge, but thanks for asking ;-) |
comment:55
Then let it be so. |
comment:56
Thanks! |
Changed branch from u/mkoeppe/add_construction_methods_to_finiterankfreemodule_and_combinatorialfreemodule to |
(follow-up from #30194)
... extending
sage.categories.pushout.VectorFunctor
for example:
CC: @tscrim @egourgoulhon @fchapoton @nthiery
Component: linear algebra
Author: Matthias Koeppe
Branch/Commit:
3f44174
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/30235
The text was updated successfully, but these errors were encountered: