MTL 4: itl::gauss_seidel< Matrix, RHSVector > Class Template Reference
#include <gauss_seidel.hpp>
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. |
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.
itl::gauss_seidel< Matrix, RHSVector > Class Template Reference -- MTL 4 -- Peter Gottschling and Andrew Lumsdaine
-- Gen. with
rev. 7542
on 7 Apr 2011 by doxygen 1.5.9 -- © 2010 by SimuNova UG.