QDP++

Classes

class  QDP::PSpinVector< T, N >
 Primitive spin Vector class. More...
struct  QDP::UnaryReturn< PSpinVector< T1, N >, FnIsNan >
 isnan More...
struct  QDP::UnaryReturn< PSpinVector< T1, N >, FnIsInf >
 isinf More...
struct  QDP::UnaryReturn< PSpinVector< T1, N >, FnIsNormal >
 isnormal More...
struct  QDP::UnaryReturn< PSpinVector< T1, N >, FnIsFinite >
 isfinite More...
struct  QDP::TrinaryReturn< PScalar< T1 >, PSpinVector< T2, N >, PSpinVector< T3, N >, FnWhere >
 PSpinVector<T> = where(PScalar, PSpinVector, PSpinVector). More...
struct  QDP::UnaryReturn< PSpinVector< T, N >, FnPeekSpinVector >
 Extract spin vector components. More...

Functions

template<class T, int N>
std::istream & QDP::operator>> (std::istream &s, PSpinVector< T, N > &d)
 Stream input.
template<class T, int N>
StandardInputStreamQDP::operator>> (StandardInputStream &s, PSpinVector< T, N > &d)
template<class T, int N>
std::ostream & QDP::operator<< (std::ostream &s, const PSpinVector< T, N > &d)
 Stream output.
template<class T, int N>
StandardOutputStreamQDP::operator<< (StandardOutputStream &s, const PSpinVector< T, N > &d)
 Stream output.
template<class T, int N>
TextReaderQDP::operator>> (TextReader &txt, PSpinVector< T, N > &d)
 Text input.
template<class T, int N>
TextWriterQDP::operator<< (TextWriter &txt, const PSpinVector< T, N > &d)
 Text output.
template<class T1, int N>
UnaryReturn< PSpinVector< T1, N >, OpUnaryPlus >::Type_t QDP::operator+ (const PSpinVector< T1, N > &l)
template<class T1, int N>
UnaryReturn< PSpinVector< T1, N >, OpUnaryMinus >::Type_t QDP::operator- (const PSpinVector< T1, N > &l)
template<class T1, class T2, int N>
BinaryReturn< PSpinVector< T1, N >, PSpinVector< T2, N >, OpAdd >::Type_t QDP::operator+ (const PSpinVector< T1, N > &l, const PSpinVector< T2, N > &r)
template<class T1, class T2, int N>
BinaryReturn< PSpinVector< T1, N >, PSpinVector< T2, N >, OpSubtract >::Type_t QDP::operator- (const PSpinVector< T1, N > &l, const PSpinVector< T2, N > &r)
template<class T1, class T2, int N>
BinaryReturn< PSpinVector< T1, N >, PScalar< T2 >, OpMultiply >::Type_t QDP::operator* (const PSpinVector< T1, N > &l, const PScalar< T2 > &r)
template<class T1, class T2, int N>
BinaryReturn< PSpinVector< T1, N >, PScalar< T2 >, OpMultiplyAdj >::Type_t QDP::multiplyAdj (const PSpinVector< T1, N > &l, const PScalar< T2 > &r)
template<class T1, class T2, int N>
BinaryReturn< PScalar< T1 >, PSpinVector< T2, N >, OpMultiply >::Type_t QDP::operator* (const PScalar< T1 > &l, const PSpinVector< T2, N > &r)
template<class T1, class T2, int N>
BinaryReturn< PScalar< T1 >, PSpinVector< T2, N >, OpAdjMultiply >::Type_t QDP::adjMultiply (const PScalar< T1 > &l, const PSpinVector< T2, N > &r)
template<class T1, class T2, int N>
BinaryReturn< PSpinMatrix< T1, N >, PSpinVector< T2, N >, OpMultiply >::Type_t QDP::operator* (const PSpinMatrix< T1, N > &l, const PSpinVector< T2, N > &r)
template<class T1, class T2, template< class, int > class C, int N>
BinaryReturn< PMatrix< T1, N, C >, PSpinVector< T2, N >, OpMultiply >::Type_t QDP::operator* (const PSpinMatrix< T1, N > &l, const PSpinVector< T2, N > &r)
template<class T1, class T2, int N>
BinaryReturn< PSpinMatrix< T1, N >, PSpinVector< T2, N >, OpAdjMultiply >::Type_t QDP::adjMultiply (const PSpinMatrix< T1, N > &l, const PSpinVector< T2, N > &r)
template<class T1, class T2, int N, template< class, int > class C1>
BinaryReturn< PMatrix< T1, N, C1 >, PSpinVector< T2, N >, OpAdjMultiply >::Type_t QDP::adjMultiply (const PMatrix< T1, N, C1 > &l, const PSpinVector< T2, N > &r)
template<class T1, class T2, int N>
BinaryReturn< PSpinVector< T1, N >, PScalar< T2 >, OpDivide >::Type_t QDP::operator/ (const PSpinVector< T1, N > &l, const PScalar< T2 > &r)
template<class T, int N>
UnaryReturn< PSpinVector< T, N >, FnReal >::Type_t QDP::real (const PSpinVector< T, N > &s1)
 PSpinVector = Re(PSpinVector).
template<class T, int N>
UnaryReturn< PSpinVector< T, N >, FnImag >::Type_t QDP::imag (const PSpinVector< T, N > &s1)
 PSpinVector = Im(PSpinVector).
template<class T1, class T2, int N>
BinaryReturn< PSpinVector< T1, N >, PSpinVector< T2, N >, FnCmplx >::Type_t QDP::cmplx (const PSpinVector< T1, N > &s1, const PSpinVector< T2, N > &s2)
 PSpinVector<T> = (PSpinVector<T> , PSpinVector<T>).
template<class T1, int N>
bool QDP::isnan (const PSpinVector< T1, N > &l)
template<class T1, int N>
bool QDP::isinf (const PSpinVector< T1, N > &l)
template<class T1, int N>
bool QDP::isnormal (const PSpinVector< T1, N > &l)
template<class T1, int N>
bool QDP::isfinite (const PSpinVector< T1, N > &l)
template<class T1, int N>
UnaryReturn< PSpinVector< T1, N >, FnConjugate >::Type_t QDP::conj (const PSpinVector< T1, N > &l)
template<class T, int N>
UnaryReturn< PSpinVector< T, N >, FnTimesI >::Type_t QDP::timesI (const PSpinVector< T, N > &s1)
 PSpinVector = i * PSpinVector.
template<class T, int N>
UnaryReturn< PSpinVector< T, N >, FnTimesMinusI >::Type_t QDP::timesMinusI (const PSpinVector< T, N > &s1)
 PSpinVector = -i * PSpinVector.
template<class T, int N>
UnaryReturn< PSpinVector< T, N >, FnGetSite >::Type_t QDP::getSite (const PSpinVector< T, N > &s1, int innersite)
 dest [some type] = source [some type]
template<class T, int N>
UnaryReturn< PSpinVector< T, N >, FnPeekColorVector >::Type_t QDP::peekColor (const PSpinVector< T, N > &l, int row)
 Extract color vector components.
template<class T, int N>
UnaryReturn< PSpinVector< T, N >, FnPeekColorMatrix >::Type_t QDP::peekColor (const PSpinVector< T, N > &l, int row, int col)
 Extract color matrix components.
template<class T, int N>
UnaryReturn< PSpinVector< T, N >, FnPeekSpinMatrix >::Type_t QDP::peekSpin (const PSpinVector< T, N > &l, int row, int col)
 Extract spin matrix components.
template<class T1, class T2, int N>
UnaryReturn< PSpinVector< T1, N >, FnPokeColorVector >::Type_tQDP::pokeColor (PSpinVector< T1, N > &l, const PSpinVector< T2, N > &r, int row)
 Insert color vector components.
template<class T1, class T2, int N>
UnaryReturn< PSpinVector< T1, N >, FnPokeColorVector >::Type_tQDP::pokeColor (PSpinVector< T1, N > &l, const PSpinVector< T2, N > &r, int row, int col)
 Insert color matrix components.
template<class T1, class T2, int N>
UnaryReturn< PSpinVector< T1, N >, FnPokeSpinVector >::Type_tQDP::pokeSpin (PSpinVector< T1, N > &l, const PSpinVector< T2, N > &r, int row)
 Insert spin vector components.
template<class T1, class T2, int N>
UnaryReturn< PSpinVector< T1, N >, FnPokeSpinVector >::Type_tQDP::pokeSpin (PSpinVector< T1, N > &l, const PSpinVector< T2, N > &r, int row, int col)
 Insert spin matrix components.
template<class T, int N>
void QDP::zero_rep (PSpinVector< T, N > &dest)
 dest = 0
template<class T, class T1, int N>
void QDP::copymask (PSpinVector< T, N > &d, const PScalar< T1 > &mask, const PSpinVector< T, N > &s1)
 dest = (mask) ? s1 : dest
template<class T, class T1, int N>
void QDP::copy_site (PSpinVector< T, N > &d, int isite, const PSpinVector< T1, N > &s1)
 dest [some type] = source [some type]
template<class T, class T1, int N>
void QDP::copy_site (PSpinVector< T, N > &d, int isite, const PScalar< T1 > &s1)
 dest [some type] = source [some type]
template<class T, class T1, int N>
void QDP::gather_sites (PSpinVector< T, N > &d, const PSpinVector< T1, N > &s0, int i0, const PSpinVector< T1, N > &s1, int i1, const PSpinVector< T1, N > &s2, int i2, const PSpinVector< T1, N > &s3, int i3)
 gather several inner sites together
template<class T, int N>
UnaryReturn< PSpinVector< T, N >, FnLocalNorm2 >::Type_t QDP::localNorm2 (const PSpinVector< T, N > &s1)
template<class T1, class T2, class T3, int N>
TrinaryReturn< PScalar< T1 >, PSpinVector< T2, N >, PSpinVector< T3, N >, FnWhere >::Type_t QDP::where (const PScalar< T1 > &a, const PSpinVector< T2, N > &b, const PSpinVector< T3, N > &c)
template<class T, int N>
UnaryReturn< PSpinVector< T, N >, FnPeekSpinVector >::Type_t QDP::peekSpin (const PSpinVector< T, N > &l, int row)
template<class T1, class T2, int N>
PSpinVector< T1, N > & QDP::pokeSpin (PSpinVector< T1, N > &l, const PScalar< T2 > &r, int row)
 Insert spin vector components.
template<class T2>
BinaryReturn< GammaConst< 4, 0 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* (const GammaConst< 4, 0 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConst< 4, 1 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* (const GammaConst< 4, 1 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConst< 4, 2 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* (const GammaConst< 4, 2 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConst< 4, 3 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* (const GammaConst< 4, 3 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConst< 4, 4 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* (const GammaConst< 4, 4 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConst< 4, 5 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* (const GammaConst< 4, 5 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConst< 4, 6 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* (const GammaConst< 4, 6 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConst< 4, 7 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* (const GammaConst< 4, 7 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConst< 4, 8 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* (const GammaConst< 4, 8 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConst< 4, 9 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* (const GammaConst< 4, 9 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConst< 4, 10 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* (const GammaConst< 4, 10 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConst< 4, 11 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* (const GammaConst< 4, 11 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConst< 4, 12 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* (const GammaConst< 4, 12 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConst< 4, 13 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* (const GammaConst< 4, 13 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConst< 4, 14 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* (const GammaConst< 4, 14 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConst< 4, 15 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* (const GammaConst< 4, 15 > &, const PSpinVector< T2, 4 > &r)
template<class T>
UnaryReturn< PSpinVector< T, 4 >, FnSpinProjectDir0Minus >::Type_t QDP::spinProjectDir0Minus (const PSpinVector< T, 4 > &s1)
template<class T>
UnaryReturn< PSpinVector< T, 4 >, FnSpinProjectDir1Minus >::Type_t QDP::spinProjectDir1Minus (const PSpinVector< T, 4 > &s1)
template<class T>
UnaryReturn< PSpinVector< T, 4 >, FnSpinProjectDir2Minus >::Type_t QDP::spinProjectDir2Minus (const PSpinVector< T, 4 > &s1)
template<class T>
UnaryReturn< PSpinVector< T, 4 >, FnSpinProjectDir3Minus >::Type_t QDP::spinProjectDir3Minus (const PSpinVector< T, 4 > &s1)
template<class T>
UnaryReturn< PSpinVector< T, 4 >, FnSpinProjectDir0Plus >::Type_t QDP::spinProjectDir0Plus (const PSpinVector< T, 4 > &s1)
template<class T>
UnaryReturn< PSpinVector< T, 4 >, FnSpinProjectDir1Plus >::Type_t QDP::spinProjectDir1Plus (const PSpinVector< T, 4 > &s1)
template<class T>
UnaryReturn< PSpinVector< T, 4 >, FnSpinProjectDir2Plus >::Type_t QDP::spinProjectDir2Plus (const PSpinVector< T, 4 > &s1)
template<class T>
UnaryReturn< PSpinVector< T, 4 >, FnSpinProjectDir3Plus >::Type_t QDP::spinProjectDir3Plus (const PSpinVector< T, 4 > &s1)
template<class T>
UnaryReturn< PSpinVector< T, 2 >, FnSpinReconstructDir0Minus >::Type_t QDP::spinReconstructDir0Minus (const PSpinVector< T, 2 > &s1)
template<class T>
UnaryReturn< PSpinVector< T, 2 >, FnSpinReconstructDir1Minus >::Type_t QDP::spinReconstructDir1Minus (const PSpinVector< T, 2 > &s1)
template<class T>
UnaryReturn< PSpinVector< T, 2 >, FnSpinReconstructDir2Minus >::Type_t QDP::spinReconstructDir2Minus (const PSpinVector< T, 2 > &s1)
template<class T>
UnaryReturn< PSpinVector< T, 2 >, FnSpinReconstructDir3Minus >::Type_t QDP::spinReconstructDir3Minus (const PSpinVector< T, 2 > &s1)
template<class T>
UnaryReturn< PSpinVector< T, 2 >, FnSpinReconstructDir0Plus >::Type_t QDP::spinReconstructDir0Plus (const PSpinVector< T, 2 > &s1)
template<class T>
UnaryReturn< PSpinVector< T, 2 >, FnSpinReconstructDir1Plus >::Type_t QDP::spinReconstructDir1Plus (const PSpinVector< T, 2 > &s1)
template<class T>
UnaryReturn< PSpinVector< T, 2 >, FnSpinReconstructDir2Plus >::Type_t QDP::spinReconstructDir2Plus (const PSpinVector< T, 2 > &s1)
template<class T>
UnaryReturn< PSpinVector< T, 2 >, FnSpinReconstructDir3Plus >::Type_t QDP::spinReconstructDir3Plus (const PSpinVector< T, 2 > &s1)
template<class T2>
BinaryReturn< GammaConstDP< 4, 0 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* (const GammaConstDP< 4, 0 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConstDP< 4, 1 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* (const GammaConstDP< 4, 1 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConstDP< 4, 2 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* (const GammaConstDP< 4, 2 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConstDP< 4, 3 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* (const GammaConstDP< 4, 3 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConstDP< 4, 4 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* (const GammaConstDP< 4, 4 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConstDP< 4, 5 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* (const GammaConstDP< 4, 5 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConstDP< 4, 6 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* (const GammaConstDP< 4, 6 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConstDP< 4, 7 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* (const GammaConstDP< 4, 7 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConstDP< 4, 8 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* (const GammaConstDP< 4, 8 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConstDP< 4, 9 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* (const GammaConstDP< 4, 9 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConstDP< 4, 10 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* (const GammaConstDP< 4, 10 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConstDP< 4, 11 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* (const GammaConstDP< 4, 11 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConstDP< 4, 12 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* (const GammaConstDP< 4, 12 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConstDP< 4, 13 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* (const GammaConstDP< 4, 13 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConstDP< 4, 14 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* (const GammaConstDP< 4, 14 > &, const PSpinVector< T2, 4 > &r)
template<class T2>
BinaryReturn< GammaConstDP< 4, 15 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* (const GammaConstDP< 4, 15 > &, const PSpinVector< T2, 4 > &r)
template<class T>
UnaryReturn< PSpinVector< T, 4 >, FnChiralProjectPlus >::Type_t QDP::chiralProjectPlus (const PSpinVector< T, 4 > &s1)
 PSpinVector<T,4> = P_+ * PSpinVector<T,4>.
template<class T>
UnaryReturn< PSpinVector< T, 4 >, FnChiralProjectMinus >::Type_t QDP::chiralProjectMinus (const PSpinVector< T, 4 > &s1)
 PSpinVector<T,4> = P_- * PSpinVector<T,4>.

Detailed Description

Primitive type that transforms like a Spin vector

Function Documentation

◆ adjMultiply() [1/3]

template<class T1, class T2, int N, template< class, int > class C1>
BinaryReturn< PMatrix< T1, N, C1 >, PSpinVector< T2, N >, OpAdjMultiply >::Type_t QDP::adjMultiply ( const PMatrix< T1, N, C1 > & l,
const PSpinVector< T2, N > & r )
inline

◆ adjMultiply() [2/3]

template<class T1, class T2, int N>
BinaryReturn< PScalar< T1 >, PSpinVector< T2, N >, OpAdjMultiply >::Type_t QDP::adjMultiply ( const PScalar< T1 > & l,
const PSpinVector< T2, N > & r )
inline

◆ adjMultiply() [3/3]

template<class T1, class T2, int N>
BinaryReturn< PSpinMatrix< T1, N >, PSpinVector< T2, N >, OpAdjMultiply >::Type_t QDP::adjMultiply ( const PSpinMatrix< T1, N > & l,
const PSpinVector< T2, N > & r )
inline

◆ chiralProjectMinus()

template<class T>
UnaryReturn< PSpinVector< T, 4 >, FnChiralProjectMinus >::Type_t QDP::chiralProjectMinus ( const PSpinVector< T, 4 > & s1)
inline

◆ chiralProjectPlus()

template<class T>
UnaryReturn< PSpinVector< T, 4 >, FnChiralProjectPlus >::Type_t QDP::chiralProjectPlus ( const PSpinVector< T, 4 > & s1)
inline

◆ cmplx()

template<class T1, class T2, int N>
BinaryReturn< PSpinVector< T1, N >, PSpinVector< T2, N >, FnCmplx >::Type_t QDP::cmplx ( const PSpinVector< T1, N > & s1,
const PSpinVector< T2, N > & s2 )
inline

◆ conj()

template<class T1, int N>
UnaryReturn< PSpinVector< T1, N >, FnConjugate >::Type_t QDP::conj ( const PSpinVector< T1, N > & l)
inline

Definition at line 503 of file qdp_primspinvec.h.

References conj(), and QDP::PSpinVector< T, N >::elem().

◆ copy_site() [1/2]

template<class T, class T1, int N>
void QDP::copy_site ( PSpinVector< T, N > & d,
int isite,
const PScalar< T1 > & s1 )
inline

dest [some type] = source [some type]

Definition at line 678 of file qdp_primspinvec.h.

References copy_site(), QDP::PScalar< T >::elem(), and QDP::PSpinVector< T, N >::elem().

◆ copy_site() [2/2]

template<class T, class T1, int N>
void QDP::copy_site ( PSpinVector< T, N > & d,
int isite,
const PSpinVector< T1, N > & s1 )
inline

dest [some type] = source [some type]

Definition at line 669 of file qdp_primspinvec.h.

References copy_site(), and QDP::PSpinVector< T, N >::elem().

◆ copymask()

template<class T, class T1, int N>
void QDP::copymask ( PSpinVector< T, N > & d,
const PScalar< T1 > & mask,
const PSpinVector< T, N > & s1 )
inline

dest = (mask) ? s1 : dest

Definition at line 659 of file qdp_primspinvec.h.

References copymask(), QDP::PScalar< T >::elem(), and QDP::PSpinVector< T, N >::elem().

◆ gather_sites()

template<class T, class T1, int N>
void QDP::gather_sites ( PSpinVector< T, N > & d,
const PSpinVector< T1, N > & s0,
int i0,
const PSpinVector< T1, N > & s1,
int i1,
const PSpinVector< T1, N > & s2,
int i2,
const PSpinVector< T1, N > & s3,
int i3 )
inline

gather several inner sites together

Definition at line 688 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and gather_sites().

◆ getSite()

template<class T, int N>
UnaryReturn< PSpinVector< T, N >, FnGetSite >::Type_t QDP::getSite ( const PSpinVector< T, N > & s1,
int innersite )
inline

dest [some type] = source [some type]

Portable (internal) way of returning a single site

Definition at line 544 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and getSite().

◆ imag()

template<class T, int N>
UnaryReturn< PSpinVector< T, N >, FnImag >::Type_t QDP::imag ( const PSpinVector< T, N > & s1)
inline

PSpinVector = Im(PSpinVector).

Definition at line 398 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and imag().

◆ isfinite()

template<class T1, int N>
bool QDP::isfinite ( const PSpinVector< T1, N > & l)
inline

Definition at line 487 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and isfinite().

◆ isinf()

template<class T1, int N>
bool QDP::isinf ( const PSpinVector< T1, N > & l)
inline

Definition at line 451 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and isinf().

◆ isnan()

template<class T1, int N>
bool QDP::isnan ( const PSpinVector< T1, N > & l)
inline

Definition at line 433 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and isnan().

◆ isnormal()

template<class T1, int N>
bool QDP::isnormal ( const PSpinVector< T1, N > & l)
inline

Definition at line 469 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and isnormal().

◆ localNorm2()

template<class T, int N>
UnaryReturn< PSpinVector< T, N >, FnLocalNorm2 >::Type_t QDP::localNorm2 ( const PSpinVector< T, N > & s1)
inline

Definition at line 729 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and localNorm2().

◆ multiplyAdj()

template<class T1, class T2, int N>
BinaryReturn< PSpinVector< T1, N >, PScalar< T2 >, OpMultiplyAdj >::Type_t QDP::multiplyAdj ( const PSpinVector< T1, N > & l,
const PScalar< T2 > & r )
inline

◆ operator*() [1/36]

template<class T2>
BinaryReturn< GammaConst< 4, 0 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* ( const GammaConst< 4, 0 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1148 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ operator*() [2/36]

template<class T2>
BinaryReturn< GammaConst< 4, 1 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* ( const GammaConst< 4, 1 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1162 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), timesI(), and timesMinusI().

◆ operator*() [3/36]

template<class T2>
BinaryReturn< GammaConst< 4, 10 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* ( const GammaConst< 4, 10 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1288 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ operator*() [4/36]

template<class T2>
BinaryReturn< GammaConst< 4, 11 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* ( const GammaConst< 4, 11 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1302 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), timesI(), and timesMinusI().

◆ operator*() [5/36]

template<class T2>
BinaryReturn< GammaConst< 4, 12 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* ( const GammaConst< 4, 12 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1316 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), timesI(), and timesMinusI().

◆ operator*() [6/36]

template<class T2>
BinaryReturn< GammaConst< 4, 13 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* ( const GammaConst< 4, 13 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1330 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ operator*() [7/36]

template<class T2>
BinaryReturn< GammaConst< 4, 14 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* ( const GammaConst< 4, 14 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1344 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and timesMinusI().

◆ operator*() [8/36]

template<class T2>
BinaryReturn< GammaConst< 4, 15 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* ( const GammaConst< 4, 15 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1358 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ operator*() [9/36]

template<class T2>
BinaryReturn< GammaConst< 4, 2 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* ( const GammaConst< 4, 2 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1176 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ operator*() [10/36]

template<class T2>
BinaryReturn< GammaConst< 4, 3 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* ( const GammaConst< 4, 3 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1190 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), timesI(), and timesMinusI().

◆ operator*() [11/36]

template<class T2>
BinaryReturn< GammaConst< 4, 4 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* ( const GammaConst< 4, 4 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1204 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), timesI(), and timesMinusI().

◆ operator*() [12/36]

template<class T2>
BinaryReturn< GammaConst< 4, 5 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* ( const GammaConst< 4, 5 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1218 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ operator*() [13/36]

template<class T2>
BinaryReturn< GammaConst< 4, 6 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* ( const GammaConst< 4, 6 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1232 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and timesMinusI().

◆ operator*() [14/36]

template<class T2>
BinaryReturn< GammaConst< 4, 7 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* ( const GammaConst< 4, 7 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1246 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ operator*() [15/36]

template<class T2>
BinaryReturn< GammaConst< 4, 8 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* ( const GammaConst< 4, 8 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1260 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ operator*() [16/36]

template<class T2>
BinaryReturn< GammaConst< 4, 9 >, PSpinVector< T2, 4 >, OpGammaConstMultiply >::Type_t QDP::operator* ( const GammaConst< 4, 9 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1274 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), timesI(), and timesMinusI().

◆ operator*() [17/36]

template<class T2>
BinaryReturn< GammaConstDP< 4, 0 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* ( const GammaConstDP< 4, 0 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1711 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ operator*() [18/36]

template<class T2>
BinaryReturn< GammaConstDP< 4, 1 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* ( const GammaConstDP< 4, 1 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1725 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), timesI(), and timesMinusI().

◆ operator*() [19/36]

template<class T2>
BinaryReturn< GammaConstDP< 4, 10 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* ( const GammaConstDP< 4, 10 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1851 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ operator*() [20/36]

template<class T2>
BinaryReturn< GammaConstDP< 4, 11 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* ( const GammaConstDP< 4, 11 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1865 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), timesI(), and timesMinusI().

◆ operator*() [21/36]

template<class T2>
BinaryReturn< GammaConstDP< 4, 12 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* ( const GammaConstDP< 4, 12 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1879 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), timesI(), and timesMinusI().

◆ operator*() [22/36]

template<class T2>
BinaryReturn< GammaConstDP< 4, 13 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* ( const GammaConstDP< 4, 13 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1893 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ operator*() [23/36]

template<class T2>
BinaryReturn< GammaConstDP< 4, 14 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* ( const GammaConstDP< 4, 14 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1907 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), timesI(), and timesMinusI().

◆ operator*() [24/36]

template<class T2>
BinaryReturn< GammaConstDP< 4, 15 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* ( const GammaConstDP< 4, 15 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1921 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ operator*() [25/36]

template<class T2>
BinaryReturn< GammaConstDP< 4, 2 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* ( const GammaConstDP< 4, 2 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1739 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ operator*() [26/36]

template<class T2>
BinaryReturn< GammaConstDP< 4, 3 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* ( const GammaConstDP< 4, 3 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1753 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), timesI(), and timesMinusI().

◆ operator*() [27/36]

template<class T2>
BinaryReturn< GammaConstDP< 4, 4 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* ( const GammaConstDP< 4, 4 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1767 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), timesI(), and timesMinusI().

◆ operator*() [28/36]

template<class T2>
BinaryReturn< GammaConstDP< 4, 5 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* ( const GammaConstDP< 4, 5 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1781 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ operator*() [29/36]

template<class T2>
BinaryReturn< GammaConstDP< 4, 6 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* ( const GammaConstDP< 4, 6 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1795 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and timesI().

◆ operator*() [30/36]

template<class T2>
BinaryReturn< GammaConstDP< 4, 7 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* ( const GammaConstDP< 4, 7 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1809 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ operator*() [31/36]

template<class T2>
BinaryReturn< GammaConstDP< 4, 8 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* ( const GammaConstDP< 4, 8 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1823 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ operator*() [32/36]

template<class T2>
BinaryReturn< GammaConstDP< 4, 9 >, PSpinVector< T2, 4 >, OpGammaConstDPMultiply >::Type_t QDP::operator* ( const GammaConstDP< 4, 9 > & ,
const PSpinVector< T2, 4 > & r )
inline

Definition at line 1837 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and timesI().

◆ operator*() [33/36]

template<class T1, class T2, int N>
BinaryReturn< PScalar< T1 >, PSpinVector< T2, N >, OpMultiply >::Type_t QDP::operator* ( const PScalar< T1 > & l,
const PSpinVector< T2, N > & r )
inline

◆ operator*() [34/36]

template<class T1, class T2, template< class, int > class C, int N>
BinaryReturn< PMatrix< T1, N, C >, PSpinVector< T2, N >, OpMultiply >::Type_t QDP::operator* ( const PSpinMatrix< T1, N > & l,
const PSpinVector< T2, N > & r )
inline

◆ operator*() [35/36]

template<class T1, class T2, int N>
BinaryReturn< PSpinMatrix< T1, N >, PSpinVector< T2, N >, OpMultiply >::Type_t QDP::operator* ( const PSpinMatrix< T1, N > & l,
const PSpinVector< T2, N > & r )
inline

◆ operator*() [36/36]

template<class T1, class T2, int N>
BinaryReturn< PSpinVector< T1, N >, PScalar< T2 >, OpMultiply >::Type_t QDP::operator* ( const PSpinVector< T1, N > & l,
const PScalar< T2 > & r )
inline

◆ operator+() [1/2]

template<class T1, int N>
UnaryReturn< PSpinVector< T1, N >, OpUnaryPlus >::Type_t QDP::operator+ ( const PSpinVector< T1, N > & l)
inline

Definition at line 203 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ operator+() [2/2]

template<class T1, class T2, int N>
BinaryReturn< PSpinVector< T1, N >, PSpinVector< T2, N >, OpAdd >::Type_t QDP::operator+ ( const PSpinVector< T1, N > & l,
const PSpinVector< T2, N > & r )
inline

Definition at line 227 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ operator-() [1/2]

template<class T1, int N>
UnaryReturn< PSpinVector< T1, N >, OpUnaryMinus >::Type_t QDP::operator- ( const PSpinVector< T1, N > & l)
inline

Definition at line 215 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ operator-() [2/2]

template<class T1, class T2, int N>
BinaryReturn< PSpinVector< T1, N >, PSpinVector< T2, N >, OpSubtract >::Type_t QDP::operator- ( const PSpinVector< T1, N > & l,
const PSpinVector< T2, N > & r )
inline

Definition at line 239 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ operator/()

template<class T1, class T2, int N>
BinaryReturn< PSpinVector< T1, N >, PScalar< T2 >, OpDivide >::Type_t QDP::operator/ ( const PSpinVector< T1, N > & l,
const PScalar< T2 > & r )
inline

◆ operator<<() [1/3]

template<class T, int N>
StandardOutputStream & QDP::operator<< ( StandardOutputStream & s,
const PSpinVector< T, N > & d )
inline

Stream output.

Definition at line 138 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ operator<<() [2/3]

template<class T, int N>
std::ostream & QDP::operator<< ( std::ostream & s,
const PSpinVector< T, N > & d )
inline

Stream output.

Definition at line 127 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ operator<<() [3/3]

template<class T, int N>
TextWriter & QDP::operator<< ( TextWriter & txt,
const PSpinVector< T, N > & d )
inline

Text output.

Definition at line 161 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ operator>>() [1/3]

template<class T, int N>
StandardInputStream & QDP::operator>> ( StandardInputStream & s,
PSpinVector< T, N > & d )
inline

Definition at line 117 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ operator>>() [2/3]

template<class T, int N>
std::istream & QDP::operator>> ( std::istream & s,
PSpinVector< T, N > & d )
inline

Stream input.

Definition at line 107 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ operator>>() [3/3]

template<class T, int N>
TextReader & QDP::operator>> ( TextReader & txt,
PSpinVector< T, N > & d )
inline

Text input.

Definition at line 150 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ peekColor() [1/2]

template<class T, int N>
UnaryReturn< PSpinVector< T, N >, FnPeekColorVector >::Type_t QDP::peekColor ( const PSpinVector< T, N > & l,
int row )
inline

Extract color vector components.

Generically, this is an identity operation. Defined differently under color

Definition at line 558 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and peekColor().

◆ peekColor() [2/2]

template<class T, int N>
UnaryReturn< PSpinVector< T, N >, FnPeekColorMatrix >::Type_t QDP::peekColor ( const PSpinVector< T, N > & l,
int row,
int col )
inline

Extract color matrix components.

Generically, this is an identity operation. Defined differently under color

Definition at line 571 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and peekColor().

◆ peekSpin() [1/2]

template<class T, int N>
UnaryReturn< PSpinVector< T, N >, FnPeekSpinVector >::Type_t QDP::peekSpin ( const PSpinVector< T, N > & l,
int row )
inline

Definition at line 1123 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ peekSpin() [2/2]

template<class T, int N>
UnaryReturn< PSpinVector< T, N >, FnPeekSpinMatrix >::Type_t QDP::peekSpin ( const PSpinVector< T, N > & l,
int row,
int col )
inline

Extract spin matrix components.

Generically, this is an identity operation. Defined differently under spin

Definition at line 585 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and peekSpin().

◆ pokeColor() [1/2]

template<class T1, class T2, int N>
UnaryReturn< PSpinVector< T1, N >, FnPokeColorVector >::Type_t & QDP::pokeColor ( PSpinVector< T1, N > & l,
const PSpinVector< T2, N > & r,
int row )
inline

Insert color vector components.

Generically, this is an identity operation. Defined differently under color

Definition at line 598 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and pokeColor().

◆ pokeColor() [2/2]

template<class T1, class T2, int N>
UnaryReturn< PSpinVector< T1, N >, FnPokeColorVector >::Type_t & QDP::pokeColor ( PSpinVector< T1, N > & l,
const PSpinVector< T2, N > & r,
int row,
int col )
inline

Insert color matrix components.

Generically, this is an identity operation. Defined differently under color

Definition at line 611 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and pokeColor().

◆ pokeSpin() [1/3]

template<class T1, class T2, int N>
PSpinVector< T1, N > & QDP::pokeSpin ( PSpinVector< T1, N > & l,
const PScalar< T2 > & r,
int row )
inline

Insert spin vector components.

Definition at line 1135 of file qdp_primspinvec.h.

References QDP::PScalar< T >::elem(), and QDP::PSpinVector< T, N >::elem().

◆ pokeSpin() [2/3]

template<class T1, class T2, int N>
UnaryReturn< PSpinVector< T1, N >, FnPokeSpinVector >::Type_t & QDP::pokeSpin ( PSpinVector< T1, N > & l,
const PSpinVector< T2, N > & r,
int row )
inline

Insert spin vector components.

Generically, this is an identity operation. Defined differently under spin

Definition at line 624 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and pokeSpin().

◆ pokeSpin() [3/3]

template<class T1, class T2, int N>
UnaryReturn< PSpinVector< T1, N >, FnPokeSpinVector >::Type_t & QDP::pokeSpin ( PSpinVector< T1, N > & l,
const PSpinVector< T2, N > & r,
int row,
int col )
inline

Insert spin matrix components.

Generically, this is an identity operation. Defined differently under spin

Definition at line 637 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and pokeSpin().

◆ real()

template<class T, int N>
UnaryReturn< PSpinVector< T, N >, FnReal >::Type_t QDP::real ( const PSpinVector< T, N > & s1)
inline

PSpinVector = Re(PSpinVector).

Definition at line 384 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and real().

◆ spinProjectDir0Minus()

template<class T>
UnaryReturn< PSpinVector< T, 4 >, FnSpinProjectDir0Minus >::Type_t QDP::spinProjectDir0Minus ( const PSpinVector< T, 4 > & s1)
inline

Definition at line 1375 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and timesI().

◆ spinProjectDir0Plus()

template<class T>
UnaryReturn< PSpinVector< T, 4 >, FnSpinProjectDir0Plus >::Type_t QDP::spinProjectDir0Plus ( const PSpinVector< T, 4 > & s1)
inline

Definition at line 1483 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and timesI().

◆ spinProjectDir1Minus()

template<class T>
UnaryReturn< PSpinVector< T, 4 >, FnSpinProjectDir1Minus >::Type_t QDP::spinProjectDir1Minus ( const PSpinVector< T, 4 > & s1)
inline

Definition at line 1402 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ spinProjectDir1Plus()

template<class T>
UnaryReturn< PSpinVector< T, 4 >, FnSpinProjectDir1Plus >::Type_t QDP::spinProjectDir1Plus ( const PSpinVector< T, 4 > & s1)
inline

Definition at line 1510 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ spinProjectDir2Minus()

template<class T>
UnaryReturn< PSpinVector< T, 4 >, FnSpinProjectDir2Minus >::Type_t QDP::spinProjectDir2Minus ( const PSpinVector< T, 4 > & s1)
inline

Definition at line 1429 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and timesI().

◆ spinProjectDir2Plus()

template<class T>
UnaryReturn< PSpinVector< T, 4 >, FnSpinProjectDir2Plus >::Type_t QDP::spinProjectDir2Plus ( const PSpinVector< T, 4 > & s1)
inline

Definition at line 1537 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and timesI().

◆ spinProjectDir3Minus()

template<class T>
UnaryReturn< PSpinVector< T, 4 >, FnSpinProjectDir3Minus >::Type_t QDP::spinProjectDir3Minus ( const PSpinVector< T, 4 > & s1)
inline

Definition at line 1456 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ spinProjectDir3Plus()

template<class T>
UnaryReturn< PSpinVector< T, 4 >, FnSpinProjectDir3Plus >::Type_t QDP::spinProjectDir3Plus ( const PSpinVector< T, 4 > & s1)
inline

Definition at line 1564 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ spinReconstructDir0Minus()

template<class T>
UnaryReturn< PSpinVector< T, 2 >, FnSpinReconstructDir0Minus >::Type_t QDP::spinReconstructDir0Minus ( const PSpinVector< T, 2 > & s1)
inline

Definition at line 1594 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and timesI().

◆ spinReconstructDir0Plus()

template<class T>
UnaryReturn< PSpinVector< T, 2 >, FnSpinReconstructDir0Plus >::Type_t QDP::spinReconstructDir0Plus ( const PSpinVector< T, 2 > & s1)
inline

Definition at line 1651 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and timesMinusI().

◆ spinReconstructDir1Minus()

template<class T>
UnaryReturn< PSpinVector< T, 2 >, FnSpinReconstructDir1Minus >::Type_t QDP::spinReconstructDir1Minus ( const PSpinVector< T, 2 > & s1)
inline

Definition at line 1608 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ spinReconstructDir1Plus()

template<class T>
UnaryReturn< PSpinVector< T, 2 >, FnSpinReconstructDir1Plus >::Type_t QDP::spinReconstructDir1Plus ( const PSpinVector< T, 2 > & s1)
inline

Definition at line 1665 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ spinReconstructDir2Minus()

template<class T>
UnaryReturn< PSpinVector< T, 2 >, FnSpinReconstructDir2Minus >::Type_t QDP::spinReconstructDir2Minus ( const PSpinVector< T, 2 > & s1)
inline

Definition at line 1623 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), timesI(), and timesMinusI().

◆ spinReconstructDir2Plus()

template<class T>
UnaryReturn< PSpinVector< T, 2 >, FnSpinReconstructDir2Plus >::Type_t QDP::spinReconstructDir2Plus ( const PSpinVector< T, 2 > & s1)
inline

Definition at line 1679 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), timesI(), and timesMinusI().

◆ spinReconstructDir3Minus()

template<class T>
UnaryReturn< PSpinVector< T, 2 >, FnSpinReconstructDir3Minus >::Type_t QDP::spinReconstructDir3Minus ( const PSpinVector< T, 2 > & s1)
inline

Definition at line 1637 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ spinReconstructDir3Plus()

template<class T>
UnaryReturn< PSpinVector< T, 2 >, FnSpinReconstructDir3Plus >::Type_t QDP::spinReconstructDir3Plus ( const PSpinVector< T, 2 > & s1)
inline

Definition at line 1693 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem().

◆ timesI()

template<class T, int N>
UnaryReturn< PSpinVector< T, N >, FnTimesI >::Type_t QDP::timesI ( const PSpinVector< T, N > & s1)
inline

PSpinVector = i * PSpinVector.

Definition at line 516 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and timesI().

◆ timesMinusI()

template<class T, int N>
UnaryReturn< PSpinVector< T, N >, FnTimesMinusI >::Type_t QDP::timesMinusI ( const PSpinVector< T, N > & s1)
inline

PSpinVector = -i * PSpinVector.

Definition at line 529 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and timesMinusI().

◆ where()

template<class T1, class T2, class T3, int N>
TrinaryReturn< PScalar< T1 >, PSpinVector< T2, N >, PSpinVector< T3, N >, FnWhere >::Type_t QDP::where ( const PScalar< T1 > & a,
const PSpinVector< T2, N > & b,
const PSpinVector< T3, N > & c )
inline

◆ zero_rep()

template<class T, int N>
void QDP::zero_rep ( PSpinVector< T, N > & dest)
inline

dest = 0

Definition at line 650 of file qdp_primspinvec.h.

References QDP::PSpinVector< T, N >::elem(), and zero_rep().