QDP++
QDP::ILattice< T, N > Class Template Reference

#include <qdp_inner.h>

Public Member Functions

 ILattice ()
 ~ILattice ()
 ILattice (const typename WordType< T >::Type_t &rhs)
 construct dest = const
template<class T1>
 ILattice (const IScalar< T1 > &rhs)
 construct dest = rhs
template<class T1>
 ILattice (const ILattice< T1, N > &rhs)
 construct dest = rhs
template<class T1>
 ILattice (const T1 &rhs)
 construct dest = rhs
template<class T1>
ILatticeoperator= (const IScalar< T1 > &rhs)
 ILattice = IScalar.
template<class T1>
ILatticeoperator+= (const IScalar< T1 > &rhs)
 ILattice += IScalar.
template<class T1>
ILatticeoperator-= (const IScalar< T1 > &rhs)
 ILattice -= IScalar.
template<class T1>
ILatticeoperator*= (const IScalar< T1 > &rhs)
 ILattice *= IScalar.
template<class T1>
ILatticeoperator/= (const IScalar< T1 > &rhs)
 ILattice /= IScalar.
template<class T1>
ILatticeoperator%= (const IScalar< T1 > &rhs)
 ILattice %= IScalar.
template<class T1>
ILatticeoperator|= (const IScalar< T1 > &rhs)
 ILattice |= IScalar.
template<class T1>
ILatticeoperator&= (const IScalar< T1 > &rhs)
 ILattice &= IScalar.
template<class T1>
ILatticeoperator^= (const IScalar< T1 > &rhs)
 ILattice ^= IScalar.
template<class T1>
ILatticeoperator<<= (const IScalar< T1 > &rhs)
 ILattice <<= IScalar.
template<class T1>
ILatticeoperator>>= (const IScalar< T1 > &rhs)
 ILattice >>= IScalar.
template<class T1>
ILatticeoperator= (const ILattice< T1, N > &rhs)
 ILattice = ILattice.
template<class T1>
ILatticeoperator+= (const ILattice< T1, N > &rhs)
 ILattice += ILattice.
template<class T1>
ILatticeoperator-= (const ILattice< T1, N > &rhs)
 ILattice -= ILattice.
template<class T1>
ILatticeoperator*= (const ILattice< T1, N > &rhs)
 ILattice *= ILattice.
template<class T1>
ILatticeoperator/= (const ILattice< T1, N > &rhs)
 ILattice /= ILattice.
template<class T1>
ILatticeoperator%= (const ILattice< T1, N > &rhs)
 ILattice %= ILattice.
template<class T1>
ILatticeoperator|= (const ILattice< T1, N > &rhs)
 ILattice |= ILattice.
template<class T1>
ILatticeoperator&= (const ILattice< T1, N > &rhs)
 ILattice &= ILattice.
template<class T1>
ILatticeoperator^= (const ILattice< T1, N > &rhs)
 ILattice ^= ILattice.
template<class T1>
ILatticeoperator<<= (const ILattice< T1, N > &rhs)
 ILattice <<= ILattice.
template<class T1>
ILatticeoperator>>= (const ILattice< T1, N > &rhs)
 ILattice >>= ILattice.
 ILattice (const ILattice &a)
 Deep copy constructor.
T * data ()
 The backdoor.
T & elem (int i)
const T & elem (int i) const

Detailed Description

template<class T, int N>
class QDP::ILattice< T, N >

Definition at line 249 of file qdp_inner.h.

Constructor & Destructor Documentation

◆ ILattice() [1/6]

template<class T, int N>
QDP::ILattice< T, N >::ILattice ( )
inline

Definition at line 252 of file qdp_inner.h.

◆ ~ILattice()

template<class T, int N>
QDP::ILattice< T, N >::~ILattice ( )
inline

Definition at line 253 of file qdp_inner.h.

◆ ILattice() [2/6]

template<class T, int N>
QDP::ILattice< T, N >::ILattice ( const typename WordType< T >::Type_t & rhs)
inline

construct dest = const

Definition at line 257 of file qdp_inner.h.

◆ ILattice() [3/6]

template<class T, int N>
template<class T1>
QDP::ILattice< T, N >::ILattice ( const IScalar< T1 > & rhs)
inline

construct dest = rhs

Definition at line 265 of file qdp_inner.h.

◆ ILattice() [4/6]

template<class T, int N>
template<class T1>
QDP::ILattice< T, N >::ILattice ( const ILattice< T1, N > & rhs)
inline

construct dest = rhs

Definition at line 273 of file qdp_inner.h.

◆ ILattice() [5/6]

template<class T, int N>
template<class T1>
QDP::ILattice< T, N >::ILattice ( const T1 & rhs)
inline

construct dest = rhs

Definition at line 281 of file qdp_inner.h.

◆ ILattice() [6/6]

template<class T, int N>
QDP::ILattice< T, N >::ILattice ( const ILattice< T, N > & a)
inline

Deep copy constructor.

This is a copy form - legal but not necessarily efficient

Definition at line 559 of file qdp_inner.h.

Member Function Documentation

◆ data()

template<class T, int N>
T * QDP::ILattice< T, N >::data ( )
inline

The backdoor.

Used by optimization routines (e.g., SSE) that need the memory address of data. BTW: to make this a friend would be a real pain since functions are templatized.

Definition at line 573 of file qdp_inner.h.

Referenced by QDP::fill_random().

◆ elem() [1/2]

template<class T, int N>
T & QDP::ILattice< T, N >::elem ( int i)
inline

Definition at line 577 of file qdp_inner.h.

Referenced by QDP::acos(), QDP::adj(), QDP::adjMultiply(), QDP::adjMultiply(), QDP::adjMultiply(), QDP::adjMultiplyAdj(), QDP::adjMultiplyAdj(), QDP::adjMultiplyAdj(), QDP::asin(), QDP::atan(), QDP::atan2(), QDP::atan2(), QDP::atan2(), QDP::conj(), QDP::copy_site(), QDP::copymask(), QDP::cos(), QDP::exp(), QDP::fabs(), QDP::gather_sites(), QDP::gather_sites(), QDP::getSite(), QDP::globalMax(), QDP::globalMin(), QDP::ILattice< typename SinglePrecType< T >::Type_t, N >::ILattice(), QDP::ILattice< typename SinglePrecType< T >::Type_t, N >::ILattice(), QDP::ILattice< typename SinglePrecType< T >::Type_t, N >::ILattice(), QDP::ILattice< typename SinglePrecType< T >::Type_t, N >::ILattice(), QDP::imag(), QDP::localInnerProduct(), QDP::localInnerProduct(), QDP::localInnerProduct(), QDP::localNorm2(), QDP::log(), QDP::multiplyAdj(), QDP::multiplyAdj(), QDP::multiplyAdj(), QDP::operator!(), QDP::operator!=(), QDP::operator!=(), QDP::operator!=(), QDP::operator%(), QDP::operator%(), QDP::operator%(), QDP::ILattice< typename SinglePrecType< T >::Type_t, N >::operator%=(), QDP::ILattice< typename SinglePrecType< T >::Type_t, N >::operator%=(), QDP::operator&(), QDP::operator&(), QDP::operator&(), QDP::operator&&(), QDP::operator&&(), QDP::operator&&(), QDP::ILattice< typename SinglePrecType< T >::Type_t, N >::operator&=(), QDP::ILattice< typename SinglePrecType< T >::Type_t, N >::operator&=(), QDP::operator*(), QDP::operator*(), QDP::operator*(), QDP::ILattice< typename SinglePrecType< T >::Type_t, N >::operator*=(), QDP::ILattice< typename SinglePrecType< T >::Type_t, N >::operator*=(), QDP::operator+(), QDP::operator+(), QDP::operator+(), QDP::operator+(), QDP::ILattice< typename SinglePrecType< T >::Type_t, N >::operator+=(), QDP::ILattice< typename SinglePrecType< T >::Type_t, N >::operator+=(), QDP::operator-(), QDP::operator-(), QDP::operator-(), QDP::operator-(), QDP::ILattice< typename SinglePrecType< T >::Type_t, N >::operator-=(), QDP::ILattice< typename SinglePrecType< T >::Type_t, N >::operator-=(), QDP::operator/(), QDP::operator/(), QDP::operator/(), QDP::ILattice< typename SinglePrecType< T >::Type_t, N >::operator/=(), QDP::ILattice< typename SinglePrecType< T >::Type_t, N >::operator/=(), QDP::operator<(), QDP::operator<(), QDP::operator<(), QDP::operator<<(), QDP::operator<<(), QDP::operator<<(), QDP::operator<<(), QDP::operator<<(), QDP::ILattice< typename SinglePrecType< T >::Type_t, N >::operator<<=(), QDP::ILattice< typename SinglePrecType< T >::Type_t, N >::operator<<=(), QDP::operator<=(), QDP::operator<=(), QDP::operator<=(), QDP::ILattice< typename SinglePrecType< T >::Type_t, N >::operator=(), QDP::ILattice< typename SinglePrecType< T >::Type_t, N >::operator=(), QDP::operator==(), QDP::operator==(), QDP::operator==(), QDP::operator>(), QDP::operator>(), QDP::operator>(), QDP::operator>=(), QDP::operator>=(), QDP::operator>=(), QDP::operator>>(), QDP::operator>>(), QDP::operator>>(), QDP::operator>>(), QDP::operator>>(), QDP::ILattice< typename SinglePrecType< T >::Type_t, N >::operator>>=(), QDP::ILattice< typename SinglePrecType< T >::Type_t, N >::operator>>=(), QDP::operator^(), QDP::operator^(), QDP::operator^(), QDP::ILattice< typename SinglePrecType< T >::Type_t, N >::operator^=(), QDP::ILattice< typename SinglePrecType< T >::Type_t, N >::operator^=(), QDP::operator|(), QDP::operator|(), QDP::operator|(), QDP::ILattice< typename SinglePrecType< T >::Type_t, N >::operator|=(), QDP::ILattice< typename SinglePrecType< T >::Type_t, N >::operator|=(), QDP::operator||(), QDP::operator||(), QDP::operator||(), QDP::outerProduct(), QDP::outerProduct(), QDP::outerProduct(), QDP::pow(), QDP::pow(), QDP::pow(), QDP::real(), QDP::seedToFloat(), QDP::sin(), QDP::sqrt(), QDP::sum(), QDP::tan(), QDP::trace(), QDP::trace_imag(), QDP::trace_real(), QDP::transpose(), QDP::where(), QDP::where(), QDP::where(), QDP::where(), QDP::where(), QDP::where(), QDP::where(), and QDP::zero_rep().

◆ elem() [2/2]

template<class T, int N>
const T & QDP::ILattice< T, N >::elem ( int i) const
inline

Definition at line 578 of file qdp_inner.h.

◆ operator%=() [1/2]

template<class T, int N>
template<class T1>
ILattice & QDP::ILattice< T, N >::operator%= ( const ILattice< T1, N > & rhs)
inline

ILattice %= ILattice.

Definition at line 484 of file qdp_inner.h.

◆ operator%=() [2/2]

template<class T, int N>
template<class T1>
ILattice & QDP::ILattice< T, N >::operator%= ( const IScalar< T1 > & rhs)
inline

ILattice %= IScalar.

Definition at line 361 of file qdp_inner.h.

◆ operator&=() [1/2]

template<class T, int N>
template<class T1>
ILattice & QDP::ILattice< T, N >::operator&= ( const ILattice< T1, N > & rhs)
inline

ILattice &= ILattice.

Definition at line 506 of file qdp_inner.h.

◆ operator&=() [2/2]

template<class T, int N>
template<class T1>
ILattice & QDP::ILattice< T, N >::operator&= ( const IScalar< T1 > & rhs)
inline

ILattice &= IScalar.

Definition at line 383 of file qdp_inner.h.

◆ operator*=() [1/2]

template<class T, int N>
template<class T1>
ILattice & QDP::ILattice< T, N >::operator*= ( const ILattice< T1, N > & rhs)
inline

ILattice *= ILattice.

Definition at line 462 of file qdp_inner.h.

◆ operator*=() [2/2]

template<class T, int N>
template<class T1>
ILattice & QDP::ILattice< T, N >::operator*= ( const IScalar< T1 > & rhs)
inline

ILattice *= IScalar.

Definition at line 339 of file qdp_inner.h.

◆ operator+=() [1/2]

template<class T, int N>
template<class T1>
ILattice & QDP::ILattice< T, N >::operator+= ( const ILattice< T1, N > & rhs)
inline

ILattice += ILattice.

Definition at line 440 of file qdp_inner.h.

◆ operator+=() [2/2]

template<class T, int N>
template<class T1>
ILattice & QDP::ILattice< T, N >::operator+= ( const IScalar< T1 > & rhs)
inline

ILattice += IScalar.

Definition at line 317 of file qdp_inner.h.

◆ operator-=() [1/2]

template<class T, int N>
template<class T1>
ILattice & QDP::ILattice< T, N >::operator-= ( const ILattice< T1, N > & rhs)
inline

ILattice -= ILattice.

Definition at line 451 of file qdp_inner.h.

◆ operator-=() [2/2]

template<class T, int N>
template<class T1>
ILattice & QDP::ILattice< T, N >::operator-= ( const IScalar< T1 > & rhs)
inline

ILattice -= IScalar.

Definition at line 328 of file qdp_inner.h.

◆ operator/=() [1/2]

template<class T, int N>
template<class T1>
ILattice & QDP::ILattice< T, N >::operator/= ( const ILattice< T1, N > & rhs)
inline

ILattice /= ILattice.

Definition at line 473 of file qdp_inner.h.

◆ operator/=() [2/2]

template<class T, int N>
template<class T1>
ILattice & QDP::ILattice< T, N >::operator/= ( const IScalar< T1 > & rhs)
inline

ILattice /= IScalar.

Definition at line 350 of file qdp_inner.h.

◆ operator<<=() [1/2]

template<class T, int N>
template<class T1>
ILattice & QDP::ILattice< T, N >::operator<<= ( const ILattice< T1, N > & rhs)
inline

ILattice <<= ILattice.

Definition at line 528 of file qdp_inner.h.

◆ operator<<=() [2/2]

template<class T, int N>
template<class T1>
ILattice & QDP::ILattice< T, N >::operator<<= ( const IScalar< T1 > & rhs)
inline

ILattice <<= IScalar.

Definition at line 405 of file qdp_inner.h.

◆ operator=() [1/2]

template<class T, int N>
template<class T1>
ILattice & QDP::ILattice< T, N >::operator= ( const ILattice< T1, N > & rhs)
inline

ILattice = ILattice.

Set equal to another ILattice

Definition at line 429 of file qdp_inner.h.

◆ operator=() [2/2]

template<class T, int N>
template<class T1>
ILattice & QDP::ILattice< T, N >::operator= ( const IScalar< T1 > & rhs)
inline

ILattice = IScalar.

Set equal to an IScalar

Definition at line 306 of file qdp_inner.h.

◆ operator>>=() [1/2]

template<class T, int N>
template<class T1>
ILattice & QDP::ILattice< T, N >::operator>>= ( const ILattice< T1, N > & rhs)
inline

ILattice >>= ILattice.

Definition at line 539 of file qdp_inner.h.

◆ operator>>=() [2/2]

template<class T, int N>
template<class T1>
ILattice & QDP::ILattice< T, N >::operator>>= ( const IScalar< T1 > & rhs)
inline

ILattice >>= IScalar.

Definition at line 416 of file qdp_inner.h.

◆ operator^=() [1/2]

template<class T, int N>
template<class T1>
ILattice & QDP::ILattice< T, N >::operator^= ( const ILattice< T1, N > & rhs)
inline

ILattice ^= ILattice.

Definition at line 517 of file qdp_inner.h.

◆ operator^=() [2/2]

template<class T, int N>
template<class T1>
ILattice & QDP::ILattice< T, N >::operator^= ( const IScalar< T1 > & rhs)
inline

ILattice ^= IScalar.

Definition at line 394 of file qdp_inner.h.

◆ operator|=() [1/2]

template<class T, int N>
template<class T1>
ILattice & QDP::ILattice< T, N >::operator|= ( const ILattice< T1, N > & rhs)
inline

ILattice |= ILattice.

Definition at line 495 of file qdp_inner.h.

◆ operator|=() [2/2]

template<class T, int N>
template<class T1>
ILattice & QDP::ILattice< T, N >::operator|= ( const IScalar< T1 > & rhs)
inline

ILattice |= IScalar.

Definition at line 372 of file qdp_inner.h.


The documentation for this class was generated from the following files: