ug4
ug::ConstScalarSubVectorAdapter< InVT, ST > Class Template Reference

#include <scalar_subvector_adapter.hh>

Public Types

typedef InVT encapsulated_vector_type
 
typedef ST::vector_type::value_type value_type
 

Public Member Functions

 ConstScalarSubVectorAdapter (const encapsulated_vector_type &vec, size_t alpha)
 
const value_typeoperator[] (size_t i) const
 
void print (const char *const text=NULL) const
 
size_t size () const
 

Static Public Attributes

static const int blockSize = block_traits<typename InVT::value_type>::static_size
 

Private Attributes

const size_t m_alpha
 
const encapsulated_vector_typem_src
 

Member Typedef Documentation

◆ encapsulated_vector_type

template<class InVT , class ST >
typedef InVT ug::ConstScalarSubVectorAdapter< InVT, ST >::encapsulated_vector_type

◆ value_type

template<class InVT , class ST >
typedef ST::vector_type::value_type ug::ConstScalarSubVectorAdapter< InVT, ST >::value_type

Constructor & Destructor Documentation

◆ ConstScalarSubVectorAdapter()

template<class InVT , class ST >
ug::ConstScalarSubVectorAdapter< InVT, ST >::ConstScalarSubVectorAdapter ( const encapsulated_vector_type vec,
size_t  alpha 
)
inline

Member Function Documentation

◆ operator[]()

template<class InVT , class ST >
const value_type& ug::ConstScalarSubVectorAdapter< InVT, ST >::operator[] ( size_t  i) const
inline

◆ print()

template<class InVT , class ST >
void ug::ConstScalarSubVectorAdapter< InVT, ST >::print ( const char *const  text = NULL) const
inline

◆ size()

template<class InVT , class ST >
size_t ug::ConstScalarSubVectorAdapter< InVT, ST >::size ( ) const
inline

Member Data Documentation

◆ blockSize

template<class InVT , class ST >
const int ug::ConstScalarSubVectorAdapter< InVT, ST >::blockSize = block_traits<typename InVT::value_type>::static_size
static

◆ m_alpha

template<class InVT , class ST >
const size_t ug::ConstScalarSubVectorAdapter< InVT, ST >::m_alpha
private

◆ m_src


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