Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Like that:

sage: A = matrix(GF(2),[[1,0,0],[0,0,1],[1,1,0]])
sage: A.rational_form()
[0 0 1]
[1 0 1]
[0 1 1]