QDP++

Primitive Spin Matrix class. More...

#include <qdp_primspinmat.h>

Inheritance diagram for QDP::PSpinMatrix< T, N >:
QDP::PMatrix< T, N, PSpinMatrix >

Public Member Functions

template<class T1>
PSpinMatrixoperator= (const PScalar< T1 > &rhs)
 PSpinMatrix = PScalar.
template<class T1>
PSpinMatrixoperator= (const PSpinMatrix< T1, N > &rhs)
 PSpinMatrix = PSpinMatrix.
Public Member Functions inherited from QDP::PMatrix< T, N, PSpinMatrix >
 PMatrix ()
 ~PMatrix ()
CCassign (const PScalar< T1 > &rhs)
 PMatrix = PScalar.
CCoperator+= (const PSpinMatrix< T1, N > &rhs)
 PMatrix += PMatrix.
CCoperator-= (const PSpinMatrix< T1, N > &rhs)
 PMatrix -= PMatrix.
CCoperator*= (const PScalar< T1 > &rhs)
 PMatrix *= PScalar.
CCoperator/= (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

Detailed Description

template<class T, int N>
class QDP::PSpinMatrix< T, N >

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.

Member Function Documentation

◆ operator=() [1/2]

template<class T, int N>
template<class T1>
PSpinMatrix & QDP::PSpinMatrix< T, N >::operator= ( const PScalar< T1 > & rhs)
inline

PSpinMatrix = PScalar.

Fill with primitive scalar

Definition at line 38 of file qdp_primspinmat.h.

◆ operator=() [2/2]

template<class T, int N>
template<class T1>
PSpinMatrix & QDP::PSpinMatrix< T, N >::operator= ( const PSpinMatrix< T1, N > & rhs)
inline

PSpinMatrix = PSpinMatrix.

Set equal to another PSpinMatrix

Definition at line 48 of file qdp_primspinmat.h.


The documentation for this class was generated from the following files: