# Cyclic Codes

28 views

### GUSTAVO TERRA BASTOS

Jul 11, 2023, 4:10:34 AMJul 11
to sage-support
Hi !

I have been facing problems to describe cyclic codes over finite extension fields. It is easy to do with GF(p), but I can´t explicit codes over GF(p^m) (noticing all the mathematical background). Anyone could provide me an example?

Best,

### David Joyner

Jul 11, 2023, 4:13:49 AMJul 11
On Tue, Jul 11, 2023 at 4:10 AM GUSTAVO TERRA BASTOS <gtba...@ufsj.edu.br> wrote:
Hi !

I have been facing problems to describe cyclic codes over finite extension fields. It is easy to do with GF(p), but I can´t explicit codes over GF(p^m) (noticing all the mathematical background). Anyone could provide me an example?

I'm not sure what you mean by "describe" but the tutorial might help:

Best,

--
You received this message because you are subscribed to the Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.

### GUSTAVO TERRA BASTOS

Jul 11, 2023, 1:46:17 PMJul 11
to sage-support
Firstly I define the finite extension field and the generator polynomial. Then, when I try to define/describe the cyclic code using " Cc = codes.CyclicCode(generator_pol = g, length =n)"  I got the following message: 'sage.rings.finite_rings.element_givaro.FiniteField_givaroElement' object has no attribute 'degree'.

Best

### David Joyner

Jul 11, 2023, 1:59:17 PMJul 11
On Tue, Jul 11, 2023 at 1:46 PM GUSTAVO TERRA BASTOS <gtba...@ufsj.edu.br> wrote:
Firstly I define the finite extension field and the generator polynomial. Then, when I try to define/describe the cyclic code using " Cc = codes.CyclicCode(generator_pol = g, length =n)"  I got the following message: 'sage.rings.finite_rings.element_givaro.FiniteField_givaroElement' object has no attribute 'degree'.

Best

Em terça-feira, 11 de julho de 2023 às 05:13:49 UTC-3, David Joyner escreveu:
On Tue, Jul 11, 2023 at 4:10 AM GUSTAVO TERRA BASTOS <gtba...@ufsj.edu.br> wrote:
Hi !

I have been facing problems to describe cyclic codes over finite extension fields. It is easy to do with GF(p), but I can´t explicit codes over GF(p^m) (noticing all the mathematical background). Anyone could provide me an example?

I'm not sure what you mean by "describe" but the tutorial might help:

Best,

--
You received this message because you are subscribed to the Google Groups "sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.