galois.ReedSolomon.__str__() str

A formatted string with relevant properties of the Reed-Solomon code.

Examples

In [1]: rs = galois.ReedSolomon(15, 9)

In [2]: print(rs)
Reed-Solomon Code:
  [n, k, d]: [15, 9, 7]
  field: GF(2^4)
  generator_poly: x^6 + 7x^5 + 9x^4 + 3x^3 + 12x^2 + 10x + 12
  is_narrow_sense: True
  is_systematic: True
  t: 3