[sage-support] Re: Question about minimal polynomial to build GF

2011-12-12 Thread luisfe
> sage: > F.=GF(2^8,name='x',modulus=z^8+z^4+z^3+z^2+1,check_irreducible=False) > sage: F > Finite Field in x of size 2^8 > sage: F.polynomial() > x^8 + x^4 + x^3 + x^2 + 1 > > Andrzej Chrzeszczyk In this case sage does not complaint, but check_irreducible is not intended for this use, but to avoi

Re: [sage-support] Re: Question about minimal polynomial to build GF

2011-12-11 Thread Juan Grados
... thanks, by your attention, I am reading a documentation to Implement Galois Field in other place, ... and declare in C this static unsigned prim_poly[MAX_EXT_DEG + 1] = {◦1 , ◦3 , /∗ not used ∗/ ◦7 , ◦13 , ◦23 , ◦45 , ◦103 , ◦203 , ◦435 , ◦1041 , ◦2011 , ◦4005 , ◦10123 , ◦20033 , ◦42103 , ◦10

[sage-support] Re: Question about minimal polynomial to build GF

2011-12-11 Thread achrzesz
On Dec 12, 1:08 am, achrzesz wrote: > On Dec 12, 12:47 am, achrzesz wrote: > > > > > On Dec 12, 12:41 am, Juan Grados wrote: > > > > but when I put this polynomial  x^8+x^7+x^4+x^3+x+1 I get ValueError: > > > finite field modulus must be irreducible but it is not > > > > 2011/12/11 achrzesz >

[sage-support] Re: Question about minimal polynomial to build GF

2011-12-11 Thread achrzesz
On Dec 12, 12:47 am, achrzesz wrote: > On Dec 12, 12:41 am, Juan Grados wrote: > > > > > but when I put this polynomial  x^8+x^7+x^4+x^3+x+1 I get ValueError: > > finite field modulus must be irreducible but it is not > > > 2011/12/11 achrzesz > > > > On Dec 12, 12:10 am, juaninf wrote: > > >

[sage-support] Re: Question about minimal polynomial to build GF

2011-12-11 Thread achrzesz
On Dec 12, 12:41 am, Juan Grados wrote: > but when I put this polynomial  x^8+x^7+x^4+x^3+x+1 I get ValueError: > finite field modulus must be irreducible but it is not > > 2011/12/11 achrzesz > > > > > > > On Dec 12, 12:10 am, juaninf wrote: > > > Hi everybody > > > > I want choose different

Re: [sage-support] Re: Question about minimal polynomial to build GF

2011-12-11 Thread Juan Grados
but when I put this polynomial x^8+x^7+x^4+x^3+x+1 I get ValueError: finite field modulus must be irreducible but it is not 2011/12/11 achrzesz > > > On Dec 12, 12:10 am, juaninf wrote: > > Hi everybody > > > > I want choose different minimal polynomial to build a Galois Field > > 2^m, how? >

[sage-support] Re: Question about minimal polynomial to build GF

2011-12-11 Thread achrzesz
On Dec 12, 12:31 am, achrzesz wrote: > On Dec 12, 12:10 am, juaninf wrote: > > > > > Hi everybody > > > I want choose different minimal polynomial to build a Galois Field > > 2^m, how? > > > For example: m = 8 > > > sageF.=GF(2^8) > > sage:print a.minpoly() > > I get ... > > x^8 + x^4 + x^3 + x

[sage-support] Re: Question about minimal polynomial to build GF

2011-12-11 Thread achrzesz
On Dec 12, 12:10 am, juaninf wrote: > Hi everybody > > I want choose different minimal polynomial to build a Galois Field > 2^m, how? > > For example: m = 8 > > sageF.=GF(2^8) > sage:print a.minpoly() > I get ... > x^8 + x^4 + x^3 + x^2 + 1 > but I want now other polynomial for example > x^8+x^7