CHROMA
|
M^dag linear operator over arrays. More...
#include <ldag.h>
Public Member Functions | |
MdagLinOpArray (LinearOperatorArray< T > *p) | |
Initialize pointer with existing pointer. More... | |
MdagLinOpArray (Handle< LinearOperatorArray< T > > p) | |
Copy pointer (one more owner) More... | |
~MdagLinOpArray () | |
Destructor. More... | |
int | size () const |
Length of array index. More... | |
const Subset & | subset () const |
Subset comes from underlying operator. More... | |
void | operator() (multi1d< T > &chi, const multi1d< T > &psi, enum PlusMinus isign) const |
Apply the operator onto a source std::vector. More... | |
unsigned long | nFlops (void) const |
Public Member Functions inherited from Chroma::LinearOperatorArray< T > | |
virtual | ~LinearOperatorArray () |
Virtual destructor to help with cleanup;. More... | |
virtual void | operator() (multi1d< T > &chi, const multi1d< T > &psi, enum PlusMinus isign, Real epsilon) const |
Apply the operator onto a source std::vector to some precision. More... | |
Private Attributes | |
Handle< LinearOperatorArray< T > > | A |
M^dag linear operator over arrays.
Linear operator forming M^dag from an operator M
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Return the number of flops performed by operator() Base linop returns 0 and this can be overridden
Reimplemented from Chroma::LinearOperatorArray< T >.
Definition at line 95 of file ldag.h.
References Chroma::MdagLinOpArray< T >::A.
|
inlinevirtual |
Apply the operator onto a source std::vector.
For this operator, the sign is ignored
Implements Chroma::LinearOperatorArray< T >.
Definition at line 87 of file ldag.h.
References Chroma::chi(), Chroma::isign, Chroma::MINUS, Chroma::PLUS, Chroma::psi, Chroma::MdagLinOpArray< T >::size(), and Chroma::tmp.
|
inlinevirtual |
Length of array index.
Implements Chroma::LinearOperatorArray< T >.
Definition at line 80 of file ldag.h.
References Chroma::MdagLinOpArray< T >::A.
Referenced by Chroma::MdagLinOpArray< T >::operator()().
|
inlinevirtual |
Subset comes from underlying operator.
Implements Chroma::LinearOperatorArray< T >.
Definition at line 83 of file ldag.h.
References Chroma::MdagLinOpArray< T >::A.
|
private |
Definition at line 101 of file ldag.h.
Referenced by Chroma::MdagLinOpArray< T >::nFlops(), Chroma::MdagLinOpArray< T >::size(), and Chroma::MdagLinOpArray< T >::subset().