OPAL (Object Oriented Parallel Accelerator Library) 2022.1
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)
 
T & operator[] (unsigned d)
 
const T & operator[] (unsigned d) const
 
MessageputMessage (Message &m)
 
MessagegetMessage (Message &m)
 

Static Public Member Functions

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

Private Attributes

Ptr [Length]
 

Detailed Description

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

Definition at line 21 of file Vec.h.

Constructor & Destructor Documentation

◆ vec() [1/4]

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

Definition at line 24 of file Vec.h.

◆ vec() [2/4]

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

Definition at line 48 of file Vec.h.

References CTAssert.

◆ vec() [3/4]

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

Definition at line 56 of file Vec.h.

References CTAssert.

◆ vec() [4/4]

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

Definition at line 65 of file Vec.h.

References CTAssert.

Member Function Documentation

◆ dot()

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

Definition at line 81 of file Vec.h.

References Attrib::Legacy::Distribution::T.

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

◆ getMessage()

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

Definition at line 34 of file Vec.h.

References Message::get_iter(), and vec< T, Length >::Ptr.

Here is the call graph for this function:

◆ operator[]() [1/2]

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

Definition at line 28 of file Vec.h.

References vec< T, Length >::Ptr.

◆ operator[]() [2/2]

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

Definition at line 29 of file Vec.h.

References vec< T, Length >::Ptr.

◆ putMessage()

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

Definition at line 30 of file Vec.h.

References vec< T, Length >::Ptr, and Message::put().

Here is the call graph for this function:

Member Data Documentation

◆ Ptr

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

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