Changes between Initial Version and Version 1 of Ticket #30181
- Timestamp:
- 07/30/20 20:02:18 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30181
-
Property
Authors
changed from
to
Matthias Koeppe
-
Property
Authors
changed from
-
Ticket #30181 – Description
initial v1 3 3 In analogy to `sage.modules.FreeModuleElement` and `sage.matrix.Matrix`, a method `set_immutable()` should be added. 4 4 5 In this ticket, we do this by creating a subclass `ModuleElementWithMutability` of `ModuleElement`. The existing classes `Vector` (and thus `FreeModuleElement` from `sage.modules`) and `FreeModuleTensor` (from `sage.tensor`) are changed to subclass it. 6 7 The methods from `FreeModuleElement` implementing mutability are moved to `ModuleElementWithMutability` and become available for `FreeModuleTensor` in this way. (The class `Vector` also gets them for free.)