public MatrixValue Function(MatrixValue A, MatrixValue b) { var gmres = new GMRESkSolver(A); return gmres.Solve(b); }