QDP++

Classes

class  QDP::IScalar< T >
 Scalar inner lattice. More...
struct  QDP::UnaryReturn< IScalar< T >, OpNot >
struct  QDP::BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpLeftShift >
struct  QDP::BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpRightShift >
struct  QDP::BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpLT >
struct  QDP::BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpLE >
struct  QDP::BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpGT >
struct  QDP::BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpGE >
struct  QDP::BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpEQ >
struct  QDP::BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpNE >
struct  QDP::BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpAnd >
struct  QDP::BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpOr >
struct  QDP::UnaryReturn< IScalar< T >, FnGetSite >
 dest [some type] = source [some type] More...
struct  QDP::UnaryReturn< IScalar< T >, FnSum >
struct  QDP::UnaryReturn< IScalar< T >, FnGlobalMax >
struct  QDP::UnaryReturn< IScalar< T >, FnGlobalMin >
struct  QDP::UnaryReturn< IScalar< T >, FnSumMulti >
struct  QDP::UnaryReturn< IScalar< T >, FnNorm2 >
struct  QDP::UnaryReturn< IScalar< T >, FnLocalNorm2 >
struct  QDP::BinaryReturn< IScalar< T1 >, IScalar< T2 >, FnInnerProduct >
 IScalar = InnerProduct(adj(IScalar)*IScalar). More...
struct  QDP::BinaryReturn< IScalar< T1 >, IScalar< T2 >, FnLocalInnerProduct >
struct  QDP::BinaryReturn< IScalar< T1 >, IScalar< T2 >, FnLocalColorInnerProduct >
 IScalar = localColorInnerProduct(adj(IScalar)*IScalar). More...
struct  QDP::TrinaryReturn< IScalar< T1 >, IScalar< T2 >, IScalar< T3 >, FnWhere >
 IScalar = where(IScalar, IScalar, IScalar). More...

Functions

template<class T>
std::istream & QDP::operator>> (std::istream &s, IScalar< T > &d)
 Ascii input.
template<class T>
StandardInputStreamQDP::operator>> (StandardInputStream &is, IScalar< T > &d)
 Ascii input.
template<class T>
std::ostream & QDP::operator<< (std::ostream &s, const IScalar< T > &d)
 Ascii output.
template<class T>
StandardOutputStreamQDP::operator<< (StandardOutputStream &os, const IScalar< T > &d)
 Ascii output.
template<class T>
TextReaderQDP::operator>> (TextReader &s, IScalar< T > &d)
 Text input.
template<class T>
TextWriterQDP::operator<< (TextWriter &s, const IScalar< T > &d)
 Text output.
template<class T1>
UnaryReturn< IScalar< T1 >, OpNot >::Type_t QDP::operator! (const IScalar< T1 > &l)
template<class T1>
UnaryReturn< IScalar< T1 >, OpUnaryPlus >::Type_t QDP::operator+ (const IScalar< T1 > &l)
template<class T1>
UnaryReturn< IScalar< T1 >, OpUnaryMinus >::Type_t QDP::operator- (const IScalar< T1 > &l)
template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpAdd >::Type_t QDP::operator+ (const IScalar< T1 > &l, const IScalar< T2 > &r)
template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpSubtract >::Type_t QDP::operator- (const IScalar< T1 > &l, const IScalar< T2 > &r)
template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpMultiply >::Type_t QDP::operator* (const IScalar< T1 > &l, const IScalar< T2 > &r)
template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpAdjMultiply >::Type_t QDP::adjMultiply (const IScalar< T1 > &l, const IScalar< T2 > &r)
template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpMultiplyAdj >::Type_t QDP::multiplyAdj (const IScalar< T1 > &l, const IScalar< T2 > &r)
template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpAdjMultiplyAdj >::Type_t QDP::adjMultiplyAdj (const IScalar< T1 > &l, const IScalar< T2 > &r)
template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpDivide >::Type_t QDP::operator/ (const IScalar< T1 > &l, const IScalar< T2 > &r)
template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpLeftShift >::Type_t QDP::operator<< (const IScalar< T1 > &l, const IScalar< T2 > &r)
template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpRightShift >::Type_t QDP::operator>> (const IScalar< T1 > &l, const IScalar< T2 > &r)
template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpMod >::Type_t QDP::operator% (const IScalar< T1 > &l, const IScalar< T2 > &r)
template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpBitwiseXor >::Type_t QDP::operator^ (const IScalar< T1 > &l, const IScalar< T2 > &r)
template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpBitwiseAnd >::Type_t QDP::operator& (const IScalar< T1 > &l, const IScalar< T2 > &r)
template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpBitwiseOr >::Type_t QDP::operator| (const IScalar< T1 > &l, const IScalar< T2 > &r)
template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpLT >::Type_t QDP::operator< (const IScalar< T1 > &l, const IScalar< T2 > &r)
template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpLE >::Type_t QDP::operator<= (const IScalar< T1 > &l, const IScalar< T2 > &r)
template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpGT >::Type_t QDP::operator> (const IScalar< T1 > &l, const IScalar< T2 > &r)
template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpGE >::Type_t QDP::operator>= (const IScalar< T1 > &l, const IScalar< T2 > &r)
template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpEQ >::Type_t QDP::operator== (const IScalar< T1 > &l, const IScalar< T2 > &r)
template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpNE >::Type_t QDP::operator!= (const IScalar< T1 > &l, const IScalar< T2 > &r)
template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpAnd >::Type_t QDP::operator&& (const IScalar< T1 > &l, const IScalar< T2 > &r)
template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpOr >::Type_t QDP::operator|| (const IScalar< T1 > &l, const IScalar< T2 > &r)
template<class T1>
UnaryReturn< IScalar< T1 >, FnAdjoint >::Type_t QDP::adj (const IScalar< T1 > &s1)
template<class T1>
UnaryReturn< IScalar< T1 >, FnConjugate >::Type_t QDP::conj (const IScalar< T1 > &s1)
template<class T1>
UnaryReturn< IScalar< T1 >, FnTranspose >::Type_t QDP::transpose (const IScalar< T1 > &s1)
template<class T1>
UnaryReturn< IScalar< T1 >, FnTrace >::Type_t QDP::trace (const IScalar< T1 > &s1)
template<class T1>
UnaryReturn< IScalar< T1 >, FnRealTrace >::Type_t QDP::trace_real (const IScalar< T1 > &s1)
template<class T1>
UnaryReturn< IScalar< T1 >, FnImagTrace >::Type_t QDP::trace_imag (const IScalar< T1 > &s1)
template<class T1>
UnaryReturn< IScalar< T1 >, FnReal >::Type_t QDP::real (const IScalar< T1 > &s1)
template<class T1>
UnaryReturn< IScalar< T1 >, FnImag >::Type_t QDP::imag (const IScalar< T1 > &s1)
template<class T1>
UnaryReturn< IScalar< T1 >, FnArcCos >::Type_t QDP::acos (const IScalar< T1 > &s1)
template<class T1>
UnaryReturn< IScalar< T1 >, FnArcSin >::Type_t QDP::asin (const IScalar< T1 > &s1)
template<class T1>
UnaryReturn< IScalar< T1 >, FnArcTan >::Type_t QDP::atan (const IScalar< T1 > &s1)
template<class T1>
UnaryReturn< IScalar< T1 >, FnCos >::Type_t QDP::cos (const IScalar< T1 > &s1)
template<class T1>
UnaryReturn< IScalar< T1 >, FnExp >::Type_t QDP::exp (const IScalar< T1 > &s1)
template<class T1>
UnaryReturn< IScalar< T1 >, FnFabs >::Type_t QDP::fabs (const IScalar< T1 > &s1)
template<class T1>
UnaryReturn< IScalar< T1 >, FnLog >::Type_t QDP::log (const IScalar< T1 > &s1)
template<class T1>
UnaryReturn< IScalar< T1 >, FnSin >::Type_t QDP::sin (const IScalar< T1 > &s1)
template<class T1>
UnaryReturn< IScalar< T1 >, FnSqrt >::Type_t QDP::sqrt (const IScalar< T1 > &s1)
template<class T1>
UnaryReturn< IScalar< T1 >, FnTan >::Type_t QDP::tan (const IScalar< T1 > &s1)
template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, FnPow >::Type_t QDP::pow (const IScalar< T1 > &s1, const IScalar< T2 > &s2)
 IScalar = pow(IScalar, IScalar).
template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, FnArcTan2 >::Type_t QDP::atan2 (const IScalar< T1 > &s1, const IScalar< T2 > &s2)
 IScalar = atan2(IScalar, IScalar).
template<class T1>
UnaryReturn< IScalar< T1 >, FnSeedToFloat >::Type_t QDP::seedToFloat (const IScalar< T1 > &s1)
 dest [float type] = source [seed type]
template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, FnOuterProduct >::Type_t QDP::outerProduct (const IScalar< T1 > &l, const IScalar< T2 > &r)
 IScalar = outerProduct(IScalar, IScalar).
template<class T>
UnaryReturn< IScalar< T >, FnGetSite >::Type_t QDP::getSite (const IScalar< T > &s1, int innersite)
template<class T>
int QDP::toInt (const IScalar< T > &s)
 QDP Int to int primitive in conversion routine.
template<class T>
float QDP::toFloat (const IScalar< T > &s)
 QDP Real to float primitive in conversion routine.
template<class T>
double QDP::toDouble (const IScalar< T > &s)
 QDP Double to double primitive in conversion routine.
template<class T>
bool QDP::toBool (const IScalar< T > &s)
 QDP Boolean to bool primitive in conversion routine.
template<class T>
WordType< IScalar< T > > QDP::toWordType (const IScalar< T > &s)
 QDP Wordtype to primitive wordtype.
template<class T, class T1>
void QDP::copymask (IScalar< T > &d, const IScalar< T1 > &mask, const IScalar< T > &s1)
 dest = (mask) ? s1 : dest
template<class T, class T1>
void QDP::cast_rep (T &d, const IScalar< T1 > &s1)
 dest [float type] = source [int type]
template<class T, class T1>
void QDP::recast_rep (IScalar< T > &d, const IScalar< T1 > &s1)
 dest [float type] = source [int type]
template<class T, class T1>
void QDP::copy_site (IScalar< T > &d, int isite, const IScalar< T1 > &s1)
 dest [some type] = source [some type]
template<class T>
UnaryReturn< IScalar< T >, FnSum >::Type_t QDP::sum (const IScalar< T > &s1)
template<class T>
UnaryReturn< IScalar< T >, FnGlobalMax >::Type_t QDP::globalMax (const IScalar< T > &s1)
template<class T>
UnaryReturn< IScalar< T >, FnGlobalMin >::Type_t QDP::globalMin (const IScalar< T > &s1)
template<class T>
UnaryReturn< IScalar< T >, FnLocalNorm2 >::Type_t QDP::localNorm2 (const IScalar< T > &s1)
template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, FnLocalInnerProduct >::Type_t QDP::localInnerProduct (const IScalar< T1 > &s1, const IScalar< T2 > &s2)
template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, FnLocalColorInnerProduct >::Type_t QDP::localColorInnerProduct (const IScalar< T1 > &s1, const IScalar< T2 > &s2)
template<class T1, class T2, class T3>
TrinaryReturn< IScalar< T1 >, IScalar< T2 >, IScalar< T3 >, FnWhere >::Type_t QDP::where (const IScalar< T1 > &a, const IScalar< T2 > &b, const IScalar< T3 > &c)
template<class T>
void QDP::zero_rep (IScalar< T > &dest)
 dest = 0
template<class T, class T1, class T2>
void QDP::fill_random (IScalar< T > &d, T1 &seed, T2 &skewed_seed, const T1 &seed_mult)
 dest = random
template<class T>
void QDP::fill_gaussian (IScalar< T > &d, IScalar< T > &r1, IScalar< T > &r2)
 dest = gaussian

Detailed Description

Inner grid scalar means sites are the slowest varying index. There can still be an Outer grid.

Function Documentation

◆ acos()

template<class T1>
UnaryReturn< IScalar< T1 >, FnArcCos >::Type_t QDP::acos ( const IScalar< T1 > & s1)
inline

Definition at line 1473 of file qdp_inner.h.

References acos(), and QDP::IScalar< T >::elem().

◆ adj()

template<class T1>
UnaryReturn< IScalar< T1 >, FnAdjoint >::Type_t QDP::adj ( const IScalar< T1 > & s1)
inline

Definition at line 1401 of file qdp_inner.h.

References adj(), and QDP::IScalar< T >::elem().

◆ adjMultiply()

◆ adjMultiplyAdj()

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

◆ asin()

template<class T1>
UnaryReturn< IScalar< T1 >, FnArcSin >::Type_t QDP::asin ( const IScalar< T1 > & s1)
inline

Definition at line 1482 of file qdp_inner.h.

References asin(), and QDP::IScalar< T >::elem().

◆ atan()

template<class T1>
UnaryReturn< IScalar< T1 >, FnArcTan >::Type_t QDP::atan ( const IScalar< T1 > & s1)
inline

Definition at line 1491 of file qdp_inner.h.

References atan(), and QDP::IScalar< T >::elem().

◆ atan2()

template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, FnArcTan2 >::Type_t QDP::atan2 ( const IScalar< T1 > & s1,
const IScalar< T2 > & s2 )
inline

IScalar = atan2(IScalar, IScalar).

Definition at line 1572 of file qdp_inner.h.

References atan2(), and QDP::IScalar< T >::elem().

◆ cast_rep()

template<class T, class T1>
void QDP::cast_rep ( T & d,
const IScalar< T1 > & s1 )
inline

◆ conj()

template<class T1>
UnaryReturn< IScalar< T1 >, FnConjugate >::Type_t QDP::conj ( const IScalar< T1 > & s1)
inline

Definition at line 1410 of file qdp_inner.h.

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

◆ copy_site()

◆ copymask()

template<class T, class T1>
void QDP::copymask ( IScalar< T > & d,
const IScalar< T1 > & mask,
const IScalar< T > & s1 )
inline

◆ cos()

template<class T1>
UnaryReturn< IScalar< T1 >, FnCos >::Type_t QDP::cos ( const IScalar< T1 > & s1)
inline

Definition at line 1500 of file qdp_inner.h.

References cos(), and QDP::IScalar< T >::elem().

◆ exp()

template<class T1>
UnaryReturn< IScalar< T1 >, FnExp >::Type_t QDP::exp ( const IScalar< T1 > & s1)
inline

Definition at line 1509 of file qdp_inner.h.

References QDP::IScalar< T >::elem(), and exp().

◆ fabs()

template<class T1>
UnaryReturn< IScalar< T1 >, FnFabs >::Type_t QDP::fabs ( const IScalar< T1 > & s1)
inline

Definition at line 1518 of file qdp_inner.h.

References QDP::IScalar< T >::elem(), and fabs().

◆ fill_gaussian()

template<class T>
void QDP::fill_gaussian ( IScalar< T > & d,
IScalar< T > & r1,
IScalar< T > & r2 )
inline

◆ fill_random()

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

dest = random

Definition at line 1852 of file qdp_inner.h.

References QDP::IScalar< T >::elem(), and fill_random().

◆ getSite()

◆ globalMax()

template<class T>
UnaryReturn< IScalar< T >, FnGlobalMax >::Type_t QDP::globalMax ( const IScalar< T > & s1)
inline

Definition at line 1734 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ globalMin()

template<class T>
UnaryReturn< IScalar< T >, FnGlobalMin >::Type_t QDP::globalMin ( const IScalar< T > & s1)
inline

Definition at line 1750 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ imag()

template<class T1>
UnaryReturn< IScalar< T1 >, FnImag >::Type_t QDP::imag ( const IScalar< T1 > & s1)
inline

Definition at line 1464 of file qdp_inner.h.

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

◆ localColorInnerProduct()

template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, FnLocalColorInnerProduct >::Type_t QDP::localColorInnerProduct ( const IScalar< T1 > & s1,
const IScalar< T2 > & s2 )
inline

Definition at line 1810 of file qdp_inner.h.

References QDP::IScalar< T >::elem(), and localColorInnerProduct().

◆ localInnerProduct()

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

Definition at line 1796 of file qdp_inner.h.

References QDP::IScalar< T >::elem(), and localInnerProduct().

◆ localNorm2()

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

Definition at line 1776 of file qdp_inner.h.

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

◆ log()

template<class T1>
UnaryReturn< IScalar< T1 >, FnLog >::Type_t QDP::log ( const IScalar< T1 > & s1)
inline

Definition at line 1527 of file qdp_inner.h.

References QDP::IScalar< T >::elem(), and log().

◆ multiplyAdj()

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

◆ operator!()

template<class T1>
UnaryReturn< IScalar< T1 >, OpNot >::Type_t QDP::operator! ( const IScalar< T1 > & l)
inline

Definition at line 1127 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ operator!=()

template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpNE >::Type_t QDP::operator!= ( const IScalar< T1 > & l,
const IScalar< T2 > & r )
inline

Definition at line 1360 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ operator%()

template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpMod >::Type_t QDP::operator% ( const IScalar< T1 > & l,
const IScalar< T2 > & r )
inline

Definition at line 1246 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ operator&()

template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpBitwiseAnd >::Type_t QDP::operator& ( const IScalar< T1 > & l,
const IScalar< T2 > & r )
inline

Definition at line 1264 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ operator&&()

template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpAnd >::Type_t QDP::operator&& ( const IScalar< T1 > & l,
const IScalar< T2 > & r )
inline

Definition at line 1374 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ operator*()

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

Definition at line 1172 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ operator+() [1/2]

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

Definition at line 1136 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ operator+() [2/2]

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

Definition at line 1154 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ operator-() [1/2]

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

Definition at line 1145 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ operator-() [2/2]

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

Definition at line 1163 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ operator/()

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

Definition at line 1208 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ operator<()

template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpLT >::Type_t QDP::operator< ( const IScalar< T1 > & l,
const IScalar< T2 > & r )
inline

Definition at line 1289 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ operator<<() [1/4]

template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpLeftShift >::Type_t QDP::operator<< ( const IScalar< T1 > & l,
const IScalar< T2 > & r )
inline

Definition at line 1221 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ operator<<() [2/4]

template<class T>
StandardOutputStream & QDP::operator<< ( StandardOutputStream & os,
const IScalar< T > & d )

Ascii output.

Definition at line 194 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ operator<<() [3/4]

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

Ascii output.

Definition at line 187 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ operator<<() [4/4]

template<class T>
TextWriter & QDP::operator<< ( TextWriter & s,
const IScalar< T > & d )
inline

Text output.

Definition at line 211 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ operator<=()

template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpLE >::Type_t QDP::operator<= ( const IScalar< T1 > & l,
const IScalar< T2 > & r )
inline

Definition at line 1303 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ operator==()

template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpEQ >::Type_t QDP::operator== ( const IScalar< T1 > & l,
const IScalar< T2 > & r )
inline

Definition at line 1346 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ operator>()

template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpGT >::Type_t QDP::operator> ( const IScalar< T1 > & l,
const IScalar< T2 > & r )
inline

Definition at line 1318 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ operator>=()

template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpGE >::Type_t QDP::operator>= ( const IScalar< T1 > & l,
const IScalar< T2 > & r )
inline

Definition at line 1332 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ operator>>() [1/4]

template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpRightShift >::Type_t QDP::operator>> ( const IScalar< T1 > & l,
const IScalar< T2 > & r )
inline

Definition at line 1237 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ operator>>() [2/4]

template<class T>
StandardInputStream & QDP::operator>> ( StandardInputStream & is,
IScalar< T > & d )

Ascii input.

Definition at line 179 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ operator>>() [3/4]

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

Ascii input.

Definition at line 171 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ operator>>() [4/4]

template<class T>
TextReader & QDP::operator>> ( TextReader & s,
IScalar< T > & d )
inline

Text input.

Definition at line 203 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ operator^()

template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpBitwiseXor >::Type_t QDP::operator^ ( const IScalar< T1 > & l,
const IScalar< T2 > & r )
inline

Definition at line 1255 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ operator|()

template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpBitwiseOr >::Type_t QDP::operator| ( const IScalar< T1 > & l,
const IScalar< T2 > & r )
inline

Definition at line 1273 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ operator||()

template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, OpOr >::Type_t QDP::operator|| ( const IScalar< T1 > & l,
const IScalar< T2 > & r )
inline

Definition at line 1388 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ outerProduct()

template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, FnOuterProduct >::Type_t QDP::outerProduct ( const IScalar< T1 > & l,
const IScalar< T2 > & r )
inline

IScalar = outerProduct(IScalar, IScalar).

Definition at line 1590 of file qdp_inner.h.

References QDP::IScalar< T >::elem(), and outerProduct().

◆ pow()

template<class T1, class T2>
BinaryReturn< IScalar< T1 >, IScalar< T2 >, FnPow >::Type_t QDP::pow ( const IScalar< T1 > & s1,
const IScalar< T2 > & s2 )
inline

IScalar = pow(IScalar, IScalar).

Definition at line 1563 of file qdp_inner.h.

References QDP::IScalar< T >::elem(), and pow().

◆ real()

template<class T1>
UnaryReturn< IScalar< T1 >, FnReal >::Type_t QDP::real ( const IScalar< T1 > & s1)
inline

Definition at line 1455 of file qdp_inner.h.

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

◆ recast_rep()

template<class T, class T1>
void QDP::recast_rep ( IScalar< T > & d,
const IScalar< T1 > & s1 )
inline

dest [float type] = source [int type]

Definition at line 1673 of file qdp_inner.h.

References cast_rep(), and QDP::IScalar< T >::elem().

◆ seedToFloat()

template<class T1>
UnaryReturn< IScalar< T1 >, FnSeedToFloat >::Type_t QDP::seedToFloat ( const IScalar< T1 > & s1)
inline

dest [float type] = source [seed type]

Definition at line 1581 of file qdp_inner.h.

References QDP::IScalar< T >::elem(), and seedToFloat().

◆ sin()

template<class T1>
UnaryReturn< IScalar< T1 >, FnSin >::Type_t QDP::sin ( const IScalar< T1 > & s1)
inline

Definition at line 1536 of file qdp_inner.h.

References QDP::IScalar< T >::elem(), and sin().

◆ sqrt()

template<class T1>
UnaryReturn< IScalar< T1 >, FnSqrt >::Type_t QDP::sqrt ( const IScalar< T1 > & s1)
inline

Definition at line 1545 of file qdp_inner.h.

References QDP::IScalar< T >::elem(), and sqrt().

◆ sum()

template<class T>
UnaryReturn< IScalar< T >, FnSum >::Type_t QDP::sum ( const IScalar< T > & s1)
inline

Definition at line 1718 of file qdp_inner.h.

References QDP::IScalar< T >::elem().

◆ tan()

template<class T1>
UnaryReturn< IScalar< T1 >, FnTan >::Type_t QDP::tan ( const IScalar< T1 > & s1)
inline

Definition at line 1554 of file qdp_inner.h.

References QDP::IScalar< T >::elem(), and tan().

◆ toBool()

template<class T>
bool QDP::toBool ( const IScalar< T > & s)
inline

QDP Boolean to bool primitive in conversion routine.

Definition at line 1639 of file qdp_inner.h.

References QDP::IScalar< T >::elem(), and toBool().

Referenced by globalMax(), globalMax(), globalMin(), globalMin(), readArchiv(), toBool(), toBool(), toBool(), and toBool().

◆ toDouble()

template<class T>
double QDP::toDouble ( const IScalar< T > & s)
inline

QDP Double to double primitive in conversion routine.

Definition at line 1631 of file qdp_inner.h.

References QDP::IScalar< T >::elem(), and toDouble().

Referenced by toDouble(), toDouble(), toDouble(), and toDouble().

◆ toFloat()

template<class T>
float QDP::toFloat ( const IScalar< T > & s)
inline

QDP Real to float primitive in conversion routine.

Definition at line 1623 of file qdp_inner.h.

References QDP::IScalar< T >::elem(), and toFloat().

Referenced by computeChecksum(), toFloat(), toFloat(), toFloat(), toFloat(), and writeArchiv().

◆ toInt()

template<class T>
int QDP::toInt ( const IScalar< T > & s)
inline

QDP Int to int primitive in conversion routine.

Definition at line 1615 of file qdp_inner.h.

References QDP::IScalar< T >::elem(), and toInt().

Referenced by toInt(), toInt(), toInt(), and toInt().

◆ toWordType()

template<class T>
WordType< IScalar< T > > QDP::toWordType ( const IScalar< T > & s)
inline

QDP Wordtype to primitive wordtype.

Definition at line 1647 of file qdp_inner.h.

References QDP::IScalar< T >::elem(), and toWordType().

Referenced by toWordType(), toWordType(), toWordType(), and toWordType().

◆ trace()

template<class T1>
UnaryReturn< IScalar< T1 >, FnTrace >::Type_t QDP::trace ( const IScalar< T1 > & s1)
inline

Definition at line 1428 of file qdp_inner.h.

References QDP::IScalar< T >::elem(), and trace().

◆ trace_imag()

template<class T1>
UnaryReturn< IScalar< T1 >, FnImagTrace >::Type_t QDP::trace_imag ( const IScalar< T1 > & s1)
inline

Definition at line 1446 of file qdp_inner.h.

References QDP::IScalar< T >::elem(), and trace_imag().

Referenced by trace_imag(), and trace_imag().

◆ trace_real()

template<class T1>
UnaryReturn< IScalar< T1 >, FnRealTrace >::Type_t QDP::trace_real ( const IScalar< T1 > & s1)
inline

Definition at line 1437 of file qdp_inner.h.

References QDP::IScalar< T >::elem(), and trace_real().

Referenced by trace_real(), and trace_real().

◆ transpose()

template<class T1>
UnaryReturn< IScalar< T1 >, FnTranspose >::Type_t QDP::transpose ( const IScalar< T1 > & s1)
inline

Definition at line 1419 of file qdp_inner.h.

References QDP::IScalar< T >::elem(), and transpose().

◆ where()

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

Definition at line 1829 of file qdp_inner.h.

References QDP::IScalar< T >::elem(), and where().

◆ zero_rep()