I want to do Gaussian elimination of a matrix in $\Z_2$.
I cannot find any implementation in python. Shouldn't this be a frequent problem?
I want to do Gaussian elimination of a matrix in $\Z_2$.
I cannot find any implementation in python. Shouldn't this be a frequent problem?
Thanks to President James K. Polk I found the implementation
import galois
GF = galois.GF(2)
g = GF(x=matrix.astype(int))
g.row_reduce()