cg.h File Reference

The iterative Vector equation solver TBCI::CG. More...

#include "../basics.h"
#include "precond.h"

Include dependency graph for cg.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  TBCI

Functions

template<typename T, typename SysMatrix, typename SysVector>
int TBCI::CG (const SysMatrix &A, SysVector &x, const SysVector &b, const Preconditioner_Sig< T, SysMatrix > &M, unsigned int &max_iter, double &tol)
 Iterative template solver routine -- CG.
template<typename T, typename SysMatrix, typename SysVector>
int TBCI::CG2 (const SysMatrix &A, SysVector &x, const SysVector &b, const Preconditioner_Sig< T, SysMatrix > &M, unsigned int &max_iter, double &tol)
 CG2 solves the symmetric complex (positive definite?) linear system Ax=b using the Conjugate Gradient method.


Detailed Description

The iterative Vector equation solver TBCI::CG.

Definition in file cg.h.


Generated on Wed Nov 20 09:27:37 2013 for TBCI Numerical high perf. C++ Library by  doxygen 1.5.6