QDP++

Topics

 Color matrix primitive
 Spin matrix primitive

Classes

class  QDP::PMatrix< T, N, C >
 Primitive Matrix class. More...
struct  QDP::UnaryReturn< PMatrix< T, N, C >, OpUnaryPlus >
struct  QDP::UnaryReturn< PMatrix< T, N, C >, OpUnaryMinus >
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, OpAdd >
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, OpAdd >
struct  QDP::BinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, OpAdd >
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, OpSubtract >
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, OpSubtract >
struct  QDP::BinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, OpSubtract >
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, OpMultiply >
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, OpAdjMultiply >
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, OpMultiplyAdj >
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, OpAdjMultiplyAdj >
struct  QDP::BinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, OpMultiply >
struct  QDP::BinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, OpAdjMultiply >
struct  QDP::BinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, OpMultiplyAdj >
struct  QDP::BinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, OpAdjMultiplyAdj >
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, OpMultiply >
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, OpAdjMultiply >
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, OpMultiplyAdj >
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, OpAdjMultiplyAdj >
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, OpDivide >
struct  QDP::UnaryReturn< PMatrix< T1, N, C >, FnIsNan >
 isnan More...
struct  QDP::UnaryReturn< PMatrix< T1, N, C >, FnIsInf >
 isinf More...
struct  QDP::UnaryReturn< PMatrix< T1, N, C >, FnIsNormal >
 isnormal More...
struct  QDP::UnaryReturn< PMatrix< T1, N, C >, FnIsFinite >
 isfinite More...
struct  QDP::UnaryReturn< PMatrix< T, N, C >, FnAdjoint >
struct  QDP::UnaryReturn< PMatrix< T, N, C >, FnConjugate >
struct  QDP::UnaryReturn< PMatrix< T, N, C >, FnTranspose >
struct  QDP::UnaryReturn< PMatrix< T, N, C >, FnTrace >
struct  QDP::UnaryReturn< PMatrix< T, N, C >, FnRealTrace >
struct  QDP::UnaryReturn< PMatrix< T, N, C >, FnImagTrace >
 PScalar = Im(Trace(PMatrix)). More...
struct  QDP::UnaryReturn< PMatrix< T, N, C >, FnTraceColor >
 PMatrix = traceColor(PMatrix) [this is an identity in general]. More...
struct  QDP::UnaryReturn< PMatrix< T, N, C >, FnTraceSpin >
 PMatrix = traceSpin(PMatrix) [this is an identity in general]. More...
struct  QDP::UnaryReturn< PMatrix< T, N, C >, FnTransposeColor >
 PMatrix = transposeColor(PMatrix) [ this is an identity in general]. More...
struct  QDP::UnaryReturn< PMatrix< T, N, C >, FnTransposeSpin >
 PMatrix = transposeSpin(PMatrix) [ this is an identity in general]. More...
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, FnTraceMultiply >
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, FnTraceMultiply >
struct  QDP::BinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, FnTraceMultiply >
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, FnTraceColorMultiply >
 PMatrix = traceColorMultiply(PMatrix,PMatrix) [the trace is an identity in general]. More...
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, FnTraceColorMultiply >
struct  QDP::BinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, FnTraceColorMultiply >
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, FnTraceSpinMultiply >
 PMatrix = traceSpinMultiply(PMatrix,PMatrix) [the trace is an identity in general]. More...
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, FnTraceSpinMultiply >
struct  QDP::BinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, FnTraceSpinMultiply >
struct  QDP::UnaryReturn< PMatrix< T, N, C >, FnReal >
 PMatrix = Re(PMatrix). More...
struct  QDP::UnaryReturn< PMatrix< T, N, C >, FnImag >
 PMatrix = Im(PMatrix). More...
struct  QDP::UnaryReturn< PMatrix< T, N, C >, FnTimesI >
 PMatrix = i * PMatrix. More...
struct  QDP::UnaryReturn< PMatrix< T, N, C >, FnTimesMinusI >
 PMatrix = -i * PMatrix. More...
struct  QDP::UnaryReturn< PMatrix< T, N, C >, FnGetSite >
 dest [some type] = source [some type] More...
struct  QDP::UnaryReturn< PMatrix< T, N, C >, FnPeekColorVector >
 Extract color vector components. More...
struct  QDP::UnaryReturn< PMatrix< T, N, C >, FnPeekColorMatrix >
 Extract color matrix components. More...
struct  QDP::UnaryReturn< PMatrix< T, N, C >, FnPeekSpinVector >
 Extract spin vector components. More...
struct  QDP::UnaryReturn< PMatrix< T, N, C >, FnPeekSpinMatrix >
 Extract spin matrix components. More...
struct  QDP::UnaryReturn< PMatrix< T, N, C >, FnPokeColorMatrix >
 Insert color vector components. More...
struct  QDP::UnaryReturn< PMatrix< T, N, C >, FnPokeSpinMatrix >
 Insert spin vector components. More...
struct  QDP::UnaryReturn< PMatrix< T, N, C >, FnNorm2 >
struct  QDP::UnaryReturn< PMatrix< T, N, C >, FnLocalNorm2 >
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, FnInnerProduct >
 PScalar = innerProduct(PMatrix,PMatrix). More...
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, FnLocalInnerProduct >
 PScalar = localInnerProduct(PMatrix,PMatrix). More...
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, FnLocalInnerProduct >
 PScalar = localInnerProduct(PMatrix,PScalar). More...
struct  QDP::BinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, FnLocalInnerProduct >
 PScalar = localInnerProduct(PScalar,PMatrix). More...
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, FnInnerProductReal >
 PScalar = innerProductReal(PMatrix,PMatrix). More...
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, FnLocalInnerProductReal >
 PScalar = innerProductReal(PMatrix,PMatrix). More...
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, FnLocalInnerProductReal >
 PScalar = localInnerProductReal(PMatrix,PScalar). More...
struct  QDP::BinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, FnLocalInnerProductReal >
 PScalar = localInnerProductReal(PScalar,PMatrix). More...
struct  QDP::TrinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, PMatrix< T3, N, C >, FnWhere >
 PMatrix<T> = where(PScalar, PMatrix, PMatrix). More...

Functions

template<class T, int N, template< class, int > class C>
TextReaderQDP::operator>> (TextReader &txt, PMatrix< T, N, C > &d)
 Text input.
template<class T, int N, template< class, int > class C>
TextWriterQDP::operator<< (TextWriter &txt, const PMatrix< T, N, C > &d)
 Text output.
template<class T1, int N, template< class, int > class C>
UnaryReturn< PMatrix< T1, N, C >, OpUnaryPlus >::Type_t QDP::operator+ (const PMatrix< T1, N, C > &l)
template<class T1, int N, template< class, int > class C>
UnaryReturn< PMatrix< T1, N, C >, OpUnaryMinus >::Type_t QDP::operator- (const PMatrix< T1, N, C > &l)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, OpAdd >::Type_t QDP::operator+ (const PMatrix< T1, N, C > &l, const PMatrix< T2, N, C > &r)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, OpAdd >::Type_t QDP::operator+ (const PMatrix< T1, N, C > &l, const PScalar< T2 > &r)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, OpAdd >::Type_t QDP::operator+ (const PScalar< T1 > &l, const PMatrix< T2, N, C > &r)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, OpSubtract >::Type_t QDP::operator- (const PMatrix< T1, N, C > &l, const PMatrix< T2, N, C > &r)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, OpSubtract >::Type_t QDP::operator- (const PMatrix< T1, N, C > &l, const PScalar< T2 > &r)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, OpSubtract >::Type_t QDP::operator- (const PScalar< T1 > &l, const PMatrix< T2, N, C > &r)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, OpMultiply >::Type_t QDP::operator* (const PMatrix< T1, N, C > &l, const PScalar< T2 > &r)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, OpAdjMultiply >::Type_t QDP::adjMultiply (const PMatrix< T1, N, C > &l, const PScalar< T2 > &r)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, OpMultiplyAdj >::Type_t QDP::multiplyAdj (const PMatrix< T1, N, C > &l, const PScalar< T2 > &r)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, OpAdjMultiplyAdj >::Type_t QDP::adjMultiplyAdj (const PMatrix< T1, N, C > &l, const PScalar< T2 > &r)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, OpMultiply >::Type_t QDP::operator* (const PScalar< T1 > &l, const PMatrix< T2, N, C > &r)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, OpAdjMultiply >::Type_t QDP::adjMultiply (const PScalar< T1 > &l, const PMatrix< T2, N, C > &r)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, OpMultiplyAdj >::Type_t QDP::multiplyAdj (const PScalar< T1 > &l, const PMatrix< T2, N, C > &r)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, OpAdjMultiplyAdj >::Type_t QDP::adjMultiplyAdj (const PScalar< T1 > &l, const PMatrix< T2, N, C > &r)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, OpMultiply >::Type_t QDP::operator* (const PMatrix< T1, N, C > &l, const PMatrix< T2, N, C > &r)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, OpAdjMultiply >::Type_t QDP::adjMultiply (const PMatrix< T1, N, C > &l, const PMatrix< T2, N, C > &r)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, OpMultiplyAdj >::Type_t QDP::multiplyAdj (const PMatrix< T1, N, C > &l, const PMatrix< T2, N, C > &r)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, OpAdjMultiplyAdj >::Type_t QDP::adjMultiplyAdj (const PMatrix< T1, N, C > &l, const PMatrix< T2, N, C > &r)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, OpDivide >::Type_t QDP::operator/ (const PMatrix< T1, N, C > &l, const PScalar< T2 > &r)
template<class T1, int N, template< class, int > class C>
bool QDP::isnan (const PMatrix< T1, N, C > &l)
template<class T1, int N, template< class, int > class C>
bool QDP::isinf (const PMatrix< T1, N, C > &l)
template<class T1, int N, template< class, int > class C>
bool QDP::isnormal (const PMatrix< T1, N, C > &l)
template<class T1, int N, template< class, int > class C>
bool QDP::isfinite (const PMatrix< T1, N, C > &l)
template<class T1, int N, template< class, int > class C>
UnaryReturn< PMatrix< T1, N, C >, FnAdjoint >::Type_t QDP::adj (const PMatrix< T1, N, C > &l)
template<class T1, int N, template< class, int > class C>
UnaryReturn< PMatrix< T1, N, C >, FnConjugate >::Type_t QDP::conj (const PMatrix< T1, N, C > &l)
template<class T1, int N, template< class, int > class C>
UnaryReturn< PMatrix< T1, N, C >, FnTranspose >::Type_t QDP::transpose (const PMatrix< T1, N, C > &l)
template<class T, int N, template< class, int > class C>
UnaryReturn< PMatrix< T, N, C >, FnTrace >::Type_t QDP::trace (const PMatrix< T, N, C > &s1)
template<class T1, int N, template< class, int > class C>
UnaryReturn< PMatrix< T1, N, C >, FnRealTrace >::Type_t QDP::realTrace (const PMatrix< T1, N, C > &s1)
template<class T1, int N, template< class, int > class C>
UnaryReturn< PMatrix< T1, N, C >, FnImagTrace >::Type_t QDP::imagTrace (const PMatrix< T1, N, C > &s1)
template<class T, int N, template< class, int > class C>
UnaryReturn< PMatrix< T, N, C >, FnTraceColor >::Type_t QDP::traceColor (const PMatrix< T, N, C > &s1)
template<class T, int N, template< class, int > class C>
UnaryReturn< PMatrix< T, N, C >, FnTraceSpin >::Type_t QDP::traceSpin (const PMatrix< T, N, C > &s1)
template<class T, int N, template< class, int > class C>
UnaryReturn< PMatrix< T, N, C >, FnTransposeColor >::Type_t QDP::transposeColor (const PMatrix< T, N, C > &s1)
template<class T, int N, template< class, int > class C>
UnaryReturn< PMatrix< T, N, C >, FnTransposeSpin >::Type_t QDP::transposeSpin (const PMatrix< T, N, C > &s1)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, FnTraceMultiply >::Type_t QDP::traceMultiply (const PMatrix< T1, N, C > &l, const PMatrix< T2, N, C > &r)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, FnTraceMultiply >::Type_t QDP::traceMultiply (const PMatrix< T1, N, C > &l, const PScalar< T2 > &r)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, FnTraceMultiply >::Type_t QDP::traceMultiply (const PScalar< T1 > &l, const PMatrix< T2, N, C > &r)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, FnTraceColorMultiply >::Type_t QDP::traceColorMultiply (const PMatrix< T1, N, C > &l, const PMatrix< T2, N, C > &r)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, FnTraceColorMultiply >::Type_t QDP::traceColorMultiply (const PMatrix< T1, N, C > &l, const PScalar< T2 > &r)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, FnTraceColorMultiply >::Type_t QDP::traceColorMultiply (const PScalar< T1 > &l, const PMatrix< T2, N, C > &r)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, FnTraceSpinMultiply >::Type_t QDP::traceSpinMultiply (const PMatrix< T1, N, C > &l, const PMatrix< T2, N, C > &r)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, FnTraceSpinMultiply >::Type_t QDP::traceSpinMultiply (const PMatrix< T1, N, C > &l, const PScalar< T2 > &r)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, FnTraceSpinMultiply >::Type_t QDP::traceSpinMultiply (const PScalar< T1 > &l, const PMatrix< T2, N, C > &r)
template<class T, int N, template< class, int > class C>
UnaryReturn< PMatrix< T, N, C >, FnReal >::Type_t QDP::real (const PMatrix< T, N, C > &s1)
template<class T, int N, template< class, int > class C>
UnaryReturn< PMatrix< T, N, C >, FnImag >::Type_t QDP::imag (const PMatrix< T, N, C > &s1)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, FnCmplx >::Type_t QDP::cmplx (const PMatrix< T1, N, C > &s1, const PMatrix< T2, N, C > &s2)
 PMatrix<T> = (PMatrix<T> , PMatrix<T>).
template<class T, int N, template< class, int > class C>
UnaryReturn< PMatrix< T, N, C >, FnTimesI >::Type_t QDP::timesI (const PMatrix< T, N, C > &s1)
template<class T, int N, template< class, int > class C>
UnaryReturn< PMatrix< T, N, C >, FnTimesMinusI >::Type_t QDP::timesMinusI (const PMatrix< T, N, C > &s1)
template<class T, int N, template< class, int > class C>
UnaryReturn< PMatrix< T, N, C >, FnGetSite >::Type_t QDP::getSite (const PMatrix< T, N, C > &s1, int innersite)
template<class T, int N, template< class, int > class C>
UnaryReturn< PMatrix< T, N, C >, FnPeekColorVector >::Type_t QDP::peekColor (const PMatrix< T, N, C > &l, int row)
template<class T, int N, template< class, int > class C>
UnaryReturn< PMatrix< T, N, C >, FnPeekColorMatrix >::Type_t QDP::peekColor (const PMatrix< T, N, C > &l, int row, int col)
template<class T, int N, template< class, int > class C>
UnaryReturn< PMatrix< T, N, C >, FnPeekSpinVector >::Type_t QDP::peekSpin (const PMatrix< T, N, C > &l, int row)
template<class T, int N, template< class, int > class C>
UnaryReturn< PMatrix< T, N, C >, FnPeekSpinMatrix >::Type_t QDP::peekSpin (const PMatrix< T, N, C > &l, int row, int col)
template<class T1, class T2, int N, template< class, int > class C>
UnaryReturn< PMatrix< T1, N, C >, FnPokeColorMatrix >::Type_tQDP::pokeColor (PMatrix< T1, N, C > &l, const PMatrix< T2, N, C > &r, int row)
template<class T1, class T2, int N, template< class, int > class C>
UnaryReturn< PMatrix< T1, N, C >, FnPokeColorMatrix >::Type_tQDP::pokeColor (PMatrix< T1, N, C > &l, const PMatrix< T2, N, C > &r, int row, int col)
 Insert color matrix components.
template<class T1, class T2, int N, template< class, int > class C>
UnaryReturn< PMatrix< T1, N, C >, FnPokeSpinMatrix >::Type_tQDP::pokeSpin (PMatrix< T1, N, C > &l, const PMatrix< T2, N, C > &r, int row)
template<class T1, class T2, int N, template< class, int > class C>
UnaryReturn< PMatrix< T1, N, C >, FnPokeSpinMatrix >::Type_tQDP::pokeSpin (PMatrix< T1, N, C > &l, const PMatrix< T2, N, C > &r, int row, int col)
 Insert spin matrix components.
template<class T, int N, template< class, int > class C>
void QDP::zero_rep (PMatrix< T, N, C > &dest)
 dest = 0
template<class T, class T1, int N, template< class, int > class C>
void QDP::copymask (PMatrix< T, N, C > &d, const PScalar< T1 > &mask, const PMatrix< T, N, C > &s1)
 dest = (mask) ? s1 : dest
template<class T, class T1, int N, template< class, int > class C>
void QDP::copy_site (PMatrix< T, N, C > &d, int isite, const PMatrix< T1, N, C > &s1)
 dest [some type] = source [some type]
template<class T, class T1, int N, template< class, int > class C>
void QDP::copy_site (PMatrix< T, N, C > &d, int isite, const PScalar< T1 > &s1)
 dest [some type] = source [some type]
template<class T, class T1, int N, template< class, int > class C>
void QDP::gather_sites (PMatrix< T, N, C > &d, const PMatrix< T1, N, C > &s0, int i0, const PMatrix< T1, N, C > &s1, int i1, const PMatrix< T1, N, C > &s2, int i2, const PMatrix< T1, N, C > &s3, int i3)
 gather several inner sites together
template<class T, int N, template< class, int > class C, class T1, class T2>
void QDP::fill_random (PMatrix< T, N, C > &d, T1 &seed, T2 &skewed_seed, const T1 &seed_mult)
 dest = random
template<class T, int N, template< class, int > class C>
void QDP::fill_gaussian (PMatrix< T, N, C > &d, PMatrix< T, N, C > &r1, PMatrix< T, N, C > &r2)
 dest = gaussian
template<class T, int N, template< class, int > class C>
UnaryReturn< PMatrix< T, N, C >, FnLocalNorm2 >::Type_t QDP::localNorm2 (const PMatrix< T, N, C > &s1)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, FnLocalInnerProduct >::Type_t QDP::localInnerProduct (const PMatrix< T1, N, C > &s1, const PMatrix< T2, N, C > &s2)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, FnLocalInnerProduct >::Type_t QDP::localInnerProduct (const PMatrix< T1, N, C > &s1, const PScalar< T2 > &s2)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, FnLocalInnerProduct >::Type_t QDP::localInnerProduct (const PScalar< T1 > &s1, const PMatrix< T2, N, C > &s2)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, FnLocalInnerProductReal >::Type_t QDP::localInnerProductReal (const PMatrix< T1, N, C > &s1, const PMatrix< T2, N, C > &s2)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, FnLocalInnerProductReal >::Type_t QDP::localInnerProductReal (const PMatrix< T1, N, C > &s1, const PScalar< T2 > &s2)
template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, FnLocalInnerProductReal >::Type_t QDP::localInnerProductReal (const PScalar< T1 > &s1, const PMatrix< T2, N, C > &s2)
template<class T1, class T2, class T3, int N, template< class, int > class C>
TrinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, PMatrix< T3, N, C >, FnWhere >::Type_t QDP::where (const PScalar< T1 > &a, const PMatrix< T2, N, C > &b, const PMatrix< T3, N, C > &c)

Detailed Description

Primitive type that transforms like a matrix

Function Documentation

◆ adj()

template<class T1, int N, template< class, int > class C>
UnaryReturn< PMatrix< T1, N, C >, FnAdjoint >::Type_t QDP::adj ( const PMatrix< T1, N, C > & l)
inline

Definition at line 846 of file qdp_primmatrix.h.

References adj(), and QDP::PMatrix< T, N, C >::elem().

◆ adjMultiply() [1/3]

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

Definition at line 674 of file qdp_primmatrix.h.

References adjMultiply(), and QDP::PMatrix< T, N, C >::elem().

◆ adjMultiply() [2/3]

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

◆ adjMultiply() [3/3]

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

◆ adjMultiplyAdj() [1/3]

template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, OpAdjMultiplyAdj >::Type_t QDP::adjMultiplyAdj ( const PMatrix< T1, N, C > & l,
const PMatrix< T2, N, C > & r )
inline

Definition at line 720 of file qdp_primmatrix.h.

References adjMultiplyAdj(), and QDP::PMatrix< T, N, C >::elem().

◆ adjMultiplyAdj() [2/3]

template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, OpAdjMultiplyAdj >::Type_t QDP::adjMultiplyAdj ( const PMatrix< T1, N, C > & l,
const PScalar< T2 > & r )
inline

◆ adjMultiplyAdj() [3/3]

template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, OpAdjMultiplyAdj >::Type_t QDP::adjMultiplyAdj ( const PScalar< T1 > & l,
const PMatrix< T2, N, C > & r )
inline

◆ cmplx()

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

PMatrix<T> = (PMatrix<T> , PMatrix<T>).

Definition at line 1277 of file qdp_primmatrix.h.

References cmplx(), and QDP::PMatrix< T, N, C >::elem().

◆ conj()

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

Definition at line 866 of file qdp_primmatrix.h.

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

◆ copy_site() [1/2]

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

dest [some type] = source [some type]

Definition at line 1519 of file qdp_primmatrix.h.

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

◆ copy_site() [2/2]

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

dest [some type] = source [some type]

Definition at line 1529 of file qdp_primmatrix.h.

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

◆ copymask()

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

dest = (mask) ? s1 : dest

Definition at line 1508 of file qdp_primmatrix.h.

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

◆ fill_gaussian()

template<class T, int N, template< class, int > class C>
void QDP::fill_gaussian ( PMatrix< T, N, C > & d,
PMatrix< T, N, C > & r1,
PMatrix< T, N, C > & r2 )
inline

dest = gaussian

Definition at line 1570 of file qdp_primmatrix.h.

References QDP::PMatrix< T, N, C >::elem(), and fill_gaussian().

◆ fill_random()

template<class T, int N, template< class, int > class C, class T1, class T2>
void QDP::fill_random ( PMatrix< T, N, C > & d,
T1 & seed,
T2 & skewed_seed,
const T1 & seed_mult )
inline

dest = random

Definition at line 1559 of file qdp_primmatrix.h.

References QDP::PMatrix< T, N, C >::elem(), and fill_random().

◆ gather_sites()

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

gather several inner sites together

Definition at line 1540 of file qdp_primmatrix.h.

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

◆ getSite()

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

Definition at line 1339 of file qdp_primmatrix.h.

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

◆ imag()

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

Definition at line 1262 of file qdp_primmatrix.h.

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

◆ imagTrace()

template<class T1, int N, template< class, int > class C>
UnaryReturn< PMatrix< T1, N, C >, FnImagTrace >::Type_t QDP::imagTrace ( const PMatrix< T1, N, C > & s1)
inline

Definition at line 947 of file qdp_primmatrix.h.

References QDP::PMatrix< T, N, C >::elem(), and imagTrace().

◆ isfinite()

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

Definition at line 823 of file qdp_primmatrix.h.

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

◆ isinf()

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

Definition at line 785 of file qdp_primmatrix.h.

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

◆ isnan()

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

Definition at line 766 of file qdp_primmatrix.h.

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

◆ isnormal()

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

Definition at line 804 of file qdp_primmatrix.h.

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

◆ localInnerProduct() [1/3]

template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, FnLocalInnerProduct >::Type_t QDP::localInnerProduct ( const PMatrix< T1, N, C > & s1,
const PMatrix< T2, N, C > & s2 )
inline

Definition at line 1644 of file qdp_primmatrix.h.

References QDP::PMatrix< T, N, C >::elem(), and localInnerProduct().

◆ localInnerProduct() [2/3]

template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, FnLocalInnerProduct >::Type_t QDP::localInnerProduct ( const PMatrix< T1, N, C > & s1,
const PScalar< T2 > & s2 )
inline

◆ localInnerProduct() [3/3]

template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, FnLocalInnerProduct >::Type_t QDP::localInnerProduct ( const PScalar< T1 > & s1,
const PMatrix< T2, N, C > & s2 )
inline

◆ localInnerProductReal() [1/3]

template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, FnLocalInnerProductReal >::Type_t QDP::localInnerProductReal ( const PMatrix< T1, N, C > & s1,
const PMatrix< T2, N, C > & s2 )
inline

Definition at line 1715 of file qdp_primmatrix.h.

References QDP::PMatrix< T, N, C >::elem(), and localInnerProductReal().

◆ localInnerProductReal() [2/3]

template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, FnLocalInnerProductReal >::Type_t QDP::localInnerProductReal ( const PMatrix< T1, N, C > & s1,
const PScalar< T2 > & s2 )
inline

◆ localInnerProductReal() [3/3]

template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, FnLocalInnerProductReal >::Type_t QDP::localInnerProductReal ( const PScalar< T1 > & s1,
const PMatrix< T2, N, C > & s2 )
inline

◆ localNorm2()

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

Definition at line 1614 of file qdp_primmatrix.h.

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

◆ multiplyAdj() [1/3]

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

Definition at line 697 of file qdp_primmatrix.h.

References QDP::PMatrix< T, N, C >::elem(), and multiplyAdj().

◆ multiplyAdj() [2/3]

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

◆ multiplyAdj() [3/3]

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

◆ operator*() [1/3]

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

Definition at line 651 of file qdp_primmatrix.h.

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

◆ operator*() [2/3]

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

Definition at line 504 of file qdp_primmatrix.h.

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

◆ operator*() [3/3]

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

Definition at line 578 of file qdp_primmatrix.h.

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

◆ operator+() [1/4]

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

Definition at line 348 of file qdp_primmatrix.h.

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

◆ operator+() [2/4]

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

Definition at line 388 of file qdp_primmatrix.h.

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

◆ operator+() [3/4]

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

Definition at line 407 of file qdp_primmatrix.h.

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

◆ operator+() [4/4]

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

Definition at line 426 of file qdp_primmatrix.h.

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

◆ operator-() [1/4]

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

Definition at line 368 of file qdp_primmatrix.h.

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

◆ operator-() [2/4]

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

Definition at line 446 of file qdp_primmatrix.h.

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

◆ operator-() [3/4]

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

Definition at line 465 of file qdp_primmatrix.h.

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

◆ operator-() [4/4]

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

Definition at line 484 of file qdp_primmatrix.h.

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

◆ operator/()

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

Definition at line 744 of file qdp_primmatrix.h.

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

◆ operator<<()

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

Text output.

Definition at line 181 of file qdp_primmatrix.h.

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

◆ operator>>()

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

Text input.

Definition at line 169 of file qdp_primmatrix.h.

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

◆ peekColor() [1/2]

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

Definition at line 1359 of file qdp_primmatrix.h.

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

◆ peekColor() [2/2]

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

Definition at line 1378 of file qdp_primmatrix.h.

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

◆ peekSpin() [1/2]

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

Definition at line 1397 of file qdp_primmatrix.h.

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

◆ peekSpin() [2/2]

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

Definition at line 1416 of file qdp_primmatrix.h.

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

◆ pokeColor() [1/2]

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

Definition at line 1435 of file qdp_primmatrix.h.

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

◆ pokeColor() [2/2]

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

Insert color matrix components.

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

Definition at line 1449 of file qdp_primmatrix.h.

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

◆ pokeSpin() [1/2]

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

Definition at line 1468 of file qdp_primmatrix.h.

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

◆ pokeSpin() [2/2]

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

Insert spin matrix components.

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

Definition at line 1482 of file qdp_primmatrix.h.

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

◆ real()

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

Definition at line 1242 of file qdp_primmatrix.h.

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

◆ realTrace()

template<class T1, int N, template< class, int > class C>
UnaryReturn< PMatrix< T1, N, C >, FnRealTrace >::Type_t QDP::realTrace ( const PMatrix< T1, N, C > & s1)
inline

Definition at line 927 of file qdp_primmatrix.h.

References QDP::PMatrix< T, N, C >::elem(), and realTrace().

◆ timesI()

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

Definition at line 1300 of file qdp_primmatrix.h.

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

◆ timesMinusI()

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

Definition at line 1319 of file qdp_primmatrix.h.

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

◆ trace()

template<class T, int N, template< class, int > class C>
UnaryReturn< PMatrix< T, N, C >, FnTrace >::Type_t QDP::trace ( const PMatrix< T, N, C > & s1)
inline

Definition at line 907 of file qdp_primmatrix.h.

References QDP::PMatrix< T, N, C >::elem(), and trace().

◆ traceColor()

template<class T, int N, template< class, int > class C>
UnaryReturn< PMatrix< T, N, C >, FnTraceColor >::Type_t QDP::traceColor ( const PMatrix< T, N, C > & s1)
inline

Definition at line 967 of file qdp_primmatrix.h.

References QDP::PMatrix< T, N, C >::elem(), and traceColor().

◆ traceColorMultiply() [1/3]

template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, FnTraceColorMultiply >::Type_t QDP::traceColorMultiply ( const PMatrix< T1, N, C > & l,
const PMatrix< T2, N, C > & r )
inline

Definition at line 1118 of file qdp_primmatrix.h.

References QDP::PMatrix< T, N, C >::elem(), and traceColorMultiply().

◆ traceColorMultiply() [2/3]

template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, FnTraceColorMultiply >::Type_t QDP::traceColorMultiply ( const PMatrix< T1, N, C > & l,
const PScalar< T2 > & r )
inline

◆ traceColorMultiply() [3/3]

template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, FnTraceColorMultiply >::Type_t QDP::traceColorMultiply ( const PScalar< T1 > & l,
const PMatrix< T2, N, C > & r )
inline

◆ traceMultiply() [1/3]

template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, FnTraceMultiply >::Type_t QDP::traceMultiply ( const PMatrix< T1, N, C > & l,
const PMatrix< T2, N, C > & r )
inline

◆ traceMultiply() [2/3]

template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, FnTraceMultiply >::Type_t QDP::traceMultiply ( const PMatrix< T1, N, C > & l,
const PScalar< T2 > & r )
inline

◆ traceMultiply() [3/3]

template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, FnTraceMultiply >::Type_t QDP::traceMultiply ( const PScalar< T1 > & l,
const PMatrix< T2, N, C > & r )
inline

◆ traceSpin()

template<class T, int N, template< class, int > class C>
UnaryReturn< PMatrix< T, N, C >, FnTraceSpin >::Type_t QDP::traceSpin ( const PMatrix< T, N, C > & s1)
inline

Definition at line 987 of file qdp_primmatrix.h.

References QDP::PMatrix< T, N, C >::elem(), and traceSpin().

◆ traceSpinMultiply() [1/3]

template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, FnTraceSpinMultiply >::Type_t QDP::traceSpinMultiply ( const PMatrix< T1, N, C > & l,
const PMatrix< T2, N, C > & r )
inline

◆ traceSpinMultiply() [2/3]

template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, FnTraceSpinMultiply >::Type_t QDP::traceSpinMultiply ( const PMatrix< T1, N, C > & l,
const PScalar< T2 > & r )
inline

◆ traceSpinMultiply() [3/3]

template<class T1, class T2, int N, template< class, int > class C>
BinaryReturn< PScalar< T1 >, PMatrix< T2, N, C >, FnTraceSpinMultiply >::Type_t QDP::traceSpinMultiply ( const PScalar< T1 > & l,
const PMatrix< T2, N, C > & r )
inline

◆ transpose()

template<class T1, int N, template< class, int > class C>
UnaryReturn< PMatrix< T1, N, C >, FnTranspose >::Type_t QDP::transpose ( const PMatrix< T1, N, C > & l)
inline

Definition at line 886 of file qdp_primmatrix.h.

References QDP::PMatrix< T, N, C >::elem(), and transpose().

◆ transposeColor()

template<class T, int N, template< class, int > class C>
UnaryReturn< PMatrix< T, N, C >, FnTransposeColor >::Type_t QDP::transposeColor ( const PMatrix< T, N, C > & s1)
inline

define the function itself.Recurse down elements of the primmatrix and call transposeColor on each one

Definition at line 1010 of file qdp_primmatrix.h.

References QDP::PMatrix< T, N, C >::elem(), and transposeColor().

◆ transposeSpin()

template<class T, int N, template< class, int > class C>
UnaryReturn< PMatrix< T, N, C >, FnTransposeSpin >::Type_t QDP::transposeSpin ( const PMatrix< T, N, C > & s1)
inline

define the function itself.Recurse down elements of the primmatrix and call transposeSpin on each one

Definition at line 1034 of file qdp_primmatrix.h.

References QDP::PMatrix< T, N, C >::elem(), and transposeSpin().

◆ where()

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

◆ zero_rep()

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

dest = 0

Definition at line 1497 of file qdp_primmatrix.h.

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