OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Types | Public Member Functions | Private Attributes | List of all members
Vektor< T, D > Class Template Reference

#include <TSVMeta.h>

Public Types

enum  { ElemDim = 1 }
 
enum  { Size = D }
 
typedef T Element_t
 

Public Member Functions

 Vektor ()
 
 Vektor (const Vektor< T, D > &rhs)
 
template<class T1 , unsigned D1>
 Vektor (const Vektor< T1, D1 > &rhs)
 
 Vektor (const T &x00)
 
 Vektor (const T &x00, const T &x01)
 
 Vektor (const T &x00, const T &x01, const T &x02)
 
 Vektor (const T &x00, const T &x01, const T &x02, const T &x03)
 
 ~Vektor ()
 
const Vektor< T, D > & operator= (const Vektor< T, D > &rhs)
 
template<class T1 >
const Vektor< T, D > & operator= (const Vektor< T1, D > &rhs)
 
const Vektor< T, D > & operator= (const T &rhs)
 
template<class T1 >
Vektor< T, D > & operator+= (const Vektor< T1, D > &rhs)
 
Vektor< T, D > & operator+= (const T &rhs)
 
template<class T1 >
Vektor< T, D > & operator-= (const Vektor< T1, D > &rhs)
 
Vektor< T, D > & operator-= (const T &rhs)
 
template<class T1 >
Vektor< T, D > & operator*= (const Vektor< T1, D > &rhs)
 
Vektor< T, D > & operator*= (const T &rhs)
 
template<class T1 >
Vektor< T, D > & operator/= (const Vektor< T1, D > &rhs)
 
Vektor< T, D > & operator/= (const T &rhs)
 
Element_toperator[] (unsigned int i)
 
Element_t operator[] (unsigned int i) const
 
Element_toperator() (unsigned int i)
 
Element_t operator() (unsigned int i) const
 
bool operator== (const Vektor< T, D > &that) const
 
bool operator!= (const Vektor< T, D > &that) const
 
MessageputMessage (Message &m) const
 
MessagegetMessage (Message &m)
 

Private Attributes

T X [D]
 

Detailed Description

template<class T, unsigned D>
class Vektor< T, D >

Definition at line 24 of file TSVMeta.h.

Member Typedef Documentation

template<class T, unsigned D>
typedef T Vektor< T, D >::Element_t

Definition at line 34 of file Vektor.h.

Member Enumeration Documentation

template<class T, unsigned D>
anonymous enum
Enumerator
ElemDim 

Definition at line 35 of file Vektor.h.

template<class T, unsigned D>
anonymous enum
Enumerator
Size 

Definition at line 36 of file Vektor.h.

Constructor & Destructor Documentation

template<class T, unsigned D>
Vektor< T, D >::Vektor ( )
inline

Definition at line 39 of file Vektor.h.

template<class T, unsigned D>
Vektor< T, D >::Vektor ( const Vektor< T, D > &  rhs)
inline

Definition at line 44 of file Vektor.h.

template<class T, unsigned D>
template<class T1 , unsigned D1>
Vektor< T, D >::Vektor ( const Vektor< T1, D1 > &  rhs)
inline

Definition at line 50 of file Vektor.h.

template<class T, unsigned D>
Vektor< T, D >::Vektor ( const T x00)
inline

Definition at line 56 of file Vektor.h.

template<class T, unsigned D>
Vektor< T, D >::Vektor ( const T x00,
const T x01 
)
inline

Definition at line 61 of file Vektor.h.

template<class T, unsigned D>
Vektor< T, D >::Vektor ( const T x00,
const T x01,
const T x02 
)
inline

Definition at line 67 of file Vektor.h.

template<class T, unsigned D>
Vektor< T, D >::Vektor ( const T x00,
const T x01,
const T x02,
const T x03 
)
inline

Definition at line 74 of file Vektor.h.

template<class T, unsigned D>
Vektor< T, D >::~Vektor ( )
inline

Definition at line 83 of file Vektor.h.

Member Function Documentation

template<class T, unsigned D>
Message& Vektor< T, D >::getMessage ( Message m)
inline
template<class T, unsigned D>
bool Vektor< T, D >::operator!= ( const Vektor< T, D > &  that) const
inline

Definition at line 167 of file Vektor.h.

template<class T , unsigned D>
Vektor< T, D >::Element_t & Vektor< T, D >::operator() ( unsigned int  i)

Definition at line 206 of file Vektor.h.

References PAssert, and X.

template<class T , unsigned D>
Vektor< T, D >::Element_t Vektor< T, D >::operator() ( unsigned int  i) const

Definition at line 213 of file Vektor.h.

References PAssert, and X.

template<class T, unsigned D>
template<class T1 >
Vektor<T,D>& Vektor< T, D >::operator*= ( const Vektor< T1, D > &  rhs)
inline

Definition at line 129 of file Vektor.h.

template<class T, unsigned D>
Vektor<T,D>& Vektor< T, D >::operator*= ( const T rhs)
inline

Definition at line 134 of file Vektor.h.

template<class T, unsigned D>
template<class T1 >
Vektor<T,D>& Vektor< T, D >::operator+= ( const Vektor< T1, D > &  rhs)
inline

Definition at line 105 of file Vektor.h.

template<class T, unsigned D>
Vektor<T,D>& Vektor< T, D >::operator+= ( const T rhs)
inline

Definition at line 110 of file Vektor.h.

template<class T, unsigned D>
template<class T1 >
Vektor<T,D>& Vektor< T, D >::operator-= ( const Vektor< T1, D > &  rhs)
inline

Definition at line 117 of file Vektor.h.

template<class T, unsigned D>
Vektor<T,D>& Vektor< T, D >::operator-= ( const T rhs)
inline

Definition at line 122 of file Vektor.h.

template<class T, unsigned D>
template<class T1 >
Vektor<T,D>& Vektor< T, D >::operator/= ( const Vektor< T1, D > &  rhs)
inline

Definition at line 141 of file Vektor.h.

template<class T, unsigned D>
Vektor<T,D>& Vektor< T, D >::operator/= ( const T rhs)
inline

Definition at line 147 of file Vektor.h.

template<class T, unsigned D>
const Vektor<T,D>& Vektor< T, D >::operator= ( const Vektor< T, D > &  rhs)
inline

Definition at line 86 of file Vektor.h.

template<class T, unsigned D>
template<class T1 >
const Vektor<T,D>& Vektor< T, D >::operator= ( const Vektor< T1, D > &  rhs)
inline

Definition at line 92 of file Vektor.h.

template<class T, unsigned D>
const Vektor<T,D>& Vektor< T, D >::operator= ( const T rhs)
inline

Definition at line 97 of file Vektor.h.

template<class T, unsigned D>
bool Vektor< T, D >::operator== ( const Vektor< T, D > &  that) const
inline

Definition at line 164 of file Vektor.h.

template<class T , unsigned D>
Vektor< T, D >::Element_t & Vektor< T, D >::operator[] ( unsigned int  i)

Definition at line 192 of file Vektor.h.

References PAssert, and X.

template<class T , unsigned D>
Vektor< T, D >::Element_t Vektor< T, D >::operator[] ( unsigned int  i) const

Definition at line 199 of file Vektor.h.

References PAssert, and X.

template<class T, unsigned D>
Message& Vektor< T, D >::putMessage ( Message m) const
inline

Member Data Documentation

template<class T, unsigned D>
T Vektor< T, D >::X[D]
private

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