I hope this helps:

sage: A = matrix(GF(2), [
    [1, 1, 1, 0],
    [0, 1, 1, 0],
    [1, 0, 0, 1],
    [0, 1, 0, 1]])
sage: b = vector(GF(2), [0, 1, 1, 0])
sage: A \ b
(1, 0, 1, 0)


The "x" is indeed in GF(2):

sage: x = A \ b
sage: x.parent()
Vector space of dimension 4 over Finite Field of size 2

Harald


 

-- 
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 post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to