QDP++
qdp_primmatrix.h File Reference

Primitive Matrix. More...

Go to the source code of this file.

Classes

class  QDP::PMatrix< T, N, C >
 Primitive Matrix class. More...
struct  QDP::WordType< PMatrix< T1, N, C > >
struct  QDP::SinglePrecType< PMatrix< T1, N, C > >
struct  QDP::DoublePrecType< PMatrix< T1, N, C > >
struct  QDP::InternalScalar< PMatrix< T, N, C > >
struct  QDP::PrimitiveScalar< PMatrix< T, N, C > >
struct  QDP::LatticeScalar< PMatrix< T, N, C > >
struct  QDP::UnaryReturn< PMatrix< T, N, C >, OpIdentity >
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, OpAssign >
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, OpAddAssign >
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PMatrix< T2, N, C >, OpSubtractAssign >
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, OpAssign >
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, OpAddAssign >
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, OpSubtractAssign >
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, OpMultiplyAssign >
struct  QDP::BinaryReturn< PMatrix< T1, N, C >, PScalar< T2 >, OpDivideAssign >
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...

Namespaces

namespace  QDP
 Yet another random number generator.

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 Matrix.

Definition in file qdp_primmatrix.h.