|
numerics
|
Restarted GMRES – a Krylov subspace solver for general Ax = b. More...
#include "linalg/solvers/solver_result.hpp"#include "linalg/solvers/cg.hpp"#include "linalg/sparse/sparse.hpp"#include "core/matrix.hpp"#include "core/vector.hpp"#include "core/policy.hpp"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. | |
Restarted GMRES – a Krylov subspace solver for general Ax = b.
Definition in file krylov.hpp.