![]() |
Allium
0.1.0
|
Base for the conjugate gradient method. More...
#include <cg.hpp>
Public Types | |
| using | Number = N |
| using | Real = real_part_t< N > |
Public Member Functions | |
| CgSolverBase (Real tolerance=1e-8) | |
| void | solve (VectorStorage< N > &solution, const VectorStorage< N > &rhs, InitialGuess initial_guess=InitialGuess::NOT_PROVIDED) |
| int | iteration_count () |
Protected Member Functions | |
| virtual void | matvec (VectorStorage< N > &out, const VectorStorage< N > &in)=0 |
Protected Attributes | |
| Real | m_tol |
| int | m_iteration_count |
Base for the conjugate gradient method.