|
QDP++
|
Primitive Spin Vector. More...
Go to the source code of this file.
Namespaces | |
| namespace | QDP |
| Yet another random number generator. | |
Functions | |
| template<class T, int N> | |
| std::istream & | QDP::operator>> (std::istream &s, PSpinVector< T, N > &d) |
| Stream input. | |
| template<class T, int N> | |
| StandardInputStream & | QDP::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> | |
| StandardOutputStream & | QDP::operator<< (StandardOutputStream &s, const PSpinVector< T, N > &d) |
| Stream output. | |
| template<class T, int N> | |
| TextReader & | QDP::operator>> (TextReader &txt, PSpinVector< T, N > &d) |
| Text input. | |
| template<class T, int N> | |
| TextWriter & | QDP::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_t & | QDP::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_t & | QDP::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_t & | QDP::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_t & | QDP::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 T1, class T2, int N> | |
| PScalar< typename BinaryReturn< T1, T2, FnLocalInnerProduct >::Type_t > | QDP::localInnerProduct (const PSpinVector< T1, N > &s1, const PSpinVector< T2, N > &s2) |
| template<class T1, class T2, int N> | |
| PScalar< typename BinaryReturn< T1, T2, FnLocalInnerProductReal >::Type_t > | QDP::localInnerProductReal (const PSpinVector< T1, N > &s1, const PSpinVector< T2, N > &s2) |
| template<class T, int N, class T1, class T2> | |
| void | QDP::fill_random (PSpinVector< T, N > &d, T1 &seed, T2 &skewed_seed, const T1 &seed_mult) |
| dest = random | |
| template<class T, int N> | |
| void | QDP::fill_gaussian (PSpinVector< T, N > &d, PSpinVector< T, N > &r1, PSpinVector< T, N > &r2) |
| dest = gaussian | |
| 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>. | |
Primitive Spin Vector.
Definition in file qdp_primspinvec.h.