ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 27 Feb 2016 06:52:09 -0600pseudo-inverse of a Zmod(2) matrixhttp://ask.sagemath.org/question/32675/pseudo-inverse-of-a-zmod2-matrix/ 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?Fri, 26 Feb 2016 17:05:36 -0600http://ask.sagemath.org/question/32675/pseudo-inverse-of-a-zmod2-matrix/Comment by FrédéricC for <p>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?</p>
http://ask.sagemath.org/question/32675/pseudo-inverse-of-a-zmod2-matrix/?comment=32680#post-id-32680For 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.Sat, 27 Feb 2016 06:52:09 -0600http://ask.sagemath.org/question/32675/pseudo-inverse-of-a-zmod2-matrix/?comment=32680#post-id-32680