-
-
Notifications
You must be signed in to change notification settings - Fork 565
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
Matrix should not inherit from AlgebraElement #804
Comments
comment:1
Maybe now is a good time to do it? Cheers, Michael |
comment:2
What are the reasons for the change in organization? |
comment:4
The reason for the change is that not all matrices are Algebra Elements. |
comment:5
What should it inherit from instead? This is a naive question, but perhaps someone with not much skill but much patience could fix this :) |
comment:6
ModuleElement |
Branch: u/pbruin/804-Matrix_inheritance |
comment:11
Given that this ticket has been open for more than seven years, it turned out to be surprisingly straightforward. There is one small simplification: |
Author: Peter Bruin |
Commit: |
This comment has been minimized.
This comment has been minimized.
comment:12
Wow, nice necromancy! Dumb question - any other translations of tutorials have this bit which would need to be translated? |
comment:13
Replying to @kcrisman:
It seems not; |
comment:14
Interesting - apparently that must have been added after the other translations were made. |
comment:16
Replying to @videlec:
I think you are. Everywhere in Sage, matrices and vectors are assumed to have coefficients in some base ring. This would probably be much harder to change than the inheritance issue addressed in this ticket. If enough people want tropical matrices, then it seems we need new classes |
comment:18
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Reviewer: Luis Felipe Tabera Alonso |
comment:21
Looks good to me. I also think that tropical matrices should have their own classes. My copy did not compile against 6.3.beta3 but was probably more an issue with the beta since it failed before attempting to build the sage library. With 6.3.beta5 it works like a charm. |
Changed branch from u/pbruin/804-Matrix_inheritance to |
This ticket makes
Matrix
only inherit fromModuleElement
.Warning: it will cause practically all Cython files to be rebuilt.
See also #15215 (duplicate of this ticket).
CC: @jasongrout @pjbruin
Component: linear algebra
Keywords: AlgebraElement, Matrix
Author: Peter Bruin
Branch/Commit:
05c7c30
Reviewer: Luis Felipe Tabera Alonso
Issue created by migration from https://trac.sagemath.org/ticket/804
The text was updated successfully, but these errors were encountered: