QDP++
QDP::PVector< T, N, C > Class Template Reference

Primitive Vector class. More...

#include <qdp_primvector.h>

Inheritance diagram for QDP::PVector< T, N, C >:
QDP::PColorVector< typename SinglePrecType< T1 >::Type_t, N > QDP::PColorVector< typename DoublePrecType< T1 >::Type_t, N > QDP::PColorVector< typename UnaryReturn< T1, Op >::Type_t, N > QDP::PColorVector< typename BinaryReturn< T1, T2, Op >::Type_t, N > QDP::PColorVector< T1, N > & QDP::PColorVector< typename BinaryReturn< T1, T2, FnColorCrossProduct >::Type_t, 3 > QDP::PColorVector< RComplex< REAL >, 3 > QDP::PColorVector< RComplex< REAL32 >, 3 >

Public Types

typedef C< T, N > CC

Public Member Functions

 PVector ()
 ~PVector ()
template<class T1>
CCassign (const C< T1, N > &rhs)
 PVector = PVector.
template<class T1>
CCoperator= (const C< T1, N > &rhs)
 PVector = PVector.
template<class T1>
CCoperator+= (const C< T1, N > &rhs)
 PVector += PVector.
template<class T1>
CCoperator-= (const C< T1, N > &rhs)
 PVector -= PVector.
template<class T1>
CCoperator*= (const PScalar< T1 > &rhs)
 PVector *= PScalar.
template<class T1>
CCoperator/= (const PScalar< T1 > &rhs)
 PVector /= PScalar.
T & elem (int i)
const T & elem (int i) const

Detailed Description

template<class T, int N, template< class, int > class C>
class QDP::PVector< T, N, C >

Primitive Vector class.

All vector classes inherit this class NOTE: For efficiency, there can be no virtual methods, so the data portion is a part of the generic class, hence it is called a domain and not a category

Definition at line 30 of file qdp_primvector.h.

Member Typedef Documentation

◆ CC

template<class T, int N, template< class, int > class C>
typedef C<T,N> QDP::PVector< T, N, C >::CC

Definition at line 36 of file qdp_primvector.h.

Constructor & Destructor Documentation

◆ PVector()

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

Definition at line 33 of file qdp_primvector.h.

◆ ~PVector()

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

Definition at line 34 of file qdp_primvector.h.

Member Function Documentation

◆ assign()

template<class T, int N, template< class, int > class C>
template<class T1>
CC & QDP::PVector< T, N, C >::assign ( const C< T1, N > & rhs)
inline

◆ elem() [1/2]

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

Definition at line 126 of file qdp_primvector.h.

Referenced by QDP::adjMultiply(), QDP::adjMultiply(), QDP::adjMultSprojDir0Minus(), QDP::adjMultSprojDir0Minus(), QDP::adjMultSprojDir0Plus(), QDP::adjMultSprojDir0Plus(), QDP::adjMultSprojDir1Minus(), QDP::adjMultSprojDir1Minus(), QDP::adjMultSprojDir1Plus(), QDP::adjMultSprojDir1Plus(), QDP::adjMultSprojDir2Minus(), QDP::adjMultSprojDir2Minus(), QDP::adjMultSprojDir2Plus(), QDP::adjMultSprojDir2Plus(), QDP::adjMultSprojDir3Minus(), QDP::adjMultSprojDir3Minus(), QDP::adjMultSprojDir3Plus(), QDP::adjMultSprojDir3Plus(), QDP::PVector< typename SinglePrecType< T1 >::Type_t, N, C >::assign(), QDP::cmplx(), QDP::colorContract(), QDP::colorCrossProduct(), QDP::colorVectorContract(), QDP::conj(), QDP::copy_site(), QDP::copy_site(), QDP::copymask(), QDP::fill_gaussian(), QDP::fill_random(), QDP::gather_sites(), QDP::getSite(), QDP::imag(), QDP::isfinite(), QDP::isinf(), QDP::isnan(), QDP::isnormal(), QDP::localColorInnerProduct(), QDP::localInnerProduct(), QDP::localInnerProductReal(), QDP::localNorm2(), QDP::multiplyAdj(), QDP::operator*(), QDP::operator*(), QDP::operator*(), QDP::PVector< typename SinglePrecType< T1 >::Type_t, N, C >::operator*=(), QDP::operator+(), QDP::operator+(), QDP::PVector< typename SinglePrecType< T1 >::Type_t, N, C >::operator+=(), QDP::operator-(), QDP::operator-(), QDP::PVector< typename SinglePrecType< T1 >::Type_t, N, C >::operator-=(), QDP::operator/(), QDP::PVector< typename SinglePrecType< T1 >::Type_t, N, C >::operator/=(), QDP::operator<<(), QDP::operator<<(), QDP::operator<<(), QDP::operator>>(), QDP::operator>>(), QDP::operator>>(), QDP::outerProduct(), QDP::peekColor(), QDP::peekColor(), QDP::peekColor(), QDP::peekSpin(), QDP::peekSpin(), QDP::pokeColor(), QDP::pokeColor(), QDP::pokeColor(), QDP::pokeSpin(), QDP::pokeSpin(), QDP::real(), QDP::spinProjectDir0Minus(), QDP::spinProjectDir0Minus(), QDP::spinProjectDir0Plus(), QDP::spinProjectDir0Plus(), QDP::spinProjectDir1Minus(), QDP::spinProjectDir1Minus(), QDP::spinProjectDir1Plus(), QDP::spinProjectDir1Plus(), QDP::spinProjectDir2Minus(), QDP::spinProjectDir2Minus(), QDP::spinProjectDir2Plus(), QDP::spinProjectDir2Plus(), QDP::spinProjectDir3Minus(), QDP::spinProjectDir3Minus(), QDP::spinProjectDir3Plus(), QDP::spinProjectDir3Plus(), QDP::spinReconstructDir0Minus(), QDP::spinReconstructDir0Minus(), QDP::spinReconstructDir0Plus(), QDP::spinReconstructDir0Plus(), QDP::spinReconstructDir1Minus(), QDP::spinReconstructDir1Minus(), QDP::spinReconstructDir1Plus(), QDP::spinReconstructDir1Plus(), QDP::spinReconstructDir2Minus(), QDP::spinReconstructDir2Minus(), QDP::spinReconstructDir2Plus(), QDP::spinReconstructDir2Plus(), QDP::spinReconstructDir3Minus(), QDP::spinReconstructDir3Minus(), QDP::spinReconstructDir3Plus(), QDP::spinReconstructDir3Plus(), QDP::timesI(), QDP::timesMinusI(), QDP::where(), and QDP::zero_rep().

◆ elem() [2/2]

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

Definition at line 127 of file qdp_primvector.h.

◆ operator*=()

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

PVector *= PScalar.

Definition at line 84 of file qdp_primvector.h.

◆ operator+=()

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

PVector += PVector.

Definition at line 62 of file qdp_primvector.h.

◆ operator-=()

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

PVector -= PVector.

Definition at line 73 of file qdp_primvector.h.

◆ operator/=()

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

PVector /= PScalar.

Definition at line 95 of file qdp_primvector.h.

◆ operator=()

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

PVector = PVector.

Set equal to another PVector

Definition at line 54 of file qdp_primvector.h.


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