2

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 ?

0

1 Answer 1

3

jama makes it for you

documentation

public Matrix inverse()
    Matrix inverse or pseudoinverse
    Returns:
        inverse(A) if A is square, pseudoinverse otherwise.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.