/src/main/java/net/finmath/functions/LinearAlgebra.java
return org.jblas.Solve.pinv( org.jblas.new DoubleMatrix( matrixA) ).getColumn( ) ;
return org.jblas.Solve.pinv ( new org.jblas.DoubleMatrix ( matrix ) ) .toArray2 ( ) ;
if(isSolverUseApacheCommonsMath) { final LUDecomposition lu = new LUDecomposition(new Array2DRowRealMatrix(matrix)); final double[][] matrixInverse = lu.getSolver().getInverse().getData(); return matrixInverse; } else { <extra_id_0> } } public static double[] solveLinearEquationSymmetric(final double[][] matrix, final double[] vector) { if(isSolverUseApacheCommonsMath) { final DecompositionSolver solver = new LUDecomposition(new Array2DRowRealMatrix(matrix)).getSolver(); return solver.solve(new Array2DRowRealMatrix(vector)).getColumn(0);