Changes between Version 19 and Version 20 of Ticket #18099


Ignore:
Timestamp:
04/07/15 12:56:09 (7 years ago)
Author:
dlucas
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18099 – Description

    v19 v20  
    99
    1010implement an abstract class , `AbstractLinearCode`, which will initialize parameters used in every linear code, and make linear codes properly interact as modules in the category framework in its constructor. Besides, as all methods that were previously in linear codes need to work for all subfamilies of codes, we propose to relocate them as methods of `AbtractLinearCode`. With this design, every linear code and subfamily will only need to inherit from this abstract class to get all the generic methods and parameters initialized.
     11
     12Besides, linear codes get their `base_ring` method from their category. For better consistency, we propose to implement a `base_field()` method which will be specific to linear codes.
    1113