TBCI Numerical high perf. C++ Library 2.8.0
gmres.h File Reference

Iterative solver for linear systems TBCI::GMRES. More...

#include "tbci/basics.h"
Include dependency graph for gmres.h:

Go to the source code of this file.

Functions

NAMESPACE_TBCI INST2 (template< Matrix< T >, Vector< T > > class NN friend void Update(Vector< T > &, int, Matrix< T > &, Vector< T > &, Vector< T > *);) INST2(template< BdMatrix< T >
NAMESPACE_TBCI Vector< T > class NN friend void Update (Vector< T > &, int, BdMatrix< T > &, Vector< T > &, Vector< T > *)
template<typename SysMatrix, typename SysVector>
void Update (SysVector &x, int k, SysMatrix &h, SysVector &s, SysVector *V)
 INST (template< typename T > class NN friend void GeneratePlaneRotation(const T &, const double &, double &, T &);) template< typename T > inline void GeneratePlaneRotation(const T &dx
 We follow Frayssé, Giraud, Gratton for the complex implementation of the Givens plane rotations.

Variables

const double & dy
const double double & cs

Detailed Description

Iterative solver for linear systems TBCI::GMRES.

Definition in file gmres.h.

Function Documentation

◆ INST()

INST ( template< typename T > class NN friend void GeneratePlaneRotation(const T &, const double &, double &, T &); ) const &

We follow Frayssé, Giraud, Gratton for the complex implementation of the Givens plane rotations.

http://www.cerfacs.fr/algor/ There, cs is chosen to always be real, whereas sn is complex and the roation is given by (* denoting complex conjugate) x' = cs* x + sn* y y' = -sn x + cs y = 0

References T.

◆ INST2()

NAMESPACE_TBCI INST2 ( template< Matrix< T >, Vector< T > > class NN friend void Update(Vector< T > &, int, Matrix< T > &, Vector< T > &, Vector< T > *); )

References Update().

◆ Update() [1/2]

template<typename SysMatrix, typename SysVector>
void Update ( SysVector & x,
int k,
SysMatrix & h,
SysVector & s,
SysVector * V )

Definition at line 22 of file gmres.h.

References h, i, SysMatrix, x, and y.

◆ Update() [2/2]

NAMESPACE_TBCI Vector< T > class NN friend void Update ( Vector< T > & ,
int ,
BdMatrix< T > & ,
Vector< T > & ,
Vector< T > *  )

References Update().

Referenced by INST2(), and Update().

Variable Documentation

◆ cs

const double double& cs

Definition at line 53 of file gmres.h.

◆ dy

const double& dy

Definition at line 53 of file gmres.h.