标签: java matrix jama
我试图找到矩阵的逆。当它是单数时我需要计算pseudoinverse。我无法在JAMA doc中找到类似pseudoinverse的内容。我怎么能算出来呢?
答案 0 :(得分:3)
jama为你做到了
documentation
public Matrix inverse() Matrix inverse or pseudoinverse Returns: inverse(A) if A is square, pseudoinverse otherwise.