Opened 7 years ago

Last modified 7 years ago

#18099 closed enhancement

Prepare linear_code for inheritance — at Initial Version

Reported by: dlucas Owned by:
Priority: major Milestone: sage-6.6
Component: coding theory Keywords: sd66
Cc: jsrn, ncohen Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

For now, every family of linear code (eg: Hamming code) is a method which returns a LinearCode object. It would be nice to change this: every family of code should be an object.

Because most codes share parameters (like length) it could be a good idea to do several parameter assignements in a specific method which be be called by each subclass to automatically do these assignements.

Besides, a linear code gets his base_ring using the base_ring() method from vector spaces. Linear codes should have their own method to do that.

Change History (0)

Note: See TracTickets for help on using tickets.