|
QDP++
|
Primitive Spin Matrix class. More...
#include <qdp_primspinmat.h>
Public Member Functions | |
| template<class T1> | |
| PSpinMatrix & | operator= (const PScalar< T1 > &rhs) |
| PSpinMatrix = PScalar. | |
| template<class T1> | |
| PSpinMatrix & | operator= (const PSpinMatrix< T1, N > &rhs) |
| PSpinMatrix = PSpinMatrix. | |
| Public Member Functions inherited from QDP::PMatrix< T, N, PSpinMatrix > | |
| PMatrix () | |
| ~PMatrix () | |
| CC & | assign (const PScalar< T1 > &rhs) |
| PMatrix = PScalar. | |
| CC & | operator+= (const PSpinMatrix< T1, N > &rhs) |
| PMatrix += PMatrix. | |
| CC & | operator-= (const PSpinMatrix< T1, N > &rhs) |
| PMatrix -= PMatrix. | |
| CC & | operator*= (const PScalar< T1 > &rhs) |
| PMatrix *= PScalar. | |
| CC & | operator/= (const PScalar< T1 > &rhs) |
| PMatrix /= PScalar. | |
| T & | elem (int i, int j) |
Additional Inherited Members | |
| Public Types inherited from QDP::PMatrix< T, N, PSpinMatrix > | |
| typedef PSpinMatrix< T, N > | CC |
Primitive Spin Matrix class.
Spin matrix class support gamma matrix algebra
NOTE: the class is mostly empty - it is the specialized versions below that know for a fixed size how gamma matrices (constants) should act on the spin vectors.
Definition at line 31 of file qdp_primspinmat.h.
|
inline |
|
inline |
Set equal to another PSpinMatrix
Definition at line 48 of file qdp_primspinmat.h.