numerics 0.1.0
Loading...
Searching...
No Matches
krylov.cpp File Reference
#include "linalg/solvers/krylov.hpp"
#include "operator/operators.hpp"
#include <stdexcept>

Go to the source code of this file.

Namespaces

namespace  num
 

Functions

SolverResult num::gmres (const SparseMatrix &A, const Vector &b, Vector &x, real tol=1e-6, idx max_iter=1000, idx restart=30)
 
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)