rref in GF(2) in Julia Jan 6, 2024 using AbstractAlgebra F = GF(2) A = rand([0, 1], 5, 5) B = matrix(F, A) # Convert to GF(2) matrix rref(B)