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?
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.