All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
NetworKit::DiagonalPreconditioner Class Reference

Simple preconditioner that approximates the matrix by a diagonal matrix. More...

#include <DiagonalPreconditioner.h>

Public Member Functions

 DiagonalPreconditioner ()=default
 Default constructor. More...
 
 DiagonalPreconditioner (const CSRMatrix &A)
 Constructs a diagonal preconditioner for the matrix A. More...
 
virtual ~DiagonalPreconditioner ()=default
 
Vector rhs (const Vector &b) const
 Returns the preconditioned right-hand-side $P(b) = D(A)^{-1}b$. More...
 

Detailed Description

Simple preconditioner that approximates the matrix by a diagonal matrix.

Constructor & Destructor Documentation

NetworKit::DiagonalPreconditioner::DiagonalPreconditioner ( )
default

Default constructor.

NetworKit::DiagonalPreconditioner::DiagonalPreconditioner ( const CSRMatrix A)
inline

Constructs a diagonal preconditioner for the matrix A.

Parameters
A
virtual NetworKit::DiagonalPreconditioner::~DiagonalPreconditioner ( )
virtualdefault

Member Function Documentation

Vector NetworKit::DiagonalPreconditioner::rhs ( const Vector b) const
inline

Returns the preconditioned right-hand-side $P(b) = D(A)^{-1}b$.


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