15 #ifndef SPARSE_SOLVER_H
16 #define SPARSE_SOLVER_H
29 real cg(Operator Ax, Operator precond,
int n,
int dim,
real *x0,
real *rhs,
real tol,
int maxit,
int *flag);
Operator Operator_uniform_stress_diag_precon_new(SparseMatrix A, real alpha)
real cg(Operator Ax, Operator precond, int n, int dim, real *x0, real *rhs, real tol, int maxit, int *flag)
real SparseMatrix_solve(SparseMatrix A, int dim, real *x0, real *rhs, real tol, int maxit, int method, int *flag)
struct Operator_struct * Operator
Operator Operator_uniform_stress_matmul(SparseMatrix A, real alpha)