galois.BCH.__str__() str

A formatted string with relevant properties of the BCH code.

Examples

In [1]: bch = galois.BCH(15, 7)

In [2]: print(bch)
BCH Code:
  [n, k, d]: [15, 7, 5]
  field: GF(2)
  generator_poly: x^8 + x^7 + x^6 + x^4 + 1
  is_primitive: True
  is_narrow_sense: True
  is_systematic: True
  t: 2