计算机科学 > 离散数学
[提交于 2018年9月19日 (v1),最后修订于 2019年12月20日 (此版本, v3)]
标题:Characteristic vector and weight distribution of a linear code
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We develop an algorithm for computing the weight distribution of a linear $[n,k]$ code over a finite field $\mathbb{F}_q$. We represent the codes by their characteristic vector with respect to a given generator matrix and a special type of a generator matrix of the k-dimensional simplex code. This characteristic vector is the input data of our algorithms. The complexity of the presented algorithms is O(kq^k).