Just like that
R.<x> = GF(2^4, 'a')[]
f=x^3+x+1
print f.coefficients()
it returns [1, 1, 1],but I want it to retun [1,0,1,1],that is i need all the coefficients of every term(x^3,x^2,x^1,x^0),what should i do? thanks
    |  1 |    initial version    |  
Just like that
R.<x> = GF(2^4, 'a')[]
f=x^3+x+1
print f.coefficients()
it returns [1, 1, 1],but I want it to retun [1,0,1,1],that is i need all the coefficients of every term(x^3,x^2,x^1,x^0),what should i do? thanks
 
                
                Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.