First time here? Check out the FAQ!
answered 2022-01-30 18:16:37 +0100
You can perform Gram–Schmidt over QQ and then change ring to GF(29):
QQ
GF(29)
M = Matrix( QQ, [(1,2,3),(1,5,6)] ) [ t.change_ring(GF(29)) for t in M.gram_schmidt() ]