How to compute the moore-penrose inverse of a matrix?
What I have found is using Scipy (or Numpy):
M = matrix(2,2,(1,2,2,4))
from scipy import linalg
matrix(linalg.pinv(M))
Any other way in Sage?
1 | initial version |
How to compute the moore-penrose inverse of a matrix?
What I have found is using Scipy (or Numpy):
M = matrix(2,2,(1,2,2,4))
from scipy import linalg
matrix(linalg.pinv(M))
Any other way in Sage?
2 | No.2 Revision |
How to compute the moore-penrose inverse of a matrix?
What I have found is using Scipy (or Numpy):
M = matrix(2,2,(1,2,2,4))
from scipy import linalg
matrix(linalg.pinv(M))
Any other way in Sage?