Changes between Initial Version and Version 1 of Ticket #30181


Ignore:
Timestamp:
07/30/20 20:02:18 (4 months ago)
Author:
mkoeppe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30181

    • Property Authors changed from to Matthias Koeppe
  • Ticket #30181 – Description

    initial v1  
    33In analogy to `sage.modules.FreeModuleElement` and `sage.matrix.Matrix`, a method `set_immutable()` should be added.
    44
     5In 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
     7The 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.)