Remove _gens from LinearCode
Issue #54
resolved
It is stupid. And look through the uses of LinearCode.gens() if we shouldn't replace it directly with use of the generator matrix and take its rows.
Comments (3)
-
reporter -
reporter There might be some Sage-space-convention reason for having either
gens()
orbasis()
or both. I mean, maybe by convention all spaces for which such a notion makes sense should support those two functions. We should check that out. But that still doesn't mean that self._gens needs to be cached. -
repo owner - changed status to resolved
Done.
- Log in to comment
LinearCode.basis()
is another function doing the same thing.