-
-
Notifications
You must be signed in to change notification settings - Fork 514
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
Common base class for FiniteRankFreeModule and TensorFreeModule #34424
Comments
comment:1
I'd just call it |
comment:3
Here's a basic version that works. Some more of the methods can probably be moved to New commits:
|
Commit: |
Author: Matthias Koeppe |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:7
Thanks for implementing this! Replying to @mkoeppe:
Sounds good to me. |
comment:8
Just one suggestion: in the docstring of - Free module of finite rank over a commutative ring.
+ Abstract base class for free modules of finite rank over a commutative ring. Otherwise, LGTM. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Reviewer: Eric Gourgoulhon |
comment:10
Thanks! |
comment:11
Thank you! |
Dependencies: #31276 |
comment:12
When merged with #31276, this gives a doctest failure |
Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. New commits:
|
comment:14
Bots are green, back to positive review (hoping that's OK) |
Changed branch from u/mkoeppe/common_base_class_for_finiterankfreemodule_and_tensorfreemodule to |
…on a FiniteRankFreeModule After sagemath#34424 (merged in Sage 9.7.rc0), the documentation of `TensorFreeModule`, `ExtPowerFreeModule` and `ExtPowerDualFreeModule` should say that these classes inherit from `FiniteRankFreeModule_abstract`, not `FiniteRankFreeModule`. URL: https://trac.sagemath.org/34792 Reported by: egourgoulhon Ticket author(s): Eric Gourgoulhon Reviewer(s): Matthias Koeppe
Currently
TensorFreeModule
(and similar classes) inherits many methods fromFiniteRankFreeModule
that actually only work with the base module.Trying to use them leads to incomprehensible error messages. For example:
As discussed in #30229 comment:6, we introduce a common base class that only defines the methods that should be inherited by
TensorFreeModule
and other such classes.Depends on #31276
CC: @egourgoulhon @tscrim
Component: linear algebra
Author: Matthias Koeppe
Branch/Commit:
451ebe5
Reviewer: Eric Gourgoulhon
Issue created by migration from https://trac.sagemath.org/ticket/34424
The text was updated successfully, but these errors were encountered: