Skip to content

Simple example of cyctomic cosets #127

Description

@mrtalkingbadger

Hello,

-could you give a small example on how it works to print cyclotomic cosets? i try with following code, but it either takes infinitely long, or it does return some strange class ( namely [<commpy.channelcoding.gfields.GF at 0x74913aeaeb70>]).

The code is simply:
"
x = 2
m = 4
x = GF(x, m)
print(x.cosets())
"

  • The documentation for the galois fields seems to have a typo that confuses me. Sometimes the parameters "x,m" are mentioned, sometimes it is called "n, m". Is it correct that x=n?

I use Python 3.12, and installed on ubuntu 24 with pip a few days ago.

I would appreciate any help or discussion.
Best regards

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions