Ask Your Question
0

What is the .modulus() function doing?

asked 2018-12-29 05:23:03 +0100

Stockfish3709 gravatar image

I came across this tutorial from Sage that I couldn't get.

Below is the code.

k.<a> = GF(2^1024)
k.modulus()
Output: x^1024 + x^19 + x^6 + x + 1

What is going on here?

I understand that the polynomials' coefficients are either 0 or 1, and the degree of the polynomial is not more than 1024, but how does Sage assign them? And also, what is the modulus of the polynomial? I have never came before such a term and I couldn't find any such concepts on the internet.

Thanks for the help in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

answered 2018-12-30 11:19:42 +0100

FrédéricC gravatar image

See

k.modulus?
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-12-29 05:22:29 +0100

Seen: 395 times

Last updated: Dec 29 '18