|
TBCI Numerical high perf. C++ Library
2.8.0
|
Iterative Vector equation solver TBCI::CHEBY. More...
#include "tbci/basics.h"#include "tbci/solver/precond.h"
Go to the source code of this file.
Macros | |
| #define | VALUE_TYPE typename SysVector::value_type |
Functions | |
| NAMESPACE_TBCI | INST3 (template< typename T, Matrix< T >, Vector< T > > class NN friend int CHEBY(const Matrix< T > &, Vector< T > &, const Vector< T > &, const Preconditioner_Sig< T, Matrix< T > > &, unsigned int &, double &, T, T);) INST3(template< typename T |
| NAMESPACE_TBCI Vector< T > class NN friend int | CHEBY (const BdMatrix< T > &, Vector< T > &, const Vector< T > &, const Preconditioner_Sig< T, BdMatrix< T > > &, unsigned int &, double &, T, T) |
| template<typename T , typename SysMatrix , typename SysVector > | |
| int | CHEBY (const SysMatrix &A, SysVector &x, const SysVector &b, const Preconditioner_Sig< T, SysMatrix > &M, unsigned int &max_iter, double &tol, T eigmin, T eigmax) |
| Iterative template routine – CHEBY. More... | |
Variables | |
| NAMESPACE_TBCI | BdMatrix< T > |
| #define VALUE_TYPE typename SysVector::value_type |
| NAMESPACE_TBCI Vector<T> class NN friend int CHEBY | ( | const BdMatrix< T > & | , |
| Vector< T > & | , | ||
| const Vector< T > & | , | ||
| const Preconditioner_Sig< T, BdMatrix< T > > & | , | ||
| unsigned int & | , | ||
| double & | , | ||
| T | , | ||
| T | |||
| ) |
| int CHEBY | ( | const SysMatrix & | A, |
| SysVector & | x, | ||
| const SysVector & | b, | ||
| const Preconditioner_Sig< T, SysMatrix > & | M, | ||
| unsigned int & | max_iter, | ||
| double & | tol, | ||
| T | eigmin, | ||
| T | eigmax | ||
| ) |
Iterative template routine – CHEBY.
CHEBY solves the symmetric positive definite linear system Ax = b using the Preconditioned Chebyshev Method
CHEBY follows the algorithm described on p. 30 of the SIAM Templates book.
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 |
Definition at line 60 of file cheby.h.
References c, BVector< T >::dim, i, p, Preconditioner_Sig< T, MatrixType >::solve(), T, VALUE_TYPE, and z.
| NAMESPACE_TBCI INST3 | ( | template< typename T, Matrix< T >, Vector< T > > class NN friend int CHEBY(const Matrix< T > &, Vector< T > &, const Vector< T > &, const Preconditioner_Sig< T, Matrix< T > > &, unsigned int &, double &, T, T); | ) |
1.8.5