Logo MTL4
Public Member Functions
itl::gauss_seidel< Matrix, RHSVector > Class Template Reference

Gauss-Seidel smoother. More...

#include <gauss_seidel.hpp>

List of all members.

Public Member Functions

 gauss_seidel (const Matrix &A, const RHSVector &b)
 Construct with constant references to matrix and RHS vector.
template<typename Vector >
Vector & operator() (Vector &x)
 Apply Gauss-Seidel on vector x, i.e. x is changed.

Detailed Description

template<typename Matrix, typename RHSVector>
class itl::gauss_seidel< Matrix, RHSVector >

Gauss-Seidel smoother.

Constructor takes references to a matrix and a right-hand side vector. operator() is applied on a vector and changes it in place. Matrix must be square, stored row-major and free of zero entries in the diagonal. Vectors b and x must have the same number of rows as A.


The documentation for this class was generated from the following file:


itl::gauss_seidel< Matrix, RHSVector > Class Template Reference -- MTL 4 -- Peter Gottschling and Andrew Lumsdaine -- Gen. with rev. 7542 on Sat Aug 11 2012 by doxygen 1.7.6.1 -- © 2010 by SimuNova UG.