MUQ  0.4.3
muq::Approximation::VectorSlice< VecType > Class Template Reference

#include <TemplatedArrayUtilities.h>

Detailed Description

template<typename VecType>
class muq::Approximation::VectorSlice< VecType >

Definition at line 153 of file TemplatedArrayUtilities.h.

Public Member Functions

 VectorSlice (VecType const &vectorIn, std::vector< unsigned > const &indsIn)
 
double operator() (unsigned row) const
 
double & operator() (unsigned row)
 
unsigned dimension (unsigned dim) const
 

Constructor & Destructor Documentation

◆ VectorSlice()

template<typename VecType >
muq::Approximation::VectorSlice< VecType >::VectorSlice ( VecType const &  vectorIn,
std::vector< unsigned > const &  indsIn 
)
inline

Definition at line 156 of file TemplatedArrayUtilities.h.

Member Function Documentation

◆ dimension()

template<typename VecType >
unsigned muq::Approximation::VectorSlice< VecType >::dimension ( unsigned  dim) const
inline

◆ operator()() [1/2]

template<typename VecType >
double& muq::Approximation::VectorSlice< VecType >::operator() ( unsigned  row)
inline

◆ operator()() [2/2]

template<typename VecType >
double muq::Approximation::VectorSlice< VecType >::operator() ( unsigned  row) const
inline

Member Data Documentation

◆ inds

template<typename VecType >
std::vector<unsigned> const& muq::Approximation::VectorSlice< VecType >::inds
private

◆ vector

template<typename VecType >
VecType const& muq::Approximation::VectorSlice< VecType >::vector
private

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