pseudo-inverse of a Zmod(2) matrix

asked 2016-02-26 17:05:36 -0600

doug719 gravatar image

I have a 25 x 25 Zmod(2) matrix that is singular, and I would like to find the pseudo-inverse. I haven't found anything yet that will work. Suggestions?

edit retag flag offensive close merge delete

Comments

For matrices over C, wikipedia page for sagemath says

import numpy
C = matrix([[1 , 1], [2 , 2]])
matrix(numpy.linalg.pinv(C)) # returns
   [0.1 0.2]
   [0.1 0.2]

but this does not work over finite fields, by lack of a "conjugate" method.

FrédéricC gravatar imageFrédéricC ( 2016-02-27 06:52:09 -0600 )edit