Java inverse matrix calculation

后端 未结 11 1173
难免孤独
难免孤独 2020-12-03 07:58

I\'m trying to calculate the inverse matrix in Java.

I\'m following the adjoint method (first calculation of the adjoint matrix, then transpose this matrix and fina

11条回答
  •  情深已故
    2020-12-03 08:53

    By ACM you can do this without rhs:

    RealMatrix A = new Array2DRowRealMatrix(ARR);
    System.out.println(new LUDecomposition(A).getSolver().getInverse());
    

提交回复
热议问题