QDP++

Classes

class  QDP::RComplex< T >
 Reality complex. More...
struct  QDP::UnaryReturn< RComplex< T >, FnTrace >
struct  QDP::UnaryReturn< RComplex< T >, FnRealTrace >
struct  QDP::UnaryReturn< RComplex< T >, FnImagTrace >
struct  QDP::UnaryReturn< RComplex< T >, FnReal >
struct  QDP::UnaryReturn< RComplex< T >, FnImag >
struct  QDP::BinaryReturn< RScalar< T1 >, RScalar< T2 >, FnCmplx >
 RComplex<T> = (RScalar<T> , RScalar<T>). More...
struct  QDP::UnaryReturn< RScalar< T >, FnTimesI >
struct  QDP::UnaryReturn< RScalar< T >, FnTimesMinusI >
struct  QDP::UnaryReturn< RComplex< T >, FnSum >
struct  QDP::UnaryReturn< RComplex< T >, FnSumMulti >
struct  QDP::UnaryReturn< RComplex< T >, FnNorm2 >
struct  QDP::UnaryReturn< RComplex< T >, FnLocalNorm2 >
struct  QDP::BinaryReturn< RComplex< T1 >, RComplex< T2 >, FnInnerProduct >
 RComplex<T> = InnerProduct(adj(RComplex<T1>)*RComplex<T2>). More...
struct  QDP::BinaryReturn< RComplex< T1 >, RComplex< T2 >, FnLocalInnerProduct >
struct  QDP::BinaryReturn< RComplex< T1 >, RComplex< T2 >, FnInnerProductReal >
 RScalar<T> = InnerProductReal(adj(RComplex<T1>)*RComplex<T1>). More...
struct  QDP::BinaryReturn< RComplex< T1 >, RComplex< T2 >, FnLocalInnerProductReal >
struct  QDP::BinaryReturn< RComplex< T1 >, RComplex< T2 >, FnLocalColorInnerProduct >
 RComplex<T> = localColorInnerProduct(adj(RComplex<T1>)*RComplex<T2>). More...
struct  QDP::TrinaryReturn< RScalar< T1 >, RComplex< T2 >, RComplex< T3 >, FnWhere >
 RComplex<T> = where(RScalar, RComplex, RComplex). More...
struct  QDP::TrinaryReturn< RScalar< T1 >, RComplex< T2 >, RScalar< T3 >, FnWhere >
 RComplex<T> = where(RScalar, RComplex, RScalar). More...
struct  QDP::TrinaryReturn< RScalar< T1 >, RScalar< T2 >, RComplex< T3 >, FnWhere >
 RComplex<T> = where(RScalar, RScalar, RComplex). More...

Functions

template<class T>
std::ostream & QDP::operator<< (std::ostream &s, const RComplex< T > &d)
 Stream output.
template<class T>
StandardOutputStreamQDP::operator<< (StandardOutputStream &s, const RComplex< T > &d)
 Stream output.
template<class T>
TextReaderQDP::operator>> (TextReader &s, RComplex< T > &d)
 Text input.
template<class T>
TextWriterQDP::operator<< (TextWriter &s, const RComplex< T > &d)
 Text output.
template<class T1>
UnaryReturn< RComplex< T1 >, OpUnaryPlus >::Type_t QDP::operator+ (const RComplex< T1 > &l)
 RComplex = +RComplex.
template<class T1>
UnaryReturn< RComplex< T1 >, OpUnaryMinus >::Type_t QDP::operator- (const RComplex< T1 > &l)
 RComplex = -RComplex.
template<class T1, class T2>
BinaryReturn< RComplex< T1 >, RComplex< T2 >, OpAdd >::Type_t QDP::operator+ (const RComplex< T1 > &l, const RComplex< T2 > &r)
 RComplex = RComplex + RComplex.
template<class T1, class T2>
BinaryReturn< RComplex< T1 >, RScalar< T2 >, OpAdd >::Type_t QDP::operator+ (const RComplex< T1 > &l, const RScalar< T2 > &r)
 RComplex = RComplex + RScalar.
template<class T1, class T2>
BinaryReturn< RScalar< T1 >, RComplex< T2 >, OpAdd >::Type_t QDP::operator+ (const RScalar< T1 > &l, const RComplex< T2 > &r)
 RComplex = RScalar + RComplex.
template<class T1, class T2>
BinaryReturn< RComplex< T1 >, RComplex< T2 >, OpSubtract >::Type_t QDP::operator- (const RComplex< T1 > &l, const RComplex< T2 > &r)
 RComplex = RComplex - RComplex.
template<class T1, class T2>
BinaryReturn< RComplex< T1 >, RScalar< T2 >, OpSubtract >::Type_t QDP::operator- (const RComplex< T1 > &l, const RScalar< T2 > &r)
 RComplex = RComplex - RScalar.
template<class T1, class T2>
BinaryReturn< RScalar< T1 >, RComplex< T2 >, OpSubtract >::Type_t QDP::operator- (const RScalar< T1 > &l, const RComplex< T2 > &r)
 RComplex = RScalar - RComplex.
template<class T1, class T2>
BinaryReturn< RComplex< T1 >, RComplex< T2 >, OpMultiply >::Type_t QDP::operator* (const RComplex< T1 > &__restrict__ l, const RComplex< T2 > &__restrict__ r)
 RComplex = RComplex * RComplex.
template<class T1, class T2>
BinaryReturn< RScalar< T1 >, RComplex< T2 >, OpMultiply >::Type_t QDP::operator* (const RScalar< T1 > &l, const RComplex< T2 > &r)
 RComplex = RScalar * RComplex.
template<class T1, class T2>
BinaryReturn< RComplex< T1 >, RScalar< T2 >, OpMultiply >::Type_t QDP::operator* (const RComplex< T1 > &l, const RScalar< T2 > &r)
 RComplex = RComplex * RScalar.
template<class T1, class T2>
BinaryReturn< RComplex< T1 >, RComplex< T2 >, OpAdjMultiply >::Type_t QDP::adjMultiply (const RComplex< T1 > &l, const RComplex< T2 > &r)
template<class T1, class T2>
BinaryReturn< RComplex< T1 >, RComplex< T2 >, OpMultiplyAdj >::Type_t QDP::multiplyAdj (const RComplex< T1 > &l, const RComplex< T2 > &r)
template<class T1, class T2>
BinaryReturn< RComplex< T1 >, RComplex< T2 >, OpAdjMultiplyAdj >::Type_t QDP::adjMultiplyAdj (const RComplex< T1 > &l, const RComplex< T2 > &r)
template<class T1, class T2>
BinaryReturn< RComplex< T1 >, RComplex< T2 >, OpDivide >::Type_t QDP::operator/ (const RComplex< T1 > &l, const RComplex< T2 > &r)
 RComplex = RComplex / RComplex.
template<class T1, class T2>
BinaryReturn< RComplex< T1 >, RScalar< T2 >, OpDivide >::Type_t QDP::operator/ (const RComplex< T1 > &l, const RScalar< T2 > &r)
 RComplex = RComplex / RScalar.
template<class T1, class T2>
BinaryReturn< RScalar< T1 >, RComplex< T2 >, OpDivide >::Type_t QDP::operator/ (const RScalar< T1 > &l, const RComplex< T2 > &r)
 RComplex = RScalar / RComplex.
template<class T1>
bool QDP::isnan (const RComplex< T1 > &s1)
 isnan
template<class T1>
bool QDP::isinf (const RComplex< T1 > &s1)
 isinf
template<class T1>
bool QDP::isnormal (const RComplex< T1 > &s1)
 isnormal
template<class T1>
bool QDP::isfinite (const RComplex< T1 > &s1)
 isfinite
template<class T1>
UnaryReturn< RComplex< T1 >, FnAdjoint >::Type_t QDP::adj (const RComplex< T1 > &l)
template<class T1>
UnaryReturn< RComplex< T1 >, FnConjugate >::Type_t QDP::conj (const RComplex< T1 > &l)
template<class T1>
UnaryReturn< RComplex< T1 >, FnTranspose >::Type_t QDP::transpose (const RComplex< T1 > &l)
template<class T1>
UnaryReturn< RComplex< T1 >, FnTrace >::Type_t QDP::trace (const RComplex< T1 > &s1)
template<class T1>
UnaryReturn< RComplex< T1 >, FnRealTrace >::Type_t QDP::realTrace (const RComplex< T1 > &s1)
template<class T1>
UnaryReturn< RComplex< T1 >, FnImagTrace >::Type_t QDP::imagTrace (const RComplex< T1 > &s1)
template<class T1, class T2>
BinaryReturn< RComplex< T1 >, RComplex< T2 >, OpMultiply >::Type_t QDP::traceMultiply (const RComplex< T1 > &l, const RComplex< T2 > &r)
 RComplex = trace(RComplex * RComplex).
template<class T1>
UnaryReturn< RComplex< T1 >, FnReal >::Type_t QDP::real (const RComplex< T1 > &s1)
template<class T1>
UnaryReturn< RComplex< T1 >, FnImag >::Type_t QDP::imag (const RComplex< T1 > &s1)
template<class T1, class T2>
BinaryReturn< RScalar< T1 >, RScalar< T2 >, FnCmplx >::Type_t QDP::cmplx (const RScalar< T1 > &s1, const RScalar< T2 > &s2)
template<class T>
UnaryReturn< RScalar< T >, FnTimesI >::Type_t QDP::timesI (const RScalar< T > &s1)
template<class T>
UnaryReturn< RComplex< T >, FnTimesI >::Type_t QDP::timesI (const RComplex< T > &s1)
template<class T>
UnaryReturn< RScalar< T >, FnTimesMinusI >::Type_t QDP::timesMinusI (const RScalar< T > &s1)
template<class T>
UnaryReturn< RComplex< T >, FnTimesMinusI >::Type_t QDP::timesMinusI (const RComplex< T > &s1)
template<class T1, class T2>
BinaryReturn< RComplex< T1 >, RComplex< T2 >, FnOuterProduct >::Type_t QDP::outerProduct (const RComplex< T1 > &l, const RComplex< T2 > &r)
 RComplex = outerProduct(RComplex, RComplex).
template<class T1, class T2>
BinaryReturn< RComplex< T1 >, RScalar< T2 >, FnOuterProduct >::Type_t QDP::outerProduct (const RComplex< T1 > &l, const RScalar< T2 > &r)
 RComplex = outerProduct(RComplex, RScalar).
template<class T1, class T2>
BinaryReturn< RScalar< T1 >, RComplex< T2 >, FnOuterProduct >::Type_t QDP::outerProduct (const RScalar< T1 > &l, const RComplex< T2 > &r)
 RComplex = outerProduct(RScalar, RComplex).
template<class T>
UnaryReturn< RComplex< T >, FnGetSite >::Type_t QDP::getSite (const RComplex< T > &s1, int innersite)
 dest [some type] = source [some type]
template<class T, class T1>
void QDP::copymask (RComplex< T > &d, const RScalar< T1 > &mask, const RComplex< T > &s1)
 dest = (mask) ? s1 : dest
template<class T>
UnaryReturn< RComplex< T >, FnSum >::Type_t QDP::sum (const RComplex< T > &s1)
template<class T>
UnaryReturn< RComplex< T >, FnLocalNorm2 >::Type_t QDP::localNorm2 (const RComplex< T > &s1)
template<class T1, class T2>
BinaryReturn< RComplex< T1 >, RComplex< T2 >, FnLocalInnerProduct >::Type_t QDP::localInnerProduct (const RComplex< T1 > &l, const RComplex< T2 > &r)
template<class T1, class T2>
BinaryReturn< RComplex< T1 >, RComplex< T2 >, FnLocalInnerProductReal >::Type_t QDP::localInnerProductReal (const RComplex< T1 > &l, const RComplex< T2 > &r)
template<class T1, class T2>
BinaryReturn< RComplex< T1 >, RComplex< T2 >, FnLocalColorInnerProduct >::Type_t QDP::localColorInnerProduct (const RComplex< T1 > &l, const RComplex< T2 > &r)
template<class T1, class T2, class T3>
TrinaryReturn< RScalar< T1 >, RComplex< T2 >, RComplex< T3 >, FnWhere >::Type_t QDP::where (const RScalar< T1 > &a, const RComplex< T2 > &b, const RComplex< T3 > &c)
template<class T1, class T2, class T3>
TrinaryReturn< RScalar< T1 >, RComplex< T2 >, RComplex< T3 >, FnWhere >::Type_t QDP::where (const RScalar< T1 > &a, const RComplex< T2 > &b, const RScalar< T3 > &c)
template<class T1, class T2, class T3>
TrinaryReturn< RScalar< T1 >, RScalar< T2 >, RComplex< T3 >, FnWhere >::Type_t QDP::where (const RScalar< T1 > &a, const RScalar< T2 > &b, const RComplex< T3 > &c)
template<class T>
void QDP::zero_rep (RComplex< T > &dest)
 dest = 0
template<class T, class T1, class T2>
void QDP::fill_random (RComplex< T > &d, T1 &seed, T2 &skewed_seed, const T1 &seed_mult)
 dest = random
template<class T>
void QDP::fill_gaussian (RComplex< T > &d, RComplex< T > &r1, RComplex< T > &r2)
 dest = gaussian

Variables

class QDP::RComplex QDP::QDP_ALIGN8

Detailed Description

Reality Complex is a type for objects that hold a real and imaginary part

Function Documentation

◆ adj()

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

NOTE: removed transpose here !!!!!

Definition at line 2079 of file qdp_reality.h.

References QDP::RComplex< T >::imag(), and QDP::RComplex< T >::real().

◆ adjMultiply()

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

NOTE: removed transpose here !!!!!

Definition at line 1944 of file qdp_reality.h.

References QDP::RComplex< T >::imag(), and QDP::RComplex< T >::real().

◆ adjMultiplyAdj()

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

NOTE: removed transpose here !!!!!

Definition at line 1981 of file qdp_reality.h.

References QDP::RComplex< T >::imag(), and QDP::RComplex< T >::real().

◆ cmplx()

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

Definition at line 2218 of file qdp_reality.h.

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

◆ conj()

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

Definition at line 2096 of file qdp_reality.h.

References QDP::RComplex< T >::imag(), and QDP::RComplex< T >::real().

◆ copymask()

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

dest = (mask) ? s1 : dest

Definition at line 2340 of file qdp_reality.h.

References copymask(), QDP::RScalar< T >::elem(), QDP::RComplex< T >::imag(), and QDP::RComplex< T >::real().

◆ fill_gaussian()

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

dest = gaussian

RComplex polar method

Definition at line 2544 of file qdp_reality.h.

References cos(), QDP::RComplex< T >::imag(), log(), QDP::RComplex< T >::real(), sin(), and sqrt().

◆ fill_random()

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

dest = random

Definition at line 2533 of file qdp_reality.h.

References fill_random(), QDP::RComplex< T >::imag(), and QDP::RComplex< T >::real().

◆ getSite()

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

dest [some type] = source [some type]

Portable (internal) way of returning a single site

Definition at line 2328 of file qdp_reality.h.

References getSite(), QDP::RComplex< T >::imag(), and QDP::RComplex< T >::real().

◆ imag()

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

Definition at line 2204 of file qdp_reality.h.

References QDP::RComplex< T >::imag().

◆ imagTrace()

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

NOTE: removed trace here !!!!!

Definition at line 2162 of file qdp_reality.h.

References QDP::RComplex< T >::imag().

◆ isfinite()

template<class T1>
bool QDP::isfinite ( const RComplex< T1 > & s1)
inline

isfinite

Definition at line 2067 of file qdp_reality.h.

References QDP::RComplex< T >::imag(), isfinite(), and QDP::RComplex< T >::real().

◆ isinf()

template<class T1>
bool QDP::isinf ( const RComplex< T1 > & s1)
inline

isinf

Definition at line 2051 of file qdp_reality.h.

References QDP::RComplex< T >::imag(), isinf(), and QDP::RComplex< T >::real().

◆ isnan()

template<class T1>
bool QDP::isnan ( const RComplex< T1 > & s1)
inline

isnan

Definition at line 2043 of file qdp_reality.h.

References QDP::RComplex< T >::imag(), isnan(), and QDP::RComplex< T >::real().

◆ isnormal()

template<class T1>
bool QDP::isnormal ( const RComplex< T1 > & s1)
inline

isnormal

Definition at line 2059 of file qdp_reality.h.

References QDP::RComplex< T >::imag(), isnormal(), and QDP::RComplex< T >::real().

◆ localColorInnerProduct()

template<class T1, class T2>
BinaryReturn< RComplex< T1 >, RComplex< T2 >, FnLocalColorInnerProduct >::Type_t QDP::localColorInnerProduct ( const RComplex< T1 > & l,
const RComplex< T2 > & r )
inline

◆ localInnerProduct()

template<class T1, class T2>
BinaryReturn< RComplex< T1 >, RComplex< T2 >, FnLocalInnerProduct >::Type_t QDP::localInnerProduct ( const RComplex< T1 > & l,
const RComplex< T2 > & r )
inline

◆ localInnerProductReal()

template<class T1, class T2>
BinaryReturn< RComplex< T1 >, RComplex< T2 >, FnLocalInnerProductReal >::Type_t QDP::localInnerProductReal ( const RComplex< T1 > & l,
const RComplex< T2 > & r )
inline

◆ localNorm2()

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

◆ multiplyAdj()

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

NOTE: removed transpose here !!!!!

Definition at line 1963 of file qdp_reality.h.

References QDP::RComplex< T >::imag(), and QDP::RComplex< T >::real().

◆ operator*() [1/3]

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

◆ operator*() [2/3]

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

◆ operator*() [3/3]

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

◆ operator+() [1/4]

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

◆ operator+() [2/4]

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

◆ operator+() [3/4]

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

◆ operator+() [4/4]

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

◆ operator-() [1/4]

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

◆ operator-() [2/4]

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

◆ operator-() [3/4]

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

◆ operator-() [4/4]

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

◆ operator/() [1/3]

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

◆ operator/() [2/3]

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

◆ operator/() [3/3]

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

◆ operator<<() [1/3]

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

Stream output.

Definition at line 404 of file qdp_reality.h.

References QDP::RComplex< T >::imag(), and QDP::RComplex< T >::real().

◆ operator<<() [2/3]

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

Stream output.

Definition at line 395 of file qdp_reality.h.

References QDP::RComplex< T >::imag(), and QDP::RComplex< T >::real().

◆ operator<<() [3/3]

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

Text output.

Definition at line 421 of file qdp_reality.h.

References QDP::RComplex< T >::imag(), and QDP::RComplex< T >::real().

◆ operator>>()

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

Text input.

Definition at line 413 of file qdp_reality.h.

References QDP::RComplex< T >::imag(), and QDP::RComplex< T >::real().

◆ outerProduct() [1/3]

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

RComplex = outerProduct(RComplex, RComplex).

Definition at line 2290 of file qdp_reality.h.

References QDP::RComplex< T >::imag(), and QDP::RComplex< T >::real().

◆ outerProduct() [2/3]

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

RComplex = outerProduct(RComplex, RScalar).

Definition at line 2302 of file qdp_reality.h.

References QDP::RScalar< T >::elem(), QDP::RComplex< T >::imag(), and QDP::RComplex< T >::real().

◆ outerProduct() [3/3]

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

RComplex = outerProduct(RScalar, RComplex).

Definition at line 2314 of file qdp_reality.h.

References QDP::RScalar< T >::elem(), QDP::RComplex< T >::imag(), and QDP::RComplex< T >::real().

◆ real()

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

Definition at line 2191 of file qdp_reality.h.

References QDP::RComplex< T >::real().

◆ realTrace()

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

NOTE: removed trace here !!!!!

Definition at line 2147 of file qdp_reality.h.

References QDP::RComplex< T >::real().

◆ sum()

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

Definition at line 2356 of file qdp_reality.h.

References QDP::RComplex< T >::imag(), QDP::RComplex< T >::real(), and sum().

◆ timesI() [1/2]

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

Definition at line 2248 of file qdp_reality.h.

References QDP::RComplex< T >::imag(), and QDP::RComplex< T >::real().

◆ timesI() [2/2]

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

Definition at line 2236 of file qdp_reality.h.

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

◆ timesMinusI() [1/2]

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

Definition at line 2278 of file qdp_reality.h.

References QDP::RComplex< T >::imag(), and QDP::RComplex< T >::real().

◆ timesMinusI() [2/2]

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

Definition at line 2265 of file qdp_reality.h.

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

◆ trace()

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

NOTE: removed trace here !!!!!

Definition at line 2129 of file qdp_reality.h.

References QDP::RComplex< T >::imag(), and QDP::RComplex< T >::real().

◆ traceMultiply()

template<class T1, class T2>
BinaryReturn< RComplex< T1 >, RComplex< T2 >, OpMultiply >::Type_t QDP::traceMultiply ( const RComplex< T1 > & l,
const RComplex< T2 > & r )
inline

RComplex = trace(RComplex * RComplex).

NOTE: removed trace here !!!!!

Definition at line 2171 of file qdp_reality.h.

References QDP::RComplex< T >::imag(), and QDP::RComplex< T >::real().

◆ transpose()

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

NOTE: removed transpose here !!!!!

Definition at line 2107 of file qdp_reality.h.

References QDP::RComplex< T >::imag(), and QDP::RComplex< T >::real().

◆ where() [1/3]

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

◆ where() [2/3]

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

◆ where() [3/3]

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

◆ zero_rep()

template<class T>
void QDP::zero_rep ( RComplex< T > & dest)
inline

dest = 0

Definition at line 2523 of file qdp_reality.h.

References QDP::RComplex< T >::imag(), QDP::RComplex< T >::real(), and zero_rep().

Variable Documentation

◆ QDP_ALIGN8

class QDP::RComplex QDP::QDP_ALIGN8