itl::pc::diagonal< Matrix > Class Template Reference

Diagonal Preconditioner. More...

#include <diagonal.hpp>

List of all members.

Public Types

typedef mtl::Collection
< Matrix >::value_type 
value_type
typedef mtl::Collection
< Matrix >::size_type 
size_type
typedef diagonal self

Public Member Functions

 diagonal (const Matrix &A)
 Constructor takes matrix reference.
template<typename Vector >
Vector solve (const Vector &x) const
 Member function solve, better use free function solve.
template<typename Vector >
Vector adjoint_solve (const Vector &x) const
 Member function for solving adjoint problem, better use free function adjoint_solve.

Protected Attributes

mtl::dense_vector< value_typeinv_diag

Detailed Description

template<typename Matrix>
class itl::pc::diagonal< Matrix >

Diagonal Preconditioner.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends
Generated by  doxygen 1.6.2-20100208