size C
Given a linear code C of dimension $k$ over a Galois field with $q$ elements, returns the number of codewords in C, which is $q^k$.
This method is provided by the package CodingTheory.
|
|
|
|
|
|
|
|
The next example illustrates how to use this function for the class of Evaluation Codes.
|
|
The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/CodingTheory.m2:4268:0.