code: def rs_generator_poly_all(max_nsym, fcr=0, generator=2):
      '''Generate all irreducible generator polynomials up to max_nsym (usually you can use n, the length of the message+ecc). Very useful to reduce processing time if you want to encode using variable schemes and nsym rates.'''
      g_all = {}
      g_all[0] = g_all[1] = [1]
      for nsym in xrange(max_nsym):
          g_all[nsym] = rs_generator_poly(nsym, fcr, generator)
      return g_alf rs_generator_poly_all(max_nsym, fcr=0, generator=2):
      '''Generate all irreducible generator polynomials up to max_nsym (usually you can use n, the length of the message+ecc). Very useful to reduce processing time if you want to encode using variable schemes and nsym rates.'''
      g_all = {}
      g_all[0] = g_all[1] = [1]
      for nsym in xrange(max_nsym):
          g_all[nsym] = rs_generator_poly(nsym, fcr, generator)
      return g_all
docs: Generate all irreducible generator polynomials up to max_nsym (usually you can use n, the length of the message+ecc). Very useful to reduce processing time if you want to encode using variable schemes and nsym rates.