I have defined the input variables in characteristic 2. But when I assign a 
particular value to the input, output gives the result in simple algebra 
not in characteristic 2. Here is my code: 
sage: P.<x0,x1,x2,x3> = GF(2)[]
....: x3=0
....: x2=1
....: x1=0
....: x0=1
....: s1= x0*x2*x3 + x0*x2 + x0 + x1*x2 + x2 
....: s0= x0*x1*x3 + x0*x2 + x0*x3 + x1 + 1
....: print s1,s0
....: 
3 2

Here I want s1, s0 as 1,0. If I don't assign any value to the input, the 
output will gives value in charateristic 2 like 
sage: P.<x0,x1,x2,x3> = GF(2)[]
....: print x0+x1+x0
....: 
x1
Can anyone guide me how to get the output values in characteristic 2 if I 
assign a value to the input? 
Thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/08bf5bed-991d-4c29-907f-a5eac305e600%40googlegroups.com.

Reply via email to