使用Apache common math库,我可以获得一个原始的double类型数组。
RealMatrix pInverse = new LUDecomposition(p).getSolver().getInverse();
double[][] temp = pInverse.getData();
我需要将温度转换为一个Double[][]
Double[][] inverse = new Double[][]temp;