I am trying to find inverse of a matrix. When it is singular I need to calculate pseudoinverse. I am not able to find anything like pseudoinverse in JAMA doc. How could I compute it ?
Asked
Active
Viewed 1,983 times
1 Answers
3
jama makes it for you
public Matrix inverse() Matrix inverse or pseudoinverse Returns: inverse(A) if A is square, pseudoinverse otherwise.

Soraphis
- 706
- 7
- 26