HILA
|
The conjugate gradient operator. Applies the inverse square of an operator on a vector. More...
#include <conjugate_gradient.h>
Public Types | |
using | vector_type = typename Op::vector_type |
Get the type the operator applies to. | |
Public Member Functions | |
CG (Op &op) | |
Constructor: initialize the operator. | |
CG (Op &op, double _accuracy) | |
Constructor: operator and accuracy. | |
CG (Op &op, double _accuracy, int _maxiters) | |
Constructor: operator, accuracy and maximum number of iterations. | |
void | apply (Field< vector_type > &in, Field< vector_type > &out) |
The conjugate gradient operator. Applies the inverse square of an operator on a vector.
Definition at line 19 of file conjugate_gradient.h.
|
inline |
The apply() -member runs the full conjugate gradient The operators themselves have the same structure. The conjugate gradient operator is Hermitean, so there is no dagger().
Definition at line 46 of file conjugate_gradient.h.