Jet  v1.3.3
Public Member Functions | List of all members
jet::NullCgPreconditioner< BlasType > Struct Template Referencefinal

No-op preconditioner for conjugate gradient. More...

#include <jet/cg.h>

Public Member Functions

void build (const typename BlasType::MatrixType &)
 
void solve (const typename BlasType::VectorType &b, typename BlasType::VectorType *x)
 

Detailed Description

template<typename BlasType>
struct jet::NullCgPreconditioner< BlasType >

No-op preconditioner for conjugate gradient.

This preconditioner does nothing but simply copies the input vector to the output vector. Thus, it can be considered as an identity matrix.

Member Function Documentation

◆ build()

template<typename BlasType >
void jet::NullCgPreconditioner< BlasType >::build ( const typename BlasType::MatrixType &  )
inline

◆ solve()

template<typename BlasType >
void jet::NullCgPreconditioner< BlasType >::solve ( const typename BlasType::VectorType &  b,
typename BlasType::VectorType *  x 
)
inline

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