Ask Your Question
0

Finite Field Extension

asked 2013-01-15 08:13:00 -0600

bonjour gravatar image

updated 2015-01-13 11:17:19 -0600

FrédéricC gravatar image

F = GF(P) R.<x> = F[] K.<t> = GF(p^2, modulus = x^2 + 1) a = K.random_element() // say a = 364*t + 214

How can I read from sage the integer values (364, 214) , I need them for manipulation, I do not want the 't' there.

please urgent help!!! I am newby to SAGE

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2013-01-15 08:53:54 -0600

achrzesz gravatar image
sage: P=127
sage: F = GF(P) 
sage: R.<x> = F[]
sage: K.<t> = GF(P^2, modulus = x^2 + 1) 
sage: a = K.random_element()
sage: a.polynomial().coeffs()
[5, 42]
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

Stats

Asked: 2013-01-15 08:13:00 -0600

Seen: 370 times

Last updated: Jan 15 '13