8 template <
typename ValueType, QudaGammaBasis basis,
int dir>
28 complex<ValueType>
elem[4];
33 complex<ValueType> I(0,1);
34 if((dir==0) || (dir==1)) {
39 }
else if (dir == 2) {
65 printf(
"Warning: Gamma matrix not defined for dir = %d and basis = %d\n", dir, basis);
122 for(
int i = 0;
i <
ndim+1;
i++) {
131 __device__ __host__
inline complex<ValueType>
getelem(
int row,
int col)
const {
137 __device__ __host__
inline complex<ValueType>
getrowelem(
int row,
int &col)
const {
__device__ __host__ Gamma()
__device__ __host__ complex< ValueType > getrowelem(int row, int &col) const
int printf(const char *,...) __attribute__((__format__(__printf__
complex< ValueType > elem[4]
__device__ __host__ complex< ValueType > getelem(int row, int col) const
__device__ __host__ ~Gamma()