Doxygen 1.9.1
Toolkit for Adaptive Stochastic Modeling and Non-Intrusive ApproximatioN: Tasmanian v8.2 (development)
Multi-Index data structures
Collaboration diagram for Multi-Index data structures:

Files

file  tsgIndexSets.hpp
 Data structures for storing multi-indexes and floating point values.
 
file  tsgHardCodedTabulatedRules.hpp
 Hard-coded nodes and weights.
 
file  tsgSequenceOptimizer.hpp
 Algorithms for computing greedy sequences.
 
file  tsgGridCore.hpp
 Definition for the base grid class.
 

Classes

class  TasGrid::Data2D< T >
 Generic 2D data structure divided into contiguous strips of fixed length (similar to a matrix). More...
 
class  TasGrid::MultiIndexSet
 Class that stores multi-indexes in sorted (lexicographical) order. More...
 
class  TasGrid::StorageSet
 Class that stores values, i.e., model outputs, the order of the values is in sync with the order of some MultiIndexSet. More...
 

Functions

template<typename T >
std::vector< T > TasGrid::spltVector2D (std::vector< T > const &x, size_t stride, int ibegin, int iend)
 Take a vector logically organized into stips and strides and extract a sub-strip from every strip. More...
 

Detailed Description

Fundamental data structures
Three classes for storage and easy access to multi-indexes and floating point values. The majority of internal data-structures associated with the five types of grids can be represented as two-dimensional data (or array/list of tuples), the three classes here correspond to sorted or unsorted, integer or floating point data.

Function Documentation

◆ spltVector2D()

template<typename T >
std::vector<T> TasGrid::spltVector2D ( std::vector< T > const &  x,
size_t  stride,
int  ibegin,
int  iend 
)

Take a vector logically organized into stips and strides and extract a sub-strip from every strip.

Used in copy subset of the values and the Data2D surplusses. The vector is organized in strips with the given stride and the returned vector has the same number of strips but containing the data between the ibegin and iend (not including iend).