Generalized Reed-Solomon Codes

Generalized Reed-Solomon codes are a subtype of LinearCode and inherit its methods.

Constructors

CodingTheory.GeneralizedReedSolomonCodeType
GeneralizedReedSolomonCode(k::Int, v::Vector{fq_nmod}, γ::Vector{fq_nmod})

Return the dimension k Generalized Reed-Solomon code with scalars v and evaluation points γ.

Notes

  • The vectors v and γ must have the same length and every element must be over the same field.
  • The elements of v need not be distinct but must be nonzero.
  • The elements of γ must be distinct.
source

Attributes

CodingTheory.scalarsFunction
scalars(C::GeneralizedReedSolomonCode)

Return the scalars v of the Generalized Reed-Solomon code C.

source
CodingTheory.dual_scalarsFunction
dual_scalars(C::GeneralizedReedSolomonCode)

Return the scalars of the dual of the Generalized Reed-Solomon code C.

source

Methods