CubbyFlow::NullCGPreconditioner< BLASType > Struct Template Referencefinal

No-op pre-conditioner for conjugate gradient. More...

#include <Core/Math/CG.hpp>

Public Member Functions

void Solve (const typename BLASType::VectorType &b, typename BLASType::VectorType *x)
 

Static Public Member Functions

static void Build (const typename BLASType::MatrixType &)
 

Detailed Description

template<typename BLASType>
struct CubbyFlow::NullCGPreconditioner< BLASType >

No-op pre-conditioner for conjugate gradient.

This pre-conditioner 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 >
static void CubbyFlow::NullCGPreconditioner< BLASType >::Build ( const typename BLASType::MatrixType &  )
inlinestatic

◆ Solve()

template<typename BLASType >
void CubbyFlow::NullCGPreconditioner< BLASType >::Solve ( const typename BLASType::VectorType &  b,
typename BLASType::VectorType *  x 
)
inline

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