|
QDP++
|
#include <qdp_map.h>
Public Member Functions | |
| virtual | ~MapFunc () |
| Virtual destructor - no cleanup needed. | |
| virtual multi1d< int > | operator() (const multi1d< int > &coordinate, int sign) const =0 |
| Maps a lattice coordinate under a map to a new lattice coordinate. | |
Abstract base class used as a function object for constructing maps
|
inlinevirtual |
|
pure virtual |
Maps a lattice coordinate under a map to a new lattice coordinate.
sign > 0 for map, sign < 0 for the inverse map
Implemented in QDP::PackageArrayBiDirectionalMapFunc, QDP::PackageArrayMapFunc, and QDP::PackageBiDirectionalMapFunc.