Doxygen 1.9.1
Toolkit for Adaptive Stochastic Modeling and Non-Intrusive ApproximatioN: Tasmanian v8.2 (development)
tsgIndexSets.hpp File Reference

Data structures for storing multi-indexes and floating point values. More...

#include "tsgIOHelpers.hpp"
Include dependency graph for tsgIndexSets.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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...
 

Namespaces

 TasGrid
 Encapsulates the Tasmanian Sparse Grid module.
 
 TasGrid::IO
 Collection of I/O handling templates.
 

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...
 
template<typename iomode , typename DataType , typename IndexStride , typename IndexNumStrips >
Data2D< DataType > TasGrid::IO::readData2D (std::istream &is, IndexStride stride, IndexNumStrips num_strips)
 Read the Data2D structure from the stream, assumes the given number of strips and stride. More...
 

Detailed Description

Data structures for storing multi-indexes and floating point values.

Author
Miroslav Stoyanov

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.