|
TBCI Numerical high perf. C++ Library
2.8.0
|
Iterative Refinement Solver TBCI::IR. More...
#include "tbci/basics.h"
Go to the source code of this file.
Functions | |
| NAMESPACE_TBCI | INST3 (template< typename T, Matrix< T >, Vector< T > > class NN friend int IR(const Matrix< T > &, Vector< T > &, const Vector< T > &, const Preconditioner_Sig< T, Matrix< T > > &, unsigned int &, double &);) INST3(template< typename T |
| Iterative template routine – Preconditioned Richardson. More... | |
| NAMESPACE_TBCI Vector< T > class NN friend int | IR (const BdMatrix< T > &, Vector< T > &, const Vector< T > &, const Preconditioner_Sig< T, BdMatrix< T > > &, unsigned int &, double &) |
| template<typename T , typename SysMatrix , typename SysVector > | |
| int | IR (const SysMatrix &A, SysVector &x, const SysVector &b, const Preconditioner_Sig< T, SysMatrix > &M, unsigned int &max_iter, double &tol) |
Variables | |
| NAMESPACE_TBCI | BdMatrix< T > |
Iterative Refinement Solver TBCI::IR.
Definition in file ir.h.
| NAMESPACE_TBCI INST3 | ( | template< typename T, Matrix< T >, Vector< T > > class NN friend int IR(const Matrix< T > &, Vector< T > &, const Vector< T > &, const Preconditioner_Sig< T, Matrix< T > > &, unsigned int &, double &); | ) |
Iterative template routine – Preconditioned Richardson.
IR solves the unsymmetric linear system Ax = b using Iterative Refinement (preconditioned Richardson iteration).
Upon successful return, output arguments have the following values:
| x | – approximate solution to Ax = b |
| max_iter | – the number of iterations performed before the tolerance was reached |
| tol | – the residual after the final iteration |
| NAMESPACE_TBCI Vector<T> class NN friend int IR | ( | const BdMatrix< T > & | , |
| Vector< T > & | , | ||
| const Vector< T > & | , | ||
| const Preconditioner_Sig< T, BdMatrix< T > > & | , | ||
| unsigned int & | , | ||
| double & | |||
| ) |
| int IR | ( | const SysMatrix & | A, |
| SysVector & | x, | ||
| const SysVector & | b, | ||
| const Preconditioner_Sig< T, SysMatrix > & | M, | ||
| unsigned int & | max_iter, | ||
| double & | tol | ||
| ) |
1.8.5