First time here? Check out the FAQ!
answered 2018-01-18 19:26:18 +0100
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]