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

#include <Vec.h>

Public Member Functions

 vec ()
 
 vec (T v0)
 
 vec (T v0, T v1)
 
 vec (T v0, T v1, T v2)
 
Toperator[] (unsigned d)
 
const Toperator[] (unsigned d) const
 
MessageputMessage (Message &m)
 
MessagegetMessage (Message &m)
 

Static Public Member Functions

static T dot (const T *, const T *)
 

Private Attributes

T Ptr [Length]
 

Detailed Description

template<class T, unsigned Length>
class vec< T, Length >

Definition at line 21 of file Vec.h.

Constructor & Destructor Documentation

template<class T, unsigned Length>
vec< T, Length >::vec ( )
inline

Definition at line 24 of file Vec.h.

template<class T, unsigned Length>
vec< T, Length >::vec ( T  v0)
inline

Definition at line 161 of file Vec.h.

References CTAssert.

template<class T, unsigned Length>
vec< T, Length >::vec ( T  v0,
T  v1 
)
inline

Definition at line 169 of file Vec.h.

References CTAssert.

template<class T, unsigned Length>
vec< T, Length >::vec ( T  v0,
T  v1,
T  v2 
)
inline

Definition at line 178 of file Vec.h.

References CTAssert.

Member Function Documentation

template<class T, unsigned Length>
T vec< T, Length >::dot ( const T l,
const T r 
)
inlinestatic

Definition at line 194 of file Vec.h.

References T.

Referenced by BrickIterator< T, Dim >::offset().

template<class T, unsigned Length>
Message& vec< T, Length >::getMessage ( Message m)
inline

Definition at line 42 of file Vec.h.

template<class T, unsigned Length>
T& vec< T, Length >::operator[] ( unsigned  d)
inline

Definition at line 32 of file Vec.h.

template<class T, unsigned Length>
const T& vec< T, Length >::operator[] ( unsigned  d) const
inline

Definition at line 33 of file Vec.h.

template<class T, unsigned Length>
Message& vec< T, Length >::putMessage ( Message m)
inline

Definition at line 34 of file Vec.h.

Referenced by vec< unsigned, Dim >::putMessage().

Member Data Documentation

template<class T, unsigned Length>
T vec< T, Length >::Ptr[Length]
private

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