9 #ifndef KRYLOVSOLVERS_H 10 #define KRYLOVSOLVERS_H uint solve_cg_avector(void *A, addeval_t addeval_A, pcavector b, pavector x, real eps, uint maxiter)
Solve a self-adjoint positive definite system with the conjugate gradient method and a general matri...
uint solve_pcg_h2matrix_avector(pch2matrix A, prcd_t prcd, void *pdata, pcavector b, pavector x, real eps, uint maxiter)
Solve a self-adjoint positive definite system with the preconditioned conjugate gradient method...
uint solve_gmres_sparsematrix_avector(pcsparsematrix A, pcavector b, pavector x, real eps, uint maxiter, uint kmax)
Solve a linear system with the generalized minimal residual method.
uint solve_cg_h2matrix_avector(pch2matrix A, pcavector b, pavector x, real eps, uint maxiter)
Solve a self-adjoint positive definite system with the conjugate gradient method.
uint solve_cg_hmatrix_avector(pchmatrix A, pcavector b, pavector x, real eps, uint maxiter)
Solve a self-adjoint positive definite system with the conjugate gradient method.
uint solve_pgmres_hmatrix_avector(pchmatrix A, prcd_t prcd, void *pdata, pcavector b, pavector x, real eps, uint maxiter, uint kmax)
Solve a linear system with the preconditioned generalized minimal residual method.
uint solve_pcg_hmatrix_avector(pchmatrix A, prcd_t prcd, void *pdata, pcavector b, pavector x, real eps, uint maxiter)
Solve a self-adjoint positive definite system with the preconditioned conjugate gradient method...
uint solve_gmres_avector(void *A, addeval_t addeval_A, pcavector b, pavector x, real eps, uint maxiter, uint kmax)
Solve a linear system with the generalized minimal residual method.
uint solve_pgmres_amatrix_avector(pcamatrix A, prcd_t prcd, void *pdata, pcavector b, pavector x, real eps, uint maxiter, uint kmax)
Solve a linear system with the preconditioned generalized minimal residual method.
uint solve_gmres_hmatrix_avector(pchmatrix A, pcavector b, pavector x, real eps, uint maxiter, uint kmax)
Solve a linear system with the generalized minimal residual method.
Representation of -matrices.
Definition: h2matrix.h:48
uint solve_gmres_amatrix_avector(pcamatrix A, pcavector b, pavector x, real eps, uint maxiter, uint kmax)
Solve a linear system with the generalized minimal residual method.
Representation of -matrices.
Definition: hmatrix.h:49
uint solve_cg_dh2matrix_avector(pcdh2matrix A, pcavector b, pavector x, real eps, uint maxiter)
Solve a self-adjoint positive definite system with the conjugate gradient method.
unsigned uint
Unsigned integer type.
Definition: settings.h:70
Tree structure representing a -matrix.
Definition: dh2matrix.h:50
uint solve_pgmres_sparsematrix_avector(pcsparsematrix A, prcd_t prcd, void *pdata, pcavector b, pavector x, real eps, uint maxiter, uint kmax)
Solve a linear system with the preconditioned generalized minimal residual method.
uint solve_pcg_sparsematrix_avector(pcsparsematrix A, prcd_t prcd, void *pdata, pcavector b, pavector x, real eps, uint maxiter)
Solve a self-adjoint positive definite system with the preconditioned conjugate gradient method...
uint solve_pgmres_h2matrix_avector(pch2matrix A, prcd_t prcd, void *pdata, pcavector b, pavector x, real eps, uint maxiter, uint kmax)
Solve a linear system with the preconditioned generalized minimal residual method.
uint solve_gmres_dh2matrix_avector(pcdh2matrix A, pcavector b, pavector x, real eps, uint maxiter, uint kmax)
Solve a linear system with the generalized minimal residual method.
uint solve_pcg_avector(void *A, addeval_t addeval_A, prcd_t prcd, void *pdata, pcavector b, pavector x, real eps, uint maxiter)
Solve a self-adjoint positive definite system with the preconditioned conjugate gradient method...
uint solve_cg_sparsematrix_avector(pcsparsematrix A, pcavector b, pavector x, real eps, uint maxiter)
Solve a self-adjoint positive definite system with the conjugate gradient method.
uint solve_pcg_dh2matrix_avector(pcdh2matrix A, prcd_t prcd, void *pdata, pcavector b, pavector x, real eps, uint maxiter)
Solve a self-adjoint positive definite system with the preconditioned conjugate gradient method...
#define HEADER_PREFIX
Prefix for function declarations.
Definition: settings.h:43
double real
real floating point type.
Definition: settings.h:97
uint solve_gmres_h2matrix_avector(pch2matrix A, pcavector b, pavector x, real eps, uint maxiter, uint kmax)
Solve a linear system with the generalized minimal residual method.
uint solve_pcg_amatrix_avector(pcamatrix A, prcd_t prcd, void *pdata, pcavector b, pavector x, real eps, uint maxiter)
Solve a self-adjoint positive definite system with the preconditioned conjugate gradient method...
void(* prcd_t)(void *pdata, pavector r)
Preconditioner callback.
Definition: krylov.h:75
void(* addeval_t)(field alpha, void *matrix, pcavector x, pavector y)
Matrix callback.
Definition: krylov.h:41
Representation of a sparse matrix in compressed row format.
Definition: sparsematrix.h:42
Representation of a matrix as an array in column-major order.
Definition: amatrix.h:43
uint solve_pgmres_dh2matrix_avector(pcdh2matrix A, prcd_t prcd, void *pdata, pcavector b, pavector x, real eps, uint maxiter, uint kmax)
Solve a linear system with the preconditioned generalized minimal residual method.
uint solve_pgmres_avector(void *A, addeval_t addeval_A, prcd_t prcd, void *pdata, pcavector b, pavector x, real eps, uint maxiter, uint kmax)
Solve a linear system with the preconditioned generalized minimal residual method.
uint solve_cg_amatrix_avector(pcamatrix A, pcavector b, pavector x, real eps, uint maxiter)
Solve a self-adjoint positive definite system with the conjugate gradient method.