ug4
ug::localVector_from_array< T > Class Template Reference

#include <local_helper.h>

Public Member Functions

size_t index (size_t i) const
 
 localVector_from_array (size_t N_, T *v_, const size_t *indices_)
 
T & operator[] (size_t i)
 
const T & operator[] (size_t i) const
 
size_t size () const
 

Private Attributes

const size_t * indices
 
size_t N
 
T * v
 

Constructor & Destructor Documentation

◆ localVector_from_array()

template<typename T >
ug::localVector_from_array< T >::localVector_from_array ( size_t  N_,
T *  v_,
const size_t *  indices_ 
)
inline

Member Function Documentation

◆ index()

template<typename T >
size_t ug::localVector_from_array< T >::index ( size_t  i) const
inline

◆ operator[]() [1/2]

template<typename T >
T& ug::localVector_from_array< T >::operator[] ( size_t  i)
inline

◆ operator[]() [2/2]

template<typename T >
const T& ug::localVector_from_array< T >::operator[] ( size_t  i) const
inline

◆ size()

template<typename T >
size_t ug::localVector_from_array< T >::size ( ) const
inline

Member Data Documentation

◆ indices

template<typename T >
const size_t* ug::localVector_from_array< T >::indices
private

◆ N

template<typename T >
size_t ug::localVector_from_array< T >::N
private

◆ v

template<typename T >
T* ug::localVector_from_array< T >::v
private

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