On Wednesday 04 February 2009, Adela wrote:
> hello!
>
> My question is how can I define in Saga a ring with indeterminates
> modulo 2?

You're either looking for a polynomial ring over GF(2):

sage: P.<x> = PolynomialRing(GF(2))
sage: P
Univariate Polynomial Ring in x over Finite Field of size 2

sage: P.<x,y> = PolynomialRing(GF(2))
sage: P
Multivariate Polynomial Ring in x, y over Finite Field of size 2

or the boolen polynomial ring (where x^2 == x):

sage: B.<x,y> = BooleanPolynomialRing()
sage: B
Boolean PolynomialRing in x, y

This should be well documented in the tutorial and the reference manual (I 
didn't check though)

Martin
-- 
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99
_otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF
_www: http://www.informatik.uni-bremen.de/~malb
_jab: [email protected]


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to