Computes the Hamming weight of a list L, which is the number of its non-zero entries.
|
|
The object weight is a method function.
The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/CodingTheory.m2:3082:0.