Loading...
Searching...
No Matches
#include "linalg/solvers/krylov.hpp"
#include "core/vector.hpp"
#include <cmath>
#include <algorithm>
#include <stdexcept>
#include <vector>
Go to the source code of this file.
|
| 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.
|
| |