Implementations of the generalized minimum residual method are in this file. More...
#include <vector>
#include <cmath>
#include <limits>
#include "viennacl/forwards.h"
#include "viennacl/tools/tools.hpp"
#include "viennacl/linalg/norm_2.hpp"
#include "viennacl/linalg/prod.hpp"
#include "viennacl/linalg/inner_prod.hpp"
#include "viennacl/traits/clear.hpp"
#include "viennacl/traits/size.hpp"
#include "viennacl/meta/result_of.hpp"
Go to the source code of this file.
Data Structures | |
class | gmres_tag |
A tag for the solver GMRES. Used for supplying solver parameters and for dispatching the solve() function. More... | |
Namespaces | |
namespace | viennacl |
namespace | viennacl::linalg |
Functions | |
template<typename MatrixType , typename VectorType , typename PreconditionerType > | |
VectorType | solve (const MatrixType &matrix, VectorType const &rhs, gmres_tag const &tag, PreconditionerType const &precond) |
Implementation of the GMRES solver. | |
template<typename MatrixType , typename VectorType > | |
VectorType | solve (const MatrixType &matrix, VectorType const &rhs, gmres_tag const &tag) |
Convenience overload of the solve() function using GMRES. Per default, no preconditioner is used. |
Implementations of the generalized minimum residual method are in this file.