QDP++

Scalar reality (not complex). More...

#include <qdp_reality.h>

Public Member Functions

 RScalar ()
 ~RScalar ()
 RScalar (const typename WordType< T >::Type_t &rhs)
 construct dest = const
template<class T1>
 RScalar (const RScalar< T1 > &rhs)
 construct dest = rhs
template<class T1>
 RScalar (const T1 &rhs)
 construct dest = rhs
template<class T1>
RScalaroperator= (const RScalar< T1 > &rhs)
 RScalar = RScalar.
template<class T1>
RScalaroperator+= (const RScalar< T1 > &rhs)
 RScalar += RScalar.
template<class T1>
RScalaroperator-= (const RScalar< T1 > &rhs)
 RScalar -= RScalar.
template<class T1>
RScalaroperator*= (const RScalar< T1 > &rhs)
 RScalar *= RScalar.
template<class T1>
RScalaroperator/= (const RScalar< T1 > &rhs)
 RScalar /= RScalar.
template<class T1>
RScalaroperator%= (const RScalar< T1 > &rhs)
 RScalar %= RScalar.
template<class T1>
RScalaroperator|= (const RScalar< T1 > &rhs)
 RScalar |= RScalar.
template<class T1>
RScalaroperator&= (const RScalar< T1 > &rhs)
 RScalar &= RScalar.
template<class T1>
RScalaroperator^= (const RScalar< T1 > &rhs)
 RScalar ^= RScalar.
template<class T1>
RScalaroperator<<= (const RScalar< T1 > &rhs)
 RScalar <<= RScalar.
template<class T1>
RScalaroperator>>= (const RScalar< T1 > &rhs)
 RScalar >>= RScalar.
 RScalar (const RScalar &a)
 Do deep copies here.
T & elem ()
const T & elem () const

Detailed Description

template<class T>
class QDP::RScalar< T >

Scalar reality (not complex).

Definition at line 27 of file qdp_reality.h.

Constructor & Destructor Documentation

◆ RScalar() [1/5]

template<class T>
QDP::RScalar< T >::RScalar ( )
inline

Definition at line 30 of file qdp_reality.h.

◆ ~RScalar()

template<class T>
QDP::RScalar< T >::~RScalar ( )
inline

Definition at line 31 of file qdp_reality.h.

◆ RScalar() [2/5]

template<class T>
QDP::RScalar< T >::RScalar ( const typename WordType< T >::Type_t & rhs)
inline

construct dest = const

Definition at line 35 of file qdp_reality.h.

◆ RScalar() [3/5]

template<class T>
template<class T1>
QDP::RScalar< T >::RScalar ( const RScalar< T1 > & rhs)
inline

construct dest = rhs

Definition at line 39 of file qdp_reality.h.

◆ RScalar() [4/5]

template<class T>
template<class T1>
QDP::RScalar< T >::RScalar ( const T1 & rhs)
inline

construct dest = rhs

Definition at line 43 of file qdp_reality.h.

◆ RScalar() [5/5]

template<class T>
QDP::RScalar< T >::RScalar ( const RScalar< T > & a)
inline

Do deep copies here.

Definition at line 159 of file qdp_reality.h.

Member Function Documentation

◆ elem() [1/2]

template<class T>
T & QDP::RScalar< T >::elem ( )
inline

Definition at line 162 of file qdp_reality.h.

Referenced by QDP::acos(), QDP::adj(), QDP::adjMultiply(), QDP::adjMultiplyAdj(), QDP::asin(), QDP::atan(), QDP::atan2(), QDP::cast_rep(), QDP::ceil(), QDP::cmplx(), QDP::conj(), QDP::copy_site(), QDP::copymask(), QDP::copymask(), QDP::cos(), QDP::cosh(), QDP::exp(), QDP::fabs(), QDP::fill_gaussian(), QDP::fill_random(), QDP::floor(), QDP::gather_sites(), QDP::getSite(), QDP::globalMax(), QDP::globalMin(), QDP::imagTrace(), QDP::isfinite(), QDP::isinf(), QDP::isnan(), QDP::isnormal(), QDP::localColorInnerProduct(), QDP::localInnerProduct(), QDP::localInnerProductReal(), QDP::localNorm2(), QDP::log(), QDP::log10(), QDP::multiplyAdj(), QDP::operator!(), QDP::operator!=(), QDP::operator%(), QDP::RScalar< typename SinglePrecType< T >::Type_t >::operator%=(), QDP::operator&(), QDP::operator&&(), QDP::RScalar< typename SinglePrecType< T >::Type_t >::operator&=(), QDP::operator*(), QDP::operator*(), QDP::operator*(), QDP::RComplex< typename SinglePrecType< T >::Type_t >::operator*=(), QDP::RScalar< typename SinglePrecType< T >::Type_t >::operator*=(), QDP::operator+(), QDP::operator+(), QDP::operator+(), QDP::operator+(), QDP::RComplex< typename SinglePrecType< T >::Type_t >::operator+=(), QDP::RScalar< typename SinglePrecType< T >::Type_t >::operator+=(), QDP::operator-(), QDP::operator-(), QDP::operator-(), QDP::operator-(), QDP::RComplex< typename SinglePrecType< T >::Type_t >::operator-=(), QDP::RScalar< typename SinglePrecType< T >::Type_t >::operator-=(), QDP::operator/(), QDP::operator/(), QDP::operator/(), QDP::RComplex< typename SinglePrecType< T >::Type_t >::operator/=(), QDP::RScalar< typename SinglePrecType< T >::Type_t >::operator/=(), QDP::operator<(), QDP::operator<<(), QDP::operator<<(), QDP::operator<<(), QDP::operator<<(), QDP::RScalar< typename SinglePrecType< T >::Type_t >::operator<<=(), QDP::operator<=(), QDP::RComplex< typename SinglePrecType< T >::Type_t >::operator=(), QDP::RScalar< typename SinglePrecType< T >::Type_t >::operator=(), QDP::operator==(), QDP::operator>(), QDP::operator>=(), QDP::operator>>(), QDP::operator>>(), QDP::operator>>(), QDP::operator>>(), QDP::RScalar< typename SinglePrecType< T >::Type_t >::operator>>=(), QDP::operator^(), QDP::RScalar< typename SinglePrecType< T >::Type_t >::operator^=(), QDP::operator|(), QDP::RScalar< typename SinglePrecType< T >::Type_t >::operator|=(), QDP::operator||(), QDP::outerProduct(), QDP::outerProduct(), QDP::outerProduct(), QDP::peekColor(), QDP::peekColor(), QDP::peekSpin(), QDP::peekSpin(), QDP::pow(), QDP::real(), QDP::realTrace(), QDP::recast_rep(), QDP::seedToFloat(), QDP::sin(), QDP::sinh(), QDP::sqrt(), QDP::sum(), QDP::tan(), QDP::tanh(), QDP::timesI(), QDP::timesMinusI(), QDP::toBool(), QDP::toDouble(), QDP::toFloat(), QDP::toInt(), QDP::toWordType(), QDP::trace(), QDP::traceMultiply(), QDP::transpose(), QDP::where(), QDP::where(), QDP::where(), QDP::where(), and QDP::zero_rep().

◆ elem() [2/2]

template<class T>
const T & QDP::RScalar< T >::elem ( ) const
inline

Definition at line 163 of file qdp_reality.h.

◆ operator%=()

template<class T>
template<class T1>
RScalar & QDP::RScalar< T >::operator%= ( const RScalar< T1 > & rhs)
inline

RScalar %= RScalar.

Definition at line 106 of file qdp_reality.h.

◆ operator&=()

template<class T>
template<class T1>
RScalar & QDP::RScalar< T >::operator&= ( const RScalar< T1 > & rhs)
inline

RScalar &= RScalar.

Definition at line 124 of file qdp_reality.h.

◆ operator*=()

template<class T>
template<class T1>
RScalar & QDP::RScalar< T >::operator*= ( const RScalar< T1 > & rhs)
inline

RScalar *= RScalar.

Definition at line 88 of file qdp_reality.h.

◆ operator+=()

template<class T>
template<class T1>
RScalar & QDP::RScalar< T >::operator+= ( const RScalar< T1 > & rhs)
inline

RScalar += RScalar.

Definition at line 70 of file qdp_reality.h.

◆ operator-=()

template<class T>
template<class T1>
RScalar & QDP::RScalar< T >::operator-= ( const RScalar< T1 > & rhs)
inline

RScalar -= RScalar.

Definition at line 79 of file qdp_reality.h.

◆ operator/=()

template<class T>
template<class T1>
RScalar & QDP::RScalar< T >::operator/= ( const RScalar< T1 > & rhs)
inline

RScalar /= RScalar.

Definition at line 97 of file qdp_reality.h.

◆ operator<<=()

template<class T>
template<class T1>
RScalar & QDP::RScalar< T >::operator<<= ( const RScalar< T1 > & rhs)
inline

RScalar <<= RScalar.

Definition at line 142 of file qdp_reality.h.

◆ operator=()

template<class T>
template<class T1>
RScalar & QDP::RScalar< T >::operator= ( const RScalar< T1 > & rhs)
inline

RScalar = RScalar.

Set equal to another RScalar

Definition at line 61 of file qdp_reality.h.

◆ operator>>=()

template<class T>
template<class T1>
RScalar & QDP::RScalar< T >::operator>>= ( const RScalar< T1 > & rhs)
inline

RScalar >>= RScalar.

Definition at line 151 of file qdp_reality.h.

◆ operator^=()

template<class T>
template<class T1>
RScalar & QDP::RScalar< T >::operator^= ( const RScalar< T1 > & rhs)
inline

RScalar ^= RScalar.

Definition at line 133 of file qdp_reality.h.

◆ operator|=()

template<class T>
template<class T1>
RScalar & QDP::RScalar< T >::operator|= ( const RScalar< T1 > & rhs)
inline

RScalar |= RScalar.

Definition at line 115 of file qdp_reality.h.


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