numerics
Loading...
Searching...
No Matches
krylov.hpp File Reference

Restarted GMRES – a Krylov subspace solver for general Ax = b. More...

Go to the source code of this file.

Namespaces

namespace  num
 

Functions

SolverResult num::gmres (MatVecFn matvec, idx n, const Vector &b, Vector &x, real tol=1e-6, idx max_iter=1000, idx restart=30)
 Restarted GMRES(restart) – matrix-free interface.
 
SolverResult num::gmres (const SparseMatrix &A, const Vector &b, Vector &x, real tol=1e-6, idx max_iter=1000, idx restart=30)
 Restarted GMRES with a sparse (CSR) matrix.
 
SolverResult num::gmres (const Matrix &A, const Vector &b, Vector &x, real tol=1e-6, idx max_iter=1000, idx restart=30, Backend backend=default_backend)
 Restarted GMRES with a dense matrix.
 

Detailed Description

Restarted GMRES – a Krylov subspace solver for general Ax = b.

Definition in file krylov.hpp.