Generalization of a class of two-weight and three-weight linear codes
Let p be an odd prime and Fp denotes a finite field with p elements.In this paper,we use knowledge such as Gaussian exponents and Pless power identities over finite fields to obtain a class of two-weight and three-weight linear codes,and determine the weight distribution of this class of linear codes.
linear codeweight distributionGaussian sumsoptimal code