SG++-Doxygen-Documentation
sgpp::base::Grid Class Referenceabstract

abstract base class for all types grids used in sgpp the class gives pure virtual function definitions that have to be implemented by all types of grids More...

#include <Grid.hpp>

Inheritance diagram for sgpp::base::Grid:
sgpp::base::BsplineBoundaryGrid sgpp::base::BsplineClenshawCurtisGrid sgpp::base::BsplineGrid sgpp::base::FundamentalSplineGrid sgpp::base::GridStencil sgpp::base::LinearBoundaryGrid sgpp::base::LinearClenshawCurtisBoundaryGrid sgpp::base::LinearClenshawCurtisGrid sgpp::base::LinearGrid sgpp::base::LinearL0BoundaryGrid sgpp::base::LinearStretchedBoundaryGrid sgpp::base::LinearStretchedGrid sgpp::base::LinearTruncatedBoundaryGrid sgpp::base::ModBsplineClenshawCurtisGrid sgpp::base::ModBsplineGrid sgpp::base::ModFundamentalSplineGrid sgpp::base::ModLinearClenshawCurtisGrid sgpp::base::ModLinearGrid sgpp::base::ModPolyClenshawCurtisGrid sgpp::base::ModPolyGrid sgpp::base::ModWaveletGrid sgpp::base::NakBsplineBoundaryCombigridGrid sgpp::base::PeriodicGrid sgpp::base::PolyBoundaryGrid sgpp::base::PolyClenshawCurtisBoundaryGrid sgpp::base::PolyClenshawCurtisGrid sgpp::base::PolyGrid sgpp::base::PrewaveletGrid sgpp::base::SquareRootGrid sgpp::base::WaveletBoundaryGrid sgpp::base::WaveletGrid

Public Member Functions

Gridclone ()
 copies a grid More...
 
GridcreateGridOfEquivalentType (size_t numDims)
 creates an equivalent grid without copying the grid points More...
 
std::vector< size_t > getAlgorithmicDimensions ()
 returns the algorithmic dimensions (the dimensions in which the Up Down operations should be applied) More...
 
virtual SBasisgetBasis ()=0
 Returns the Basis class associated with the grid. More...
 
virtual BoundingBoxgetBoundingBox ()
 gets a reference to the GridStorage's BoundingsBox object More...
 
size_t getDimension () const
 Returns the number of dimensions. More...
 
virtual GridGeneratorgetGenerator ()=0
 
size_t getSize () const
 Returns the number of points on the grid. More...
 
virtual GridStoragegetStorage ()
 gets a reference to the GridStorage object More...
 
virtual StretchinggetStretching ()
 gets a reference to the GridStorage's Stretching object More...
 
virtual sgpp::base::GridType getType ()=0
 Returns a string that identifies the grid type uniquely. More...
 
std::string getTypeAsString ()
 Returns a string that identifies the grid type uniquely. More...
 
sgpp::base::GridType getZeroBoundaryType ()
 Returns the grid type that corresponds to the actual type but does no boundary treatment. More...
 
 Grid (const Grid &other)=delete
 delete copy constructor More...
 
void insertPoint (size_t dim, unsigned int levels[], unsigned int indices[], bool isLeaf)
 Insert one point to the grid. More...
 
void refine (DataVector &vector, int numOfPoints)
 Refine grid Refine the given number of points on the grid according to the vector. More...
 
void serialize (std::string &ostr, int version=SERIALIZATION_VERSION)
 Serializes grid to a string. More...
 
virtual void serialize (std::ostream &ostr, int version=SERIALIZATION_VERSION)
 Serializes the grid. More...
 
std::string serialize (int version=SERIALIZATION_VERSION)
 Serializes grid to a string. More...
 
void setAlgorithmicDimensions (std::vector< size_t > newAlgoDims)
 sets the algorithmic dimensions (the dimensions in which the Up Down operations should be applied) More...
 
virtual void setBoundingBox (BoundingBox &boundingBox)
 sets the GridStorage's BoundingsBox pointer to a BoundingBox object More...
 
virtual void setStretching (Stretching &stretching)
 sets the GridStorage's Stretching pointer to a Stretching object More...
 
virtual ~Grid ()
 Desctructor. More...
 

Static Public Member Functions

static GridcreateBsplineBoundaryGrid (size_t dim, size_t degree)
 creates a B-spline trapezoid boundary grid More...
 
static GridcreateBsplineClenshawCurtisGrid (size_t dim, size_t degree)
 creates a B-spline Clenshaw-Curtis grid More...
 
static GridcreateBsplineGrid (size_t dim, size_t degree)
 creates a B-spline grid More...
 
static GridcreateFundamentalSplineGrid (size_t dim, size_t degree)
 creates a fundamental spline grid More...
 
static GridcreateGrid (RegularGridConfiguration gridConfig)
 creates a grid defined by the grid configuration More...
 
static GridcreateLinearBoundaryGrid (size_t dim, level_t boundaryLevel=1)
 creates a linear boundary grid More...
 
static GridcreateLinearClenshawCurtisBoundaryGrid (size_t dim, level_t boundaryLevel=1)
 creates a linear Clenshaw-Curtis boundary grid More...
 
static GridcreateLinearClenshawCurtisGrid (size_t dim)
 creates a linear Clenshaw-Curtis grid More...
 
static GridcreateLinearGrid (size_t dim)
 Creates and returns a grid without grid points on the boundary (zero boundary conditions) with piecewise linear basis functions. More...
 
static GridcreateLinearGridStencil (size_t dim)
 creates a stencil for a linear grid (without boundaries) More...
 
static GridcreateLinearStretchedBoundaryGrid (size_t dim)
 creates a linearstretched truncated boundary grid More...
 
static GridcreateLinearStretchedGrid (size_t dim)
 creates a linear stretched grid without boundaries More...
 
static GridcreateLinearTruncatedBoundaryGrid (size_t dim)
 creates a truncated boundary grid=contains all the gridpoints of the fullgrids which have \(|l|<level and li>=l_user\) More...
 
static GridcreateModBsplineClenshawCurtisGrid (size_t dim, size_t degree)
 creates a modified B-spline Clenshaw-Curtis grid More...
 
static GridcreateModBsplineGrid (size_t dim, size_t degree)
 creates a modified B-spline grid More...
 
static GridcreateModFundamentalSplineGrid (size_t dim, size_t degree)
 creates a modified fundamental spline grid More...
 
static GridcreateModLinearClenshawCurtisGrid (size_t dim)
 creates a modified linear Clenshaw-Curtis grid More...
 
static GridcreateModLinearGrid (size_t dim)
 creates a modified linear grid More...
 
static GridcreateModLinearGridStencil (size_t dim)
 creates a stencil for a modified linear grid (without boundaries) More...
 
static GridcreateModPolyClenshawCurtisGrid (size_t dim, size_t degree)
 creates a modified poly grid with clenshaw curtis points More...
 
static GridcreateModPolyGrid (size_t dim, size_t degree)
 creates a modified polynomial grid More...
 
static GridcreateModWaveletGrid (size_t dim)
 creates a modified wavelet grid More...
 
static GridcreateNakBsplineBoundaryCombigridGrid (size_t dim, size_t degree)
 creates a not a knot B-Spline boundary grid More...
 
static GridcreatePeriodicGrid (size_t dim)
 creates a periodic grid More...
 
static GridcreatePolyBoundaryGrid (size_t dim, size_t degree, level_t boundaryLevel=1)
 creates a polynomial grid with truncated boundary More...
 
static GridcreatePolyClenshawCurtisBoundaryGrid (size_t dim, size_t degree, level_t boundaryLevel=1)
 creates a poly Clenshaw Curtis boundary grid with clenshaw curtis points More...
 
static GridcreatePolyClenshawCurtisGrid (size_t dim, size_t degree)
 creates a poly grid with clenshaw curtis points More...
 
static GridcreatePolyGrid (size_t dim, size_t degree)
 creates a polynomial grid More...
 
static GridcreatePrewaveletGrid (size_t dim)
 creates a prewavelet grid More...
 
static GridcreateSquareRootGrid (size_t dim)
 creates a square root grid (h-grid) More...
 
static GridcreateWaveletBoundaryGrid (size_t dim)
 creates a wavelet trapezoid boundary grid More...
 
static GridcreateWaveletGrid (size_t dim)
 creates a wavelet grid More...
 
static GridType stringToGridType (const std::string &gridType)
 Conversion from string to grid type. More...
 
static Gridunserialize (const std::string &istr)
 reads a grid out of a string More...
 
static Gridunserialize (std::istream &istr)
 reads a grid out of a stream More...
 

Protected Types

typedef Grid *(* Factory) (std::istream &)
 
typedef std::map< std::string, Grid::FactoryfactoryMap
 
typedef std::map< sgpp::base::GridType, std::string > gridTypeVerboseMap
 

Protected Member Functions

 Grid (std::istream &istr)
 This constructor creates a new GridStorage out of the stream. More...
 
 Grid (size_t dim)
 Constructor initializing the grid storage with the given dimensionality. More...
 
 Grid (BoundingBox &boundingBox)
 Constructor initializing the grid storage with the given BoundingBox. More...
 
 Grid (Stretching &stretching)
 Constructor initializing the grid storage with the given Stretching. More...
 

Static Protected Member Functions

static GridnullFactory (std::istream &)
 Factory for everything we don't know. More...
 

Protected Attributes

GridStorage storage
 GridStorage object of the grid. More...
 

Detailed Description

abstract base class for all types grids used in sgpp the class gives pure virtual function definitions that have to be implemented by all types of grids

Member Typedef Documentation

typedef Grid*(* sgpp::base::Grid::Factory) (std::istream &)
protected
typedef std::map<std::string, Grid::Factory> sgpp::base::Grid::factoryMap
protected
typedef std::map<sgpp::base::GridType, std::string> sgpp::base::Grid::gridTypeVerboseMap
protected

Constructor & Destructor Documentation

sgpp::base::Grid::Grid ( const Grid other)
delete

delete copy constructor

Parameters
other
sgpp::base::Grid::Grid ( std::istream &  istr)
explicitprotected

This constructor creates a new GridStorage out of the stream.

For derived classes create an own constructor wich takes a std::istream and calls this function. Add your own static unserialize function and add it in typeMap().

Parameters
istrinputstream that contains the grid information
sgpp::base::Grid::Grid ( size_t  dim)
explicitprotected

Constructor initializing the grid storage with the given dimensionality.

Parameters
dimdimensionality
sgpp::base::Grid::Grid ( BoundingBox boundingBox)
explicitprotected

Constructor initializing the grid storage with the given BoundingBox.

Parameters
boundingBoxBoundingBox of the grid
sgpp::base::Grid::Grid ( Stretching stretching)
explicitprotected

Constructor initializing the grid storage with the given Stretching.

Parameters
stretchingStretching of the grid
sgpp::base::Grid::~Grid ( )
virtual

Desctructor.

Member Function Documentation

Grid * sgpp::base::Grid::createBsplineBoundaryGrid ( size_t  dim,
size_t  degree 
)
static

creates a B-spline trapezoid boundary grid

Level 4 sparse grid
Hierarchical basis functions up to level 3
Parameters
dimthe grid's dimension
degreethe B-spline degree
Returns
grid

Referenced by createGrid(), and createGridOfEquivalentType().

Grid * sgpp::base::Grid::createBsplineClenshawCurtisGrid ( size_t  dim,
size_t  degree 
)
static

creates a B-spline Clenshaw-Curtis grid

Level 4 sparse grid
Hierarchical basis functions up to level 3
Parameters
dimthe grid's dimension
degreethe B-spline degree
Returns
grid

Referenced by createGrid(), and createGridOfEquivalentType().

Grid * sgpp::base::Grid::createBsplineGrid ( size_t  dim,
size_t  degree 
)
static

creates a B-spline grid

Level 4 sparse grid
Hierarchical basis functions up to level 3
Parameters
dimthe grid's dimension
degreethe B-spline degree
Returns
grid

Referenced by createGrid(), and createGridOfEquivalentType().

Grid * sgpp::base::Grid::createFundamentalSplineGrid ( size_t  dim,
size_t  degree 
)
static

creates a fundamental spline grid

Level 4 sparse grid
Hierarchical basis functions up to level 3
Parameters
dimthe grid's dimension
degreethe B-spline degree
Returns
grid

Referenced by createGrid(), and createGridOfEquivalentType().

Grid * sgpp::base::Grid::createGrid ( RegularGridConfiguration  gridConfig)
static

creates a grid defined by the grid configuration

Parameters
gridConfiggrid configuration
Returns
grid

References sgpp::base::GeneralGridConfiguration::boundaryLevel_, sgpp::base::Bspline, sgpp::base::BsplineBoundary, sgpp::base::BsplineClenshawCurtis, createBsplineBoundaryGrid(), createBsplineClenshawCurtisGrid(), createBsplineGrid(), createFundamentalSplineGrid(), createLinearBoundaryGrid(), createLinearClenshawCurtisBoundaryGrid(), createLinearClenshawCurtisGrid(), createLinearGrid(), createLinearStretchedBoundaryGrid(), createLinearStretchedGrid(), createLinearTruncatedBoundaryGrid(), createModBsplineClenshawCurtisGrid(), createModBsplineGrid(), createModFundamentalSplineGrid(), createModLinearClenshawCurtisGrid(), createModLinearGrid(), createModLinearGridStencil(), createModPolyClenshawCurtisGrid(), createModPolyGrid(), createModWaveletGrid(), createNakBsplineBoundaryCombigridGrid(), createPeriodicGrid(), createPolyBoundaryGrid(), createPolyClenshawCurtisBoundaryGrid(), createPolyClenshawCurtisGrid(), createPolyGrid(), createPrewaveletGrid(), createSquareRootGrid(), createWaveletBoundaryGrid(), createWaveletGrid(), sgpp::base::GeneralGridConfiguration::dim_, sgpp::base::GeneralGridConfiguration::filename_, sgpp::base::FundamentalSpline, sgpp::base::Linear, sgpp::base::LinearBoundary, sgpp::base::LinearClenshawCurtis, sgpp::base::LinearClenshawCurtisBoundary, sgpp::base::LinearL0Boundary, sgpp::base::LinearStencil, sgpp::base::LinearStretched, sgpp::base::LinearStretchedBoundary, sgpp::base::LinearTruncatedBoundary, sgpp::base::GeneralGridConfiguration::maxDegree_, sgpp::base::ModBspline, sgpp::base::ModBsplineClenshawCurtis, sgpp::base::ModFundamentalSpline, sgpp::base::ModLinear, sgpp::base::ModLinearClenshawCurtis, sgpp::base::ModLinearStencil, sgpp::base::ModPoly, sgpp::base::ModPolyClenshawCurtis, sgpp::base::ModWavelet, sgpp::base::NakBsplineBoundaryCombigrid, sgpp::base::Periodic, sgpp::base::Poly, sgpp::base::PolyBoundary, sgpp::base::PolyClenshawCurtis, sgpp::base::PolyClenshawCurtisBoundary, sgpp::base::Prewavelet, sgpp::base::SquareRoot, sgpp::base::GeneralGridConfiguration::type_, unserialize(), sgpp::base::Wavelet, and sgpp::base::WaveletBoundary.

Referenced by sgpp::datadriven::SparseGridDensityEstimator::createRegularGrid(), and sgpp::base::OperationArbitraryBoundaryHierarchisation::OperationArbitraryBoundaryHierarchisation().

Grid * sgpp::base::Grid::createGridOfEquivalentType ( size_t  numDims)

creates an equivalent grid without copying the grid points

Parameters
numDimsnumber of dimensions

References sgpp::base::Bspline, sgpp::base::BsplineBoundary, sgpp::base::BsplineClenshawCurtis, createBsplineBoundaryGrid(), createBsplineClenshawCurtisGrid(), createBsplineGrid(), createFundamentalSplineGrid(), createLinearBoundaryGrid(), createLinearClenshawCurtisBoundaryGrid(), createLinearClenshawCurtisGrid(), createLinearGrid(), createLinearStretchedBoundaryGrid(), createLinearStretchedGrid(), createLinearTruncatedBoundaryGrid(), createModBsplineClenshawCurtisGrid(), createModBsplineGrid(), createModFundamentalSplineGrid(), createModLinearClenshawCurtisGrid(), createModLinearGrid(), createModLinearGridStencil(), createModPolyClenshawCurtisGrid(), createModPolyGrid(), createModWaveletGrid(), createNakBsplineBoundaryCombigridGrid(), createPeriodicGrid(), createPolyBoundaryGrid(), createPolyClenshawCurtisBoundaryGrid(), createPolyClenshawCurtisGrid(), createPolyGrid(), createPrewaveletGrid(), createSquareRootGrid(), createWaveletBoundaryGrid(), createWaveletGrid(), sgpp::base::FundamentalSpline, python.uq.operations.sparse_grid::getDegree(), getGenerator(), getType(), sgpp::base::Linear, sgpp::base::LinearBoundary, sgpp::base::LinearClenshawCurtis, sgpp::base::LinearClenshawCurtisBoundary, sgpp::base::LinearL0Boundary, sgpp::base::LinearStencil, sgpp::base::LinearStretched, sgpp::base::LinearStretchedBoundary, sgpp::base::LinearTruncatedBoundary, sgpp::base::ModBspline, sgpp::base::ModBsplineClenshawCurtis, sgpp::base::ModFundamentalSpline, sgpp::base::ModLinear, sgpp::base::ModLinearClenshawCurtis, sgpp::base::ModLinearStencil, sgpp::base::ModPoly, sgpp::base::ModPolyClenshawCurtis, sgpp::base::ModWavelet, sgpp::base::NakBsplineBoundaryCombigrid, sgpp::base::Periodic, sgpp::base::Poly, sgpp::base::PolyBoundary, sgpp::base::PolyClenshawCurtis, sgpp::base::PolyClenshawCurtisBoundary, sgpp::base::Prewavelet, sgpp::base::SquareRoot, sgpp::base::Wavelet, and sgpp::base::WaveletBoundary.

Referenced by clone(), sgpp::datadriven::OperationDensityConditional::doConditional(), and sgpp::datadriven::OperationDensityMarginalize::doMarginalize().

Grid * sgpp::base::Grid::createLinearBoundaryGrid ( size_t  dim,
level_t  boundaryLevel = 1 
)
static

creates a linear boundary grid

Level 4 sparse grid with boundaryLevel = 0
Level 4 sparse grid with boundaryLevel = 1
Level 4 sparse grid with boundaryLevel = 2
Hierarchical basis functions up to level 3
Parameters
dimthe grid's dimension
boundaryLevelon which level the boundary grid points and basis functions should be added; the default is 1, which results in a grid with the same resolution on the boundary as on the main axis
Returns
grid

Referenced by sgpp::datadriven::ModelFittingBase::buildGrid(), createGrid(), createGridOfEquivalentType(), sgpp::datadriven::LearnerSGDE::createRegularGrid(), sgpp::datadriven::AlgorithmAdaBoostBase::doAdaBoostR2(), sgpp::datadriven::AlgorithmAdaBoostBase::doAdaBoostRT(), sgpp::datadriven::AlgorithmAdaBoostBase::doDiscreteAdaBoost(), and sgpp::datadriven::AlgorithmAdaBoostBase::doRealAdaBoost().

Grid * sgpp::base::Grid::createLinearClenshawCurtisBoundaryGrid ( size_t  dim,
level_t  boundaryLevel = 1 
)
static

creates a linear Clenshaw-Curtis boundary grid

Parameters
dimthe grid's dimension
boundaryLevellevel of the boundary
Returns
grid

Referenced by createGrid(), and createGridOfEquivalentType().

Grid * sgpp::base::Grid::createLinearClenshawCurtisGrid ( size_t  dim)
static

creates a linear Clenshaw-Curtis grid

Level 4 sparse grid
Hierarchical basis functions up to level 3
Parameters
dimthe grid's dimension
Returns
grid

Referenced by createGrid(), and createGridOfEquivalentType().

Grid * sgpp::base::Grid::createLinearGridStencil ( size_t  dim)
static

creates a stencil for a linear grid (without boundaries)

Level 4 sparse grid
Parameters
dimthe grid's dimension
Returns
grid
Grid * sgpp::base::Grid::createLinearStretchedBoundaryGrid ( size_t  dim)
static

creates a linearstretched truncated boundary grid

Level 4 sparse grid
Hierarchical basis functions up to level 3
Parameters
dimthe grid's dimension

Referenced by createGrid(), and createGridOfEquivalentType().

Grid * sgpp::base::Grid::createLinearStretchedGrid ( size_t  dim)
static

creates a linear stretched grid without boundaries

Level 4 sparse grid
Hierarchical basis functions up to level 3
Parameters
dimthe grid's dimension
Returns
grid

Referenced by createGrid(), and createGridOfEquivalentType().

Grid * sgpp::base::Grid::createLinearTruncatedBoundaryGrid ( size_t  dim)
static

creates a truncated boundary grid=contains all the gridpoints of the fullgrids which have \(|l|<level and li>=l_user\)

Level 4 sparse grid
Hierarchical basis functions up to level 3
Parameters
dimthe grid's dimension
Returns
grid

Referenced by createGrid(), and createGridOfEquivalentType().

Grid * sgpp::base::Grid::createModBsplineClenshawCurtisGrid ( size_t  dim,
size_t  degree 
)
static

creates a modified B-spline Clenshaw-Curtis grid

Level 4 sparse grid
Hierarchical basis functions up to level 3
Parameters
dimthe grid's dimension
degreethe B-spline degree
Returns
grid

Referenced by createGrid(), and createGridOfEquivalentType().

Grid * sgpp::base::Grid::createModBsplineGrid ( size_t  dim,
size_t  degree 
)
static

creates a modified B-spline grid

Level 4 sparse grid
Hierarchical basis functions up to level 3
Parameters
dimthe grid's dimension
degreethe B-spline degree
Returns
grid

Referenced by createGrid(), and createGridOfEquivalentType().

Grid * sgpp::base::Grid::createModFundamentalSplineGrid ( size_t  dim,
size_t  degree 
)
static

creates a modified fundamental spline grid

Level 4 sparse grid
Hierarchical basis functions up to level 3
Parameters
dimthe grid's dimension
degreethe B-spline degree
Returns
grid

Referenced by createGrid(), and createGridOfEquivalentType().

Grid * sgpp::base::Grid::createModLinearClenshawCurtisGrid ( size_t  dim)
static

creates a modified linear Clenshaw-Curtis grid

Parameters
dimthe grid's dimension
Returns
grid

Referenced by createGrid(), and createGridOfEquivalentType().

Grid * sgpp::base::Grid::createModLinearGridStencil ( size_t  dim)
static

creates a stencil for a modified linear grid (without boundaries)

Level 4 sparse grid
Parameters
dimthe grid's dimension
Returns
grid

Referenced by createGrid(), and createGridOfEquivalentType().

Grid * sgpp::base::Grid::createModPolyClenshawCurtisGrid ( size_t  dim,
size_t  degree 
)
static

creates a modified poly grid with clenshaw curtis points

Parameters
dimthe grid's dimension
degreethe polynom's max. degree
Returns
grid

Referenced by createGrid(), and createGridOfEquivalentType().

Grid * sgpp::base::Grid::createModPolyGrid ( size_t  dim,
size_t  degree 
)
static

creates a modified polynomial grid

Level 4 sparse grid
Hierarchical basis functions up to level 3
Parameters
dimthe grid's dimension
degreethe polynom's max. degree
Returns
grid

Referenced by createGrid(), and createGridOfEquivalentType().

Grid * sgpp::base::Grid::createModWaveletGrid ( size_t  dim)
static

creates a modified wavelet grid

Level 4 sparse grid
Hierarchical basis functions up to level 3
Parameters
dimthe grid's dimension
Returns
grid

Referenced by createGrid(), and createGridOfEquivalentType().

Grid * sgpp::base::Grid::createNakBsplineBoundaryCombigridGrid ( size_t  dim,
size_t  degree 
)
static

creates a not a knot B-Spline boundary grid

Parameters
dimthe grid's dimension
degreethe B-spline degree
Returns
grid

Referenced by createGrid(), createGridOfEquivalentType(), and sgpp::combigrid::BsplineStochasticCollocation::mean().

Grid * sgpp::base::Grid::createPeriodicGrid ( size_t  dim)
static

creates a periodic grid

Level 4 sparse grid
Hierarchical basis functions up to level 3
Parameters
dimthe grid's dimension
Returns
grid

Referenced by createGrid(), and createGridOfEquivalentType().

Grid * sgpp::base::Grid::createPolyBoundaryGrid ( size_t  dim,
size_t  degree,
level_t  boundaryLevel = 1 
)
static

creates a polynomial grid with truncated boundary

Level 4 sparse grid
Hierarchical basis functions up to level 3
Parameters
dimthe grid's dimension
degreethe polynom's max. degree
boundaryLevellevel at which boundary points are added
Returns
grid

Referenced by createGrid(), and createGridOfEquivalentType().

Grid * sgpp::base::Grid::createPolyClenshawCurtisBoundaryGrid ( size_t  dim,
size_t  degree,
level_t  boundaryLevel = 1 
)
static

creates a poly Clenshaw Curtis boundary grid with clenshaw curtis points

Parameters
dimthe grid's dimension
degreethe polynom's max. degree
boundaryLevellevel at which boundary points are added
Returns
grid

Referenced by createGrid(), and createGridOfEquivalentType().

Grid * sgpp::base::Grid::createPolyClenshawCurtisGrid ( size_t  dim,
size_t  degree 
)
static

creates a poly grid with clenshaw curtis points

Parameters
dimthe grid's dimension
degreethe polynom's max. degree
Returns
grid

Referenced by createGrid(), and createGridOfEquivalentType().

Grid * sgpp::base::Grid::createPolyGrid ( size_t  dim,
size_t  degree 
)
static

creates a polynomial grid

Level 4 sparse grid
Hierarchical basis functions up to level 3
Parameters
dimthe grid's dimension
degreethe polynom's max. degree
Returns
grid

Referenced by createGrid(), and createGridOfEquivalentType().

Grid * sgpp::base::Grid::createPrewaveletGrid ( size_t  dim)
static

creates a prewavelet grid

Level 4 sparse grid
Hierarchical basis functions up to level 3
Parameters
dimthe grid's dimension
Returns
grid

Referenced by createGrid(), and createGridOfEquivalentType().

Grid * sgpp::base::Grid::createSquareRootGrid ( size_t  dim)
static

creates a square root grid (h-grid)

Level 4 sparse grid
Hierarchical basis functions up to level 3
Parameters
dimthe grid's dimension
Returns
grid

Referenced by createGrid(), and createGridOfEquivalentType().

Grid * sgpp::base::Grid::createWaveletBoundaryGrid ( size_t  dim)
static

creates a wavelet trapezoid boundary grid

Level 4 sparse grid
Hierarchical basis functions up to level 3
Parameters
dimthe grid's dimension

Referenced by createGrid(), and createGridOfEquivalentType().

Grid * sgpp::base::Grid::createWaveletGrid ( size_t  dim)
static

creates a wavelet grid

Level 4 sparse grid
Hierarchical basis functions up to level 3
Parameters
dimthe grid's dimension
Returns
grid

Referenced by createGrid(), and createGridOfEquivalentType().

std::vector< size_t > sgpp::base::Grid::getAlgorithmicDimensions ( )

returns the algorithmic dimensions (the dimensions in which the Up Down operations should be applied)

Returns
the algorithmic dimensions

References sgpp::base::HashGridStorage::getAlgorithmicDimensions(), and storage.

Referenced by sgpp::base::DirichletGridConverter::buildInnerGridWithCoefs(), and sgpp::base::DirichletGridConverter::rebuildInnerGridWithCoefs().

virtual SBasis& sgpp::base::Grid::getBasis ( )
pure virtual

Returns the Basis class associated with the grid.

Returns
Basis class associated with the grid

Implemented in sgpp::base::BsplineBoundaryGrid, sgpp::base::BsplineClenshawCurtisGrid, sgpp::base::NakBsplineBoundaryCombigridGrid, sgpp::base::LinearBoundaryGrid, sgpp::base::BsplineGrid, sgpp::base::FundamentalSplineGrid, sgpp::base::LinearTruncatedBoundaryGrid, sgpp::base::ModBsplineClenshawCurtisGrid, sgpp::base::ModBsplineGrid, sgpp::base::ModFundamentalSplineGrid, sgpp::base::ModPolyClenshawCurtisGrid, sgpp::base::PolyClenshawCurtisGrid, sgpp::base::LinearClenshawCurtisGrid, sgpp::base::LinearGrid, sgpp::base::LinearGridStencil, sgpp::base::LinearStretchedGrid, sgpp::base::ModLinearClenshawCurtisGrid, sgpp::base::ModLinearGridStencil, sgpp::base::LinearStretchedBoundaryGrid, sgpp::base::SquareRootGrid, sgpp::base::PeriodicGrid, sgpp::base::WaveletBoundaryGrid, sgpp::base::PolyBoundaryGrid, sgpp::base::PolyClenshawCurtisBoundaryGrid, sgpp::base::LinearClenshawCurtisBoundaryGrid, sgpp::base::LinearL0BoundaryGrid, sgpp::base::ModLinearGrid, sgpp::base::ModPolyGrid, sgpp::base::ModWaveletGrid, sgpp::base::WaveletGrid, sgpp::base::PolyGrid, and sgpp::base::PrewaveletGrid.

Referenced by sgpp::datadriven::OperationDensityConditional::doConditional(), sgpp::datadriven::OperationDensityMarginalize::doMarginalize(), sgpp::base::OperationFirstMomentModBspline::doQuadrature(), sgpp::base::OperationSecondMomentBspline::doQuadrature(), sgpp::base::OperationSecondMomentBsplineBoundary::doQuadrature(), sgpp::base::OperationSecondMomentModBspline::doQuadrature(), sgpp::base::OperationFirstMomentModPoly::doQuadrature(), sgpp::base::OperationSecondMomentModPoly::doQuadrature(), sgpp::base::OperationFirstMomentModPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationSecondMomentModPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationSecondMomentPoly::doQuadrature(), sgpp::base::OperationFirstMomentBsplineBoundary::doQuadrature(), sgpp::base::OperationSecondMomentPolyBoundary::doQuadrature(), sgpp::base::OperationSecondMomentPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationFirstMomentPoly::doQuadrature(), sgpp::base::OperationFirstMomentPolyBoundary::doQuadrature(), sgpp::base::OperationFirstMomentBspline::doQuadrature(), sgpp::base::OperationFirstMomentPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationFirstMomentModBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationSecondMomentBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationSecondMomentModBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationSecondMomentPolyClenshawCurtisBoundary::doQuadrature(), sgpp::base::OperationFirstMomentBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationFirstMomentPolyClenshawCurtisBoundary::doQuadrature(), sgpp::pde::OperationMatrixLTwoDotBspline::mult(), sgpp::pde::OperationMatrixLTwoDotPoly::mult(), sgpp::pde::OperationMatrixLTwoDotPolyClenshawCurtis::mult(), sgpp::pde::OperationLaplacePolyBoundary::mult(), sgpp::pde::OperationLaplacePoly::mult(), sgpp::pde::OperationMatrixLTwoDotPolyClenshawCurtisBoundary::mult(), sgpp::pde::OperationLaplaceModBspline::mult(), sgpp::pde::OperationLaplaceModBsplineClenshawCurtis::mult(), sgpp::pde::OperationLaplaceModPoly::mult(), sgpp::pde::OperationLaplaceModPolyClenshawCurtis::mult(), sgpp::pde::OperationMatrixLTwoDotPolyBoundary::mult(), sgpp::pde::OperationLaplaceBsplineClenshawCurtis::mult(), sgpp::pde::OperationMatrixLTwoDotModBspline::mult(), sgpp::pde::OperationLaplacePolyClenshawCurtis::mult(), sgpp::pde::OperationLaplacePolyClenshawCurtisBoundary::mult(), sgpp::pde::OperationMatrixLTwoDotModPolyClenshawCurtis::mult(), sgpp::pde::OperationMatrixLTwoDotModBsplineClenshawCurtis::mult(), sgpp::pde::OperationMatrixLTwoDotModPoly::mult(), sgpp::pde::OperationMatrixLTwoDotModLinear::mult(), sgpp::pde::OperationMatrixLTwoDotBsplineBoundary::mult(), sgpp::pde::OperationMatrixLTwoDotBsplineClenshawCurtis::mult(), sgpp::pde::OperationLaplaceBspline::mult(), sgpp::pde::OperationLaplaceBsplineBoundary::mult(), sgpp::base::OperationArbitraryBoundaryHierarchisation::OperationArbitraryBoundaryHierarchisation(), sgpp::pde::OperationLaplaceExplicitBspline::OperationLaplaceExplicitBspline(), sgpp::pde::OperationLaplaceExplicitModBspline::OperationLaplaceExplicitModBspline(), sgpp::pde::OperationMatrixLTwoDotExplicitBspline::OperationMatrixLTwoDotExplicitBspline(), sgpp::pde::OperationMatrixLTwoDotExplicitBsplineBoundary::OperationMatrixLTwoDotExplicitBsplineBoundary(), sgpp::pde::OperationMatrixLTwoDotExplicitBsplineClenshawCurtis::OperationMatrixLTwoDotExplicitBsplineClenshawCurtis(), sgpp::pde::OperationMatrixLTwoDotExplicitModBspline::OperationMatrixLTwoDotExplicitModBspline(), sgpp::pde::OperationMatrixLTwoDotExplicitModBsplineClenshawCurtis::OperationMatrixLTwoDotExplicitModBsplineClenshawCurtis(), sgpp::pde::OperationMatrixLTwoDotExplicitModLinear::OperationMatrixLTwoDotExplicitModLinear(), sgpp::pde::OperationMatrixLTwoDotExplicitModPoly::OperationMatrixLTwoDotExplicitModPoly(), sgpp::pde::OperationMatrixLTwoDotExplicitModPolyClenshawCurtis::OperationMatrixLTwoDotExplicitModPolyClenshawCurtis(), sgpp::pde::OperationMatrixLTwoDotExplicitPoly::OperationMatrixLTwoDotExplicitPoly(), sgpp::pde::OperationMatrixLTwoDotExplicitPolyBoundary::OperationMatrixLTwoDotExplicitPolyBoundary(), sgpp::pde::OperationMatrixLTwoDotExplicitPolyClenshawCurtis::OperationMatrixLTwoDotExplicitPolyClenshawCurtis(), sgpp::pde::OperationMatrixLTwoDotExplicitPolyClenshawCurtisBoundary::OperationMatrixLTwoDotExplicitPolyClenshawCurtisBoundary(), sgpp::base::PredictiveRefinementIndicator::operator()(), sgpp::base::ForwardSelectorRefinementIndicator::update(), and sgpp::base::ImpurityRefinementIndicator::update().

size_t sgpp::base::Grid::getDimension ( ) const

Returns the number of dimensions.

Returns
the number of dimensions

References sgpp::base::HashGridStorage::getDimension(), and storage.

Referenced by sgpp::datadriven::DBMatOfflineDenseIChol::choleskyModification(), clone(), sgpp::base::OperationQuadratureMC::doQuadrature(), sgpp::base::OperationQuadratureMC::doQuadratureFunc(), sgpp::base::OperationQuadratureMC::doQuadratureL2Error(), sgpp::datadriven::OperationDensitySamplingLinear::doSampling(), sgpp::datadriven::OperationDensityRejectionSamplingLinear::doSampling(), sgpp::datadriven::OperationDensitySamplingLinear::doSampling_in_next_dim(), sgpp::datadriven::OperationInverseRosenblattTransformationModPoly::doTransformation(), sgpp::datadriven::OperationRosenblattTransformationPolyBoundary::doTransformation(), sgpp::datadriven::OperationInverseRosenblattTransformationPoly::doTransformation(), sgpp::datadriven::OperationInverseRosenblattTransformationPolyBoundary::doTransformation(), sgpp::datadriven::OperationInverseRosenblattTransformationBspline::doTransformation(), sgpp::datadriven::OperationRosenblattTransformationBspline::doTransformation(), sgpp::datadriven::OperationInverseRosenblattTransformationBsplineBoundary::doTransformation(), sgpp::datadriven::OperationRosenblattTransformationBsplineBoundary::doTransformation(), sgpp::datadriven::OperationRosenblattTransformationLinear::doTransformation(), sgpp::datadriven::OperationRosenblattTransformationModBspline::doTransformation(), sgpp::datadriven::OperationInverseRosenblattTransformationLinear::doTransformation(), sgpp::datadriven::OperationRosenblattTransformationModPoly::doTransformation(), sgpp::datadriven::OperationInverseRosenblattTransformationModBspline::doTransformation(), sgpp::datadriven::OperationRosenblattTransformationPoly::doTransformation(), sgpp::datadriven::OperationRosenblattTransformationPolyClenshawCurtis::doTransformation(), sgpp::datadriven::OperationInverseRosenblattTransformationModBsplineClenshawCurtis::doTransformation(), sgpp::datadriven::OperationInverseRosenblattTransformationModPolyClenshawCurtis::doTransformation(), sgpp::datadriven::OperationInverseRosenblattTransformationPolyClenshawCurtis::doTransformation(), sgpp::datadriven::OperationInverseRosenblattTransformationPolyClenshawCurtisBoundary::doTransformation(), sgpp::datadriven::OperationRosenblattTransformationBsplineClenshawCurtis::doTransformation(), sgpp::datadriven::OperationInverseRosenblattTransformationBsplineClenshawCurtis::doTransformation(), sgpp::datadriven::OperationRosenblattTransformationModPolyClenshawCurtis::doTransformation(), sgpp::datadriven::OperationRosenblattTransformationPolyClenshawCurtisBoundary::doTransformation(), sgpp::datadriven::OperationRosenblattTransformationModBsplineClenshawCurtis::doTransformation(), sgpp::datadriven::OperationInverseRosenblattTransformationModBspline::doTransformation_in_next_dim(), sgpp::datadriven::OperationRosenblattTransformationPoly::doTransformation_in_next_dim(), sgpp::datadriven::OperationRosenblattTransformationPolyBoundary::doTransformation_in_next_dim(), sgpp::datadriven::OperationInverseRosenblattTransformationModPoly::doTransformation_in_next_dim(), sgpp::datadriven::OperationInverseRosenblattTransformationPoly::doTransformation_in_next_dim(), sgpp::datadriven::OperationInverseRosenblattTransformationPolyBoundary::doTransformation_in_next_dim(), sgpp::datadriven::OperationRosenblattTransformationBspline::doTransformation_in_next_dim(), sgpp::datadriven::OperationRosenblattTransformationBsplineBoundary::doTransformation_in_next_dim(), sgpp::datadriven::OperationInverseRosenblattTransformationBspline::doTransformation_in_next_dim(), sgpp::datadriven::OperationRosenblattTransformationLinear::doTransformation_in_next_dim(), sgpp::datadriven::OperationInverseRosenblattTransformationBsplineBoundary::doTransformation_in_next_dim(), sgpp::datadriven::OperationRosenblattTransformationModBspline::doTransformation_in_next_dim(), sgpp::datadriven::OperationRosenblattTransformationModPoly::doTransformation_in_next_dim(), sgpp::datadriven::OperationInverseRosenblattTransformationLinear::doTransformation_in_next_dim(), sgpp::datadriven::OperationRosenblattTransformationPolyClenshawCurtis::doTransformation_in_next_dim(), sgpp::datadriven::OperationInverseRosenblattTransformationModBsplineClenshawCurtis::doTransformation_in_next_dim(), sgpp::datadriven::OperationInverseRosenblattTransformationModPolyClenshawCurtis::doTransformation_in_next_dim(), sgpp::datadriven::OperationInverseRosenblattTransformationPolyClenshawCurtis::doTransformation_in_next_dim(), sgpp::datadriven::OperationInverseRosenblattTransformationPolyClenshawCurtisBoundary::doTransformation_in_next_dim(), sgpp::datadriven::OperationRosenblattTransformationModPolyClenshawCurtis::doTransformation_in_next_dim(), sgpp::datadriven::OperationRosenblattTransformationBsplineClenshawCurtis::doTransformation_in_next_dim(), sgpp::datadriven::OperationInverseRosenblattTransformationBsplineClenshawCurtis::doTransformation_in_next_dim(), sgpp::datadriven::OperationRosenblattTransformationPolyClenshawCurtisBoundary::doTransformation_in_next_dim(), sgpp::datadriven::OperationRosenblattTransformationModBsplineClenshawCurtis::doTransformation_in_next_dim(), sgpp::datadriven::LearnerBaseSP::dumpFunction(), sgpp::datadriven::LearnerVectorizedPerformanceCalculator::getGFlopAndGByte(), sgpp::combigrid::LTwoScalarProductHashMapNakBsplineBoundaryCombigrid::LTwoScalarProductHashMapNakBsplineBoundaryCombigrid(), sgpp::datadriven::OperationDensityMargTo1D::margToDimX(), sgpp::datadriven::OperationDensityMargTo1D::margToDimXs(), sgpp::pde::OperationLaplaceModBsplineClenshawCurtis::mult(), sgpp::pde::OperationLaplaceBspline::mult(), sgpp::pde::OperationLaplaceBsplineBoundary::mult(), sgpp::pde::OperationLaplaceModBspline::mult(), sgpp::pde::OperationLaplaceModPoly::mult(), sgpp::pde::OperationLaplaceModPolyClenshawCurtis::mult(), sgpp::pde::OperationLaplacePoly::mult(), sgpp::pde::OperationLaplacePolyClenshawCurtis::mult(), sgpp::pde::OperationLaplaceBsplineClenshawCurtis::mult(), sgpp::pde::OperationLaplacePolyClenshawCurtisBoundary::mult(), sgpp::pde::OperationLaplacePolyBoundary::mult(), sgpp::base::OperationArbitraryBoundaryHierarchisation::OperationArbitraryBoundaryHierarchisation(), sgpp::pde::OperationLaplaceExplicitBspline::OperationLaplaceExplicitBspline(), sgpp::pde::OperationLaplaceExplicitModBspline::OperationLaplaceExplicitModBspline(), sgpp::pde::OperationMatrixLTwoDotExplicitBspline::OperationMatrixLTwoDotExplicitBspline(), sgpp::pde::OperationMatrixLTwoDotExplicitBsplineBoundary::OperationMatrixLTwoDotExplicitBsplineBoundary(), sgpp::pde::OperationMatrixLTwoDotExplicitBsplineClenshawCurtis::OperationMatrixLTwoDotExplicitBsplineClenshawCurtis(), sgpp::pde::OperationMatrixLTwoDotExplicitLinear::OperationMatrixLTwoDotExplicitLinear(), sgpp::pde::OperationMatrixLTwoDotExplicitModBspline::OperationMatrixLTwoDotExplicitModBspline(), sgpp::pde::OperationMatrixLTwoDotExplicitModBsplineClenshawCurtis::OperationMatrixLTwoDotExplicitModBsplineClenshawCurtis(), sgpp::pde::OperationMatrixLTwoDotExplicitModifiedLinear::OperationMatrixLTwoDotExplicitModifiedLinear(), sgpp::pde::OperationMatrixLTwoDotExplicitModLinear::OperationMatrixLTwoDotExplicitModLinear(), sgpp::pde::OperationMatrixLTwoDotExplicitModPoly::OperationMatrixLTwoDotExplicitModPoly(), sgpp::pde::OperationMatrixLTwoDotExplicitModPolyClenshawCurtis::OperationMatrixLTwoDotExplicitModPolyClenshawCurtis(), sgpp::pde::OperationMatrixLTwoDotExplicitPeriodic::OperationMatrixLTwoDotExplicitPeriodic(), sgpp::pde::OperationMatrixLTwoDotExplicitPoly::OperationMatrixLTwoDotExplicitPoly(), sgpp::pde::OperationMatrixLTwoDotExplicitPolyBoundary::OperationMatrixLTwoDotExplicitPolyBoundary(), sgpp::pde::OperationMatrixLTwoDotExplicitPolyClenshawCurtis::OperationMatrixLTwoDotExplicitPolyClenshawCurtis(), sgpp::pde::OperationMatrixLTwoDotExplicitPolyClenshawCurtisBoundary::OperationMatrixLTwoDotExplicitPolyClenshawCurtisBoundary(), sgpp::quadrature::OperationQuadratureMCAdvanced::OperationQuadratureMCAdvanced(), sgpp::base::GridPrinterForStretching::printGrid(), sgpp::base::GridPrinter::printGrid(), sgpp::base::GridPrinter::printGridDomain(), sgpp::base::GridPrinterForStretching::printGridDomainStretching(), sgpp::base::GridPrinterForStretching::printSparseGrid(), sgpp::base::GridPrinter::printSparseGrid(), sgpp::base::GridPrinterForStretching::printSparseGridExpTransform(), sgpp::base::GridPrinter::printSparseGridExpTransform(), sgpp::pde::PDESolver::setGrid(), and sgpp::combigrid::LTwoScalarProductHashMapNakBsplineBoundaryCombigrid::updateGrid().

virtual GridGenerator& sgpp::base::Grid::getGenerator ( )
pure virtual
Returns
reference to a GridGenerator object

Implemented in sgpp::base::BsplineBoundaryGrid, sgpp::base::BsplineClenshawCurtisGrid, sgpp::base::NakBsplineBoundaryCombigridGrid, sgpp::base::BsplineGrid, sgpp::base::FundamentalSplineGrid, sgpp::base::ModBsplineClenshawCurtisGrid, sgpp::base::ModBsplineGrid, sgpp::base::ModFundamentalSplineGrid, sgpp::base::LinearBoundaryGrid, sgpp::base::ModPolyClenshawCurtisGrid, sgpp::base::PolyClenshawCurtisGrid, sgpp::base::LinearClenshawCurtisGrid, sgpp::base::ModLinearClenshawCurtisGrid, sgpp::base::LinearTruncatedBoundaryGrid, sgpp::base::LinearGrid, sgpp::base::LinearGridStencil, sgpp::base::LinearStretchedGrid, sgpp::base::ModLinearGridStencil, sgpp::base::LinearStretchedBoundaryGrid, sgpp::base::SquareRootGrid, sgpp::base::PolyBoundaryGrid, sgpp::base::PolyClenshawCurtisBoundaryGrid, sgpp::base::WaveletBoundaryGrid, sgpp::base::LinearClenshawCurtisBoundaryGrid, sgpp::base::LinearL0BoundaryGrid, sgpp::base::ModLinearGrid, sgpp::base::ModPolyGrid, sgpp::base::ModWaveletGrid, sgpp::base::WaveletGrid, sgpp::base::PeriodicGrid, sgpp::base::PolyGrid, and sgpp::base::PrewaveletGrid.

Referenced by sgpp::datadriven::ModelFittingBase::buildGrid(), sgpp::pde::PDESolver::coarsenInitialGridSurplus(), sgpp::pde::PoissonEquationSolver::constructGrid(), sgpp::pde::HeatEquationSolver::constructGrid(), sgpp::pde::HeatEquationSolverWithStretching::constructGrid(), sgpp::datadriven::GridFactory::createGrid(), createGridOfEquivalentType(), sgpp::datadriven::AlgorithmAdaBoostBase::doAdaBoostR2(), sgpp::datadriven::AlgorithmAdaBoostBase::doAdaBoostRT(), sgpp::datadriven::AlgorithmAdaBoostBase::doDiscreteAdaBoost(), sgpp::datadriven::AlgorithmAdaBoostBase::doRealAdaBoost(), sgpp::datadriven::AlgorithmAdaBoostBase::doRefinement(), sgpp::datadriven::RefinementHandler::doRefinementForClass(), sgpp::optimization::IterativeGridGeneratorLinearSurplus::generate(), sgpp::optimization::IterativeGridGeneratorRitterNovak::generate(), sgpp::datadriven::LearnerBaseSP::InitializeGrid(), main(), refine(), sgpp::pde::PDESolver::refineInitialGridSurplus(), sgpp::pde::PDESolver::refineInitialGridSurplusSubDomain(), sgpp::pde::PDESolver::refineInitialGridSurplusToMaxLevel(), sgpp::pde::PDESolver::refineInitialGridSurplusToMaxLevelSubDomain(), sgpp::datadriven::LearnerBaseSP::train(), sgpp::datadriven::LearnerSGDE::train(), and sgpp::datadriven::SparseGridDensityEstimator::train().

size_t sgpp::base::Grid::getSize ( ) const

Returns the number of points on the grid.

Returns
the number of points on the grid

References sgpp::base::HashGridStorage::getSize(), and storage.

Referenced by sgpp::datadriven::PrimalDualSVM::add(), sgpp::datadriven::DBMatOfflineDenseIChol::choleskyModification(), sgpp::datadriven::DBMatOfflineChol::choleskyModification(), sgpp::pde::PDESolver::coarsenInitialGridSurplus(), sgpp::datadriven::DBMatOnlineDE::computeDensityFunction(), sgpp::datadriven::SparseGridDensityEstimator::computeResidual(), sgpp::datadriven::LearnerSGDE::computeResidual(), python.uq.uq_setting.UQSetting.UQSetting::convert(), doAllRefinements(), sgpp::datadriven::OperationLimitFunctionValueRange::doLimitation(), sgpp::datadriven::AlgorithmAdaBoostBase::doRefinement(), sgpp::datadriven::RefinementHandler::doRefinementForClass(), sgpp::datadriven::OperationMakePositiveFindIntersectionCandidates::findIntersections(), sgpp::datadriven::OperationMakePositiveFindIntersectionCandidatesJoin::findIntersections(), sgpp::datadriven::OperationMakePositiveHybridFindIntersectionCandidates::findIntersections(), sgpp::base::ForwardSelectorRefinementIndicator::ForwardSelectorRefinementIndicator(), sgpp::datadriven::LearnerVectorizedPerformanceCalculator::getGFlopAndGByte(), sgpp::pde::OperationEllipticPDESolverSystemDirichlet::getGridCoefficientsForCG(), sgpp::pde::PDESolver::getGridNormalDistribution(), python.uq.uq_setting.UQSetting.UQSetting::getTimeDependentResults(), sgpp::datadriven::RefinementHandler::handleDataAndZeroBasedRefinement(), sgpp::datadriven::RefinementHandler::handleSurplusBasedRefinement(), sgpp::pde::PoissonEquationSolver::initGridWithExpHeat(), sgpp::pde::PoissonEquationSolver::initGridWithExpHeatFullDomain(), sgpp::pde::PoissonEquationSolver::initGridWithSmoothHeat(), sgpp::pde::HeatEquationSolver::initGridWithSmoothHeat(), sgpp::pde::HeatEquationSolverWithStretching::initGridWithSmoothHeat(), sgpp::pde::PoissonEquationSolver::initGridWithSmoothHeatFullDomain(), sgpp::datadriven::LearnerBaseSP::InitializeGrid(), sgpp::datadriven::OperationMakePositive::makePositive(), sgpp::pde::OperationLaplacePolyClenshawCurtis::mult(), sgpp::pde::OperationLaplacePolyClenshawCurtisBoundary::mult(), sgpp::pde::OperationLaplaceBspline::mult(), sgpp::pde::OperationLaplaceBsplineBoundary::mult(), sgpp::pde::OperationLaplaceBsplineClenshawCurtis::mult(), sgpp::pde::OperationLaplacePolyBoundary::mult(), sgpp::pde::OperationLaplaceModBspline::mult(), sgpp::pde::OperationLaplaceModBsplineClenshawCurtis::mult(), sgpp::pde::OperationLaplaceModPoly::mult(), sgpp::pde::OperationLaplaceModPolyClenshawCurtis::mult(), sgpp::pde::OperationLaplacePoly::mult(), sgpp::pde::OperationEllipticPDESolverSystemDirichlet::OperationEllipticPDESolverSystemDirichlet(), sgpp::pde::OperationLaplaceExplicitBspline::OperationLaplaceExplicitBspline(), sgpp::pde::OperationLaplaceExplicitModBspline::OperationLaplaceExplicitModBspline(), sgpp::pde::OperationMatrixLTwoDotExplicitBspline::OperationMatrixLTwoDotExplicitBspline(), sgpp::pde::OperationMatrixLTwoDotExplicitBsplineBoundary::OperationMatrixLTwoDotExplicitBsplineBoundary(), sgpp::pde::OperationMatrixLTwoDotExplicitBsplineClenshawCurtis::OperationMatrixLTwoDotExplicitBsplineClenshawCurtis(), sgpp::pde::OperationMatrixLTwoDotExplicitLinear::OperationMatrixLTwoDotExplicitLinear(), sgpp::pde::OperationMatrixLTwoDotExplicitLinearBoundary::OperationMatrixLTwoDotExplicitLinearBoundary(), sgpp::pde::OperationMatrixLTwoDotExplicitModBspline::OperationMatrixLTwoDotExplicitModBspline(), sgpp::pde::OperationMatrixLTwoDotExplicitModBsplineClenshawCurtis::OperationMatrixLTwoDotExplicitModBsplineClenshawCurtis(), sgpp::pde::OperationMatrixLTwoDotExplicitModifiedLinear::OperationMatrixLTwoDotExplicitModifiedLinear(), sgpp::pde::OperationMatrixLTwoDotExplicitModLinear::OperationMatrixLTwoDotExplicitModLinear(), sgpp::pde::OperationMatrixLTwoDotExplicitModPoly::OperationMatrixLTwoDotExplicitModPoly(), sgpp::pde::OperationMatrixLTwoDotExplicitModPolyClenshawCurtis::OperationMatrixLTwoDotExplicitModPolyClenshawCurtis(), sgpp::pde::OperationMatrixLTwoDotExplicitPeriodic::OperationMatrixLTwoDotExplicitPeriodic(), sgpp::pde::OperationMatrixLTwoDotExplicitPoly::OperationMatrixLTwoDotExplicitPoly(), sgpp::pde::OperationMatrixLTwoDotExplicitPolyBoundary::OperationMatrixLTwoDotExplicitPolyBoundary(), sgpp::pde::OperationMatrixLTwoDotExplicitPolyClenshawCurtis::OperationMatrixLTwoDotExplicitPolyClenshawCurtis(), sgpp::pde::OperationMatrixLTwoDotExplicitPolyClenshawCurtisBoundary::OperationMatrixLTwoDotExplicitPolyClenshawCurtisBoundary(), sgpp::datadriven::LearnerBaseSP::predict(), sgpp::datadriven::PrimalDualSVM::predictRaw(), sgpp::base::GridPrinterForStretching::printGrid(), sgpp::base::GridPrinter::printGrid(), sgpp::base::GridPrinter::printGridDomain(), sgpp::base::GridPrinterForStretching::printGridDomainStretching(), sgpp::datadriven::LearnerSGDEOnOffParallel::printGridSizeStatistics(), sgpp::base::GridPrinter::printLevelIndexGrid(), sgpp::base::GridPrinterForStretching::printSparseGrid(), sgpp::base::GridPrinter::printSparseGrid(), sgpp::base::GridPrinterForStretching::printSparseGridExpTransform(), sgpp::base::GridPrinter::printSparseGridExpTransform(), sgpp::datadriven::DBMatOnlineDE::resDensity(), sgpp::datadriven::ModelFittingLeastSquares::reset(), python.uq.uq_setting.UQSetting.UQSetting::runSamples(), python.uq.uq_setting.UQSetting.UQSetting::runSamples_withoutDistribution(), sgpp::datadriven::LearnerBaseSP::train(), sgpp::datadriven::LearnerSGDE::train(), sgpp::datadriven::SparseGridDensityEstimator::train(), sgpp::datadriven::ModelFittingDensityEstimationCG::update(), sgpp::datadriven::RefinementHandler::updateClassVariablesAfterRefinement(), and sgpp::pde::OperationMatrixLTwoDotExplicitLinearBoundary::~OperationMatrixLTwoDotExplicitLinearBoundary().

GridStorage & sgpp::base::Grid::getStorage ( )
virtual

gets a reference to the GridStorage object

Returns
reference to the GridStorage obeject

References storage.

Referenced by sgpp::solver::OperationParabolicPDESolverSystem::abortTimestep(), sgpp::datadriven::AlgorithmAdaBoostBase::AlgorithmAdaBoostBase(), sgpp::pde::HeatEquationParabolicPDESolverSystemParallelOMP::applyLOperatorComplete(), sgpp::pde::HeatEquationParabolicPDESolverSystemParallelOMP::applyLOperatorInner(), sgpp::base::DirichletGridConverter::buildInnerGridWithCoefs(), sgpp::datadriven::DBMatOfflineGE::buildMatrix(), sgpp::datadriven::DBMatOfflineOrthoAdapt::buildMatrix(), sgpp::datadriven::DBMatOffline::buildMatrix(), sgpp::datadriven::ClusteringOCL::OperationClusteringOCL< T >::calculate_clusters(), sgpp::datadriven::DBMatOfflineDenseIChol::choleskyModification(), sgpp::datadriven::DBMatOfflineChol::choleskyModification(), sgpp::datadriven::OperationMakePositiveSetToZero::computeHierarchicalCoefficients(), sgpp::datadriven::OperationMakePositiveInterpolateExp::computeHierarchicalCoefficients(), sgpp::datadriven::OperationMakePositiveInterpolateBoundaryOfSupport::computeHierarchicalCoefficients(), sgpp::datadriven::OperationMakePositiveInterpolateFunction::computeHierarchicalCoefficients(), sgpp::pde::PoissonEquationSolver::constructGrid(), sgpp::pde::HeatEquationSolver::constructGrid(), sgpp::pde::HeatEquationSolverWithStretching::constructGrid(), sgpp::op_factory::createOperationConvert(), sgpp::op_factory::createOperationDiagonal(), sgpp::op_factory::createOperationEval(), sgpp::op_factory::createOperationEvalGradientNaive(), sgpp::op_factory::createOperationEvalHessianNaive(), sgpp::op_factory::createOperationEvalNaive(), sgpp::op_factory::createOperationEvalPartialDerivativeNaive(), sgpp::op_factory::createOperationFirstMoment(), sgpp::op_factory::createOperationHierarchisation(), sgpp::op_factory::createOperationLaplace(), sgpp::op_factory::createOperationLaplaceEnhanced(), sgpp::op_factory::createOperationLaplaceExplicit(), sgpp::op_factory::createOperationLTwoDotProduct(), sgpp::op_factory::createOperationQuadrature(), sgpp::op_factory::createOperationRegularizationDiagonal(), sgpp::op_factory::createOperationSecondMoment(), sgpp::op_factory::createOperationTest(), sgpp::datadriven::OperationDensityConditional::doConditional(), sgpp::datadriven::OperationDensityConditionalLinear::doConditional(), sgpp::base::OperationHierarchisationFundamentalSpline::doDehierarchisation(), sgpp::base::OperationHierarchisationModFundamentalSpline::doDehierarchisation(), sgpp::base::OperationArbitraryBoundaryHierarchisation::doDehierarchisation(), sgpp::optimization::OperationMultipleHierarchisationBspline::doDehierarchisation(), sgpp::optimization::OperationMultipleHierarchisationBsplineBoundary::doDehierarchisation(), sgpp::optimization::OperationMultipleHierarchisationLinear::doDehierarchisation(), sgpp::optimization::OperationMultipleHierarchisationLinearBoundary::doDehierarchisation(), sgpp::optimization::OperationMultipleHierarchisationModBspline::doDehierarchisation(), sgpp::optimization::OperationMultipleHierarchisationModLinear::doDehierarchisation(), sgpp::optimization::OperationMultipleHierarchisationModWavelet::doDehierarchisation(), sgpp::optimization::OperationMultipleHierarchisationWavelet::doDehierarchisation(), sgpp::optimization::OperationMultipleHierarchisationWaveletBoundary::doDehierarchisation(), sgpp::optimization::OperationMultipleHierarchisationBsplineClenshawCurtis::doDehierarchisation(), sgpp::optimization::OperationMultipleHierarchisationLinearClenshawCurtis::doDehierarchisation(), sgpp::optimization::OperationMultipleHierarchisationModBsplineClenshawCurtis::doDehierarchisation(), sgpp::base::OperationHierarchisationModFundamentalSpline::doHierarchisation(), sgpp::base::OperationHierarchisationFundamentalSpline::doHierarchisation(), sgpp::base::OperationArbitraryBoundaryHierarchisation::doHierarchisation(), sgpp::datadriven::OperationDensityMarginalize::doMarginalize(), sgpp::datadriven::OperationDensityMarginalizeLinear::doMarginalize(), sgpp::base::OperationSecondMomentBspline::doQuadrature(), sgpp::base::OperationSecondMomentBsplineBoundary::doQuadrature(), sgpp::base::OperationSecondMomentModBspline::doQuadrature(), sgpp::base::OperationSecondMomentModPoly::doQuadrature(), sgpp::base::OperationSecondMomentModPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationFirstMomentBsplineBoundary::doQuadrature(), sgpp::base::OperationSecondMomentPoly::doQuadrature(), sgpp::base::OperationSecondMomentPolyBoundary::doQuadrature(), sgpp::base::OperationFirstMomentBspline::doQuadrature(), sgpp::base::OperationSecondMomentPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationFirstMomentModBspline::doQuadrature(), sgpp::base::OperationFirstMomentModPoly::doQuadrature(), sgpp::base::OperationFirstMomentModPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationFirstMomentPoly::doQuadrature(), sgpp::base::OperationFirstMomentPolyBoundary::doQuadrature(), sgpp::base::OperationFirstMomentPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationSecondMomentBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationSecondMomentModBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationFirstMomentBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationSecondMomentPolyClenshawCurtisBoundary::doQuadrature(), sgpp::base::OperationFirstMomentModBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationFirstMomentPolyClenshawCurtisBoundary::doQuadrature(), sgpp::datadriven::AlgorithmAdaBoostBase::doRefinement(), sgpp::datadriven::RefinementHandler::doRefinementForClass(), sgpp::datadriven::OperationDensitySampling1DLinear::doSampling1D(), sgpp::datadriven::OperationRosenblattTransformation1DPolyClenshawCurtis::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DBspline::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DBsplineBoundary::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DBsplineClenshawCurtis::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DLinear::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DModBspline::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DModPoly::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DModPolyClenshawCurtis::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DPoly::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DPolyBoundary::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DPolyClenshawCurtisBoundary::doTransformation1D(), sgpp::datadriven::OperationInverseRosenblattTransformation1DLinear::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DModBsplineClenshawCurtis::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformationLinear::doTransformation1D(), sgpp::datadriven::OperationInverseRosenblattTransformationLinear::doTransformation1D(), sgpp::optimization::IterativeGridGenerator::evalFunction(), sgpp::datadriven::OperationMakePositiveFindIntersectionCandidates::findIntersections(), sgpp::datadriven::OperationMakePositiveFindIntersectionCandidatesJoin::findIntersections(), sgpp::datadriven::OperationMakePositiveHybridFindIntersectionCandidates::findIntersections(), sgpp::optimization::IterativeGridGeneratorSOO::generate(), sgpp::optimization::IterativeGridGeneratorLinearSurplus::generate(), sgpp::optimization::IterativeGridGeneratorRitterNovak::generate(), sgpp::datadriven::PiecewiseConstantSmoothedRegressionSystemMatrix::generateb(), sgpp::datadriven::LearnerVectorizedPerformanceCalculator::getGFlopAndGByte(), sgpp::solver::OperationParabolicPDESolverSystem::getGridStorage(), sgpp::base::GridDataBase::GridDataBase(), sgpp::datadriven::RefinementHandler::handleSurplusBasedRefinement(), sgpp::pde::HeatEquationParabolicPDESolverSystem::HeatEquationParabolicPDESolverSystem(), sgpp::pde::HeatEquationParabolicPDESolverSystemParallelOMP::HeatEquationParabolicPDESolverSystemParallelOMP(), sgpp::datadriven::OperationMakePositive::initialize(), sgpp::datadriven::OperationMakePositiveFindIntersectionCandidates::initializeCandidates(), sgpp::datadriven::OperationMakePositiveFindIntersectionCandidatesJoin::initializeCandidates(), main(), sgpp::datadriven::OperationMakePositive::makeCurrentNodalValuesPositive(), sgpp::datadriven::clusteringmpi::MPIWorkerGridBase::MPIWorkerGridBase(), sgpp::pde::OperationMatrixLTwoDotBsplineBoundary::mult(), sgpp::pde::OperationLaplacePoly::mult(), sgpp::pde::OperationLaplacePolyClenshawCurtis::mult(), sgpp::pde::OperationLaplaceModPoly::mult(), sgpp::pde::OperationLaplaceBsplineBoundary::mult(), sgpp::pde::OperationLaplaceModPolyClenshawCurtis::mult(), sgpp::pde::OperationLaplaceBspline::mult(), sgpp::pde::OperationLaplaceBsplineClenshawCurtis::mult(), sgpp::pde::OperationLaplaceModBspline::mult(), sgpp::pde::OperationLaplacePolyClenshawCurtisBoundary::mult(), sgpp::pde::OperationLaplaceModBsplineClenshawCurtis::mult(), sgpp::pde::OperationLaplacePolyBoundary::mult(), sgpp::pde::OperationMatrixLTwoDotBspline::mult(), sgpp::pde::OperationMatrixLTwoDotBsplineClenshawCurtis::mult(), sgpp::pde::OperationMatrixLTwoDotModBspline::mult(), sgpp::pde::OperationMatrixLTwoDotModBsplineClenshawCurtis::mult(), sgpp::pde::OperationMatrixLTwoDotModPolyClenshawCurtis::mult(), sgpp::pde::OperationMatrixLTwoDotPoly::mult(), sgpp::pde::OperationMatrixLTwoDotPolyClenshawCurtisBoundary::mult(), sgpp::pde::OperationMatrixLTwoDotModLinear::mult(), sgpp::pde::OperationMatrixLTwoDotModPoly::mult(), sgpp::pde::OperationMatrixLTwoDotPolyClenshawCurtis::mult(), sgpp::pde::OperationMatrixLTwoDotPolyBoundary::mult(), sgpp::combigrid::LTwoScalarProductHashMapNakBsplineBoundaryCombigrid::mult(), sgpp::datadriven::OperationMakePositiveFindIntersectionCandidates::nextCandidates(), sgpp::datadriven::OperationMakePositiveHybridFindIntersectionCandidates::nextCandidates(), sgpp::base::OperationArbitraryBoundaryHierarchisation::OperationArbitraryBoundaryHierarchisation(), sgpp::datadriven::DensityOCLMultiPlatform::OperationDensityOCLMultiPlatform< T >::OperationDensityOCLMultiPlatform(), sgpp::pde::OperationEllipticPDESolverSystemDirichlet::OperationEllipticPDESolverSystemDirichlet(), sgpp::pde::OperationLaplaceExplicitBspline::OperationLaplaceExplicitBspline(), sgpp::pde::OperationLaplaceExplicitModBspline::OperationLaplaceExplicitModBspline(), sgpp::pde::OperationMatrixLTwoDotExplicitBspline::OperationMatrixLTwoDotExplicitBspline(), sgpp::pde::OperationMatrixLTwoDotExplicitBsplineBoundary::OperationMatrixLTwoDotExplicitBsplineBoundary(), sgpp::pde::OperationMatrixLTwoDotExplicitBsplineClenshawCurtis::OperationMatrixLTwoDotExplicitBsplineClenshawCurtis(), sgpp::pde::OperationMatrixLTwoDotExplicitLinear::OperationMatrixLTwoDotExplicitLinear(), sgpp::pde::OperationMatrixLTwoDotExplicitModBspline::OperationMatrixLTwoDotExplicitModBspline(), sgpp::pde::OperationMatrixLTwoDotExplicitModBsplineClenshawCurtis::OperationMatrixLTwoDotExplicitModBsplineClenshawCurtis(), sgpp::pde::OperationMatrixLTwoDotExplicitModifiedLinear::OperationMatrixLTwoDotExplicitModifiedLinear(), sgpp::pde::OperationMatrixLTwoDotExplicitModLinear::OperationMatrixLTwoDotExplicitModLinear(), sgpp::pde::OperationMatrixLTwoDotExplicitModPoly::OperationMatrixLTwoDotExplicitModPoly(), sgpp::pde::OperationMatrixLTwoDotExplicitModPolyClenshawCurtis::OperationMatrixLTwoDotExplicitModPolyClenshawCurtis(), sgpp::pde::OperationMatrixLTwoDotExplicitPeriodic::OperationMatrixLTwoDotExplicitPeriodic(), sgpp::pde::OperationMatrixLTwoDotExplicitPoly::OperationMatrixLTwoDotExplicitPoly(), sgpp::pde::OperationMatrixLTwoDotExplicitPolyBoundary::OperationMatrixLTwoDotExplicitPolyBoundary(), sgpp::pde::OperationMatrixLTwoDotExplicitPolyClenshawCurtis::OperationMatrixLTwoDotExplicitPolyClenshawCurtis(), sgpp::pde::OperationMatrixLTwoDotExplicitPolyClenshawCurtisBoundary::OperationMatrixLTwoDotExplicitPolyClenshawCurtisBoundary(), sgpp::datadriven::OperationMultiEvalModMaskStreaming::OperationMultiEvalModMaskStreaming(), sgpp::datadriven::OperationMultiEvalStreaming::OperationMultiEvalStreaming(), sgpp::datadriven::OperationMultiEvalStreamingBSplineOCL< T >::OperationMultiEvalStreamingBSplineOCL(), sgpp::datadriven::OperationMultipleEvalSubspaceCombined::OperationMultipleEvalSubspaceCombined(), sgpp::datadriven::DensityOCLMultiPlatform::OperationPruneGraphOCLMultiPlatform< T >::OperationPruneGraphOCLMultiPlatform(), sgpp::datadriven::MultipleClassRefinementFunctor::operator()(), sgpp::datadriven::OperationMultiEvalCuda::prepare(), sgpp::datadriven::OperationMultiEvalStreamingModOCLUnified< T >::prepare(), sgpp::datadriven::OperationMultiEvalStreamingModOCLFastMultiPlatform< T >::prepare(), sgpp::datadriven::OperationMultiEvalStreamingModOCLOpt< T >::prepare(), sgpp::datadriven::StreamingOCLMultiPlatform::OperationMultiEvalStreamingOCLMultiPlatform< T >::prepare(), sgpp::optimization::Printer::printIterativeGridGenerator(), sgpp::base::GridPrinter::printLevelIndexGrid(), sgpp::base::GridPrinterForStretching::printSparseGrid(), sgpp::base::GridPrinter::printSparseGrid(), sgpp::base::GridPrinterForStretching::printSparseGridExpTransform(), sgpp::base::GridPrinter::printSparseGridExpTransform(), sgpp::base::DirichletGridConverter::rebuildInnerGridWithCoefs(), sgpp::datadriven::MultipleClassRefinementFunctor::refine(), sgpp::base::MultipleClassRefinement::refineGridpoint(), sgpp::solver::OperationParabolicPDESolverSystem::saveAlpha(), sgpp::datadriven::MultipleClassRefinementFunctor::setBorderPenalty(), sgpp::pde::PDESolver::setGrid(), sgpp::base::GridDataBase::setValuesFor(), sgpp::datadriven::DBMatOnlineDEOrthoAdapt::sherman_morrison_adapt(), sgpp::datadriven::LearnerSGDE::train(), sgpp::datadriven::SparseGridDensityEstimator::train(), sgpp::optimization::IterativeGridGenerator::undoRefinement(), sgpp::datadriven::RefinementHandler::updateClassVariablesAfterRefinement(), sgpp::datadriven::OperationInverseRosenblattTransformation1DBspline::~OperationInverseRosenblattTransformation1DBspline(), sgpp::datadriven::OperationInverseRosenblattTransformation1DBsplineBoundary::~OperationInverseRosenblattTransformation1DBsplineBoundary(), sgpp::datadriven::OperationInverseRosenblattTransformation1DBsplineClenshawCurtis::~OperationInverseRosenblattTransformation1DBsplineClenshawCurtis(), sgpp::datadriven::OperationInverseRosenblattTransformation1DModBspline::~OperationInverseRosenblattTransformation1DModBspline(), sgpp::datadriven::OperationInverseRosenblattTransformation1DModBsplineClenshawCurtis::~OperationInverseRosenblattTransformation1DModBsplineClenshawCurtis(), sgpp::datadriven::OperationInverseRosenblattTransformation1DModPoly::~OperationInverseRosenblattTransformation1DModPoly(), sgpp::datadriven::OperationInverseRosenblattTransformation1DModPolyClenshawCurtis::~OperationInverseRosenblattTransformation1DModPolyClenshawCurtis(), sgpp::datadriven::OperationInverseRosenblattTransformation1DPoly::~OperationInverseRosenblattTransformation1DPoly(), sgpp::datadriven::OperationInverseRosenblattTransformation1DPolyBoundary::~OperationInverseRosenblattTransformation1DPolyBoundary(), sgpp::datadriven::OperationInverseRosenblattTransformation1DPolyClenshawCurtis::~OperationInverseRosenblattTransformation1DPolyClenshawCurtis(), sgpp::datadriven::OperationInverseRosenblattTransformation1DPolyClenshawCurtisBoundary::~OperationInverseRosenblattTransformation1DPolyClenshawCurtisBoundary(), and sgpp::datadriven::OperationMakePositiveLoadFullGridCandidates::~OperationMakePositiveLoadFullGridCandidates().

Stretching & sgpp::base::Grid::getStretching ( )
virtual
virtual sgpp::base::GridType sgpp::base::Grid::getType ( )
pure virtual

Returns a string that identifies the grid type uniquely.

Returns
string that identifies the grid type uniquely

Implemented in sgpp::base::LinearBoundaryGrid, sgpp::base::BsplineBoundaryGrid, sgpp::base::BsplineClenshawCurtisGrid, sgpp::base::LinearTruncatedBoundaryGrid, sgpp::base::NakBsplineBoundaryCombigridGrid, sgpp::base::LinearGrid, sgpp::base::LinearGridStencil, sgpp::base::LinearStretchedGrid, sgpp::base::ModLinearGridStencil, sgpp::base::BsplineGrid, sgpp::base::FundamentalSplineGrid, sgpp::base::LinearStretchedBoundaryGrid, sgpp::base::ModBsplineClenshawCurtisGrid, sgpp::base::ModBsplineGrid, sgpp::base::ModFundamentalSplineGrid, sgpp::base::SquareRootGrid, sgpp::base::ModPolyClenshawCurtisGrid, sgpp::base::PolyClenshawCurtisGrid, sgpp::base::LinearClenshawCurtisGrid, sgpp::base::ModLinearClenshawCurtisGrid, sgpp::base::PolyBoundaryGrid, sgpp::base::WaveletBoundaryGrid, sgpp::base::PolyClenshawCurtisBoundaryGrid, sgpp::base::LinearClenshawCurtisBoundaryGrid, sgpp::base::LinearL0BoundaryGrid, sgpp::base::ModLinearGrid, sgpp::base::ModWaveletGrid, sgpp::base::PeriodicGrid, sgpp::base::WaveletGrid, sgpp::base::ModPolyGrid, sgpp::base::PolyGrid, and sgpp::base::PrewaveletGrid.

Referenced by sgpp::base::DirichletGridConverter::buildInnerGridWithCoefs(), sgpp::datadriven::SparseGridDensityEstimator::computeMultipleEvalMatrix(), createGridOfEquivalentType(), sgpp::op_factory::createOperationConvert(), sgpp::op_factory::createOperationDensityConditional(), sgpp::op_factory::createOperationDensityMarginalize(), sgpp::op_factory::createOperationDensityMargTo1D(), sgpp::op_factory::createOperationDensityRejectionSampling(), sgpp::op_factory::createOperationDensitySampling(), sgpp::op_factory::createOperationDensitySampling1D(), sgpp::op_factory::createOperationEval(), sgpp::op_factory::createOperationEvalGradientNaive(), sgpp::op_factory::createOperationEvalHessianNaive(), sgpp::op_factory::createOperationEvalNaive(), sgpp::op_factory::createOperationEvalPartialDerivativeNaive(), sgpp::op_factory::createOperationFirstMoment(), sgpp::op_factory::createOperationHierarchisation(), sgpp::op_factory::createOperationInverseRosenblattTransformation(), sgpp::op_factory::createOperationInverseRosenblattTransformation1D(), sgpp::op_factory::createOperationLaplace(), sgpp::op_factory::createOperationLaplaceEnhanced(), sgpp::op_factory::createOperationLaplaceExplicit(), sgpp::op_factory::createOperationLTwoDotExplicit(), sgpp::op_factory::createOperationLTwoDotProduct(), sgpp::op_factory::createOperationMultipleEval(), sgpp::op_factory::createOperationMultipleEvalInter(), sgpp::op_factory::createOperationMultipleEvalNaive(), sgpp::op_factory::createOperationMultipleHierarchisation(), sgpp::op_factory::createOperationQuadrature(), sgpp::op_factory::createOperationRegularizationDiagonal(), sgpp::op_factory::createOperationRosenblattTransformation(), sgpp::op_factory::createOperationRosenblattTransformation1D(), sgpp::op_factory::createOperationSecondMoment(), sgpp::op_factory::createOperationTest(), sgpp::optimization::IterativeGridGeneratorLinearSurplus::generate(), sgpp::datadriven::LearnerVectorizedPerformanceCalculator::getGFlopAndGByte(), getTypeAsString(), getZeroBoundaryType(), sgpp::optimization::HierarchisationSLE::HierarchisationSLE(), sgpp::optimization::IterativeGridGeneratorLinearSurplus::IterativeGridGeneratorLinearSurplus(), sgpp::datadriven::OperationMakePositive::makeCurrentNodalValuesPositive(), sgpp::datadriven::OperationMakePositive::makePositive(), sgpp::base::OperationArbitraryBoundaryHierarchisation::OperationArbitraryBoundaryHierarchisation(), sgpp::base::PredictiveRefinementIndicator::PredictiveRefinementIndicator(), sgpp::base::DirichletGridConverter::rebuildInnerGridWithCoefs(), and serialize().

std::string sgpp::base::Grid::getTypeAsString ( )

Returns a string that identifies the grid type uniquely.

Returns
string that identifies the grid type uniquely

References getType().

void sgpp::base::Grid::insertPoint ( size_t  dim,
unsigned int  levels[],
unsigned int  indices[],
bool  isLeaf 
)
Grid * sgpp::base::Grid::nullFactory ( std::istream &  )
staticprotected

Factory for everything we don't know.

Referenced by unserialize().

void sgpp::base::Grid::refine ( DataVector vector,
int  numOfPoints 
)

Refine grid Refine the given number of points on the grid according to the vector.

Parameters
vectorDataVector vector with errors for each basis function or alpha-vector
numOfPointsinteger number of points to refine

References getGenerator(), and sgpp::base::GridGenerator::refine().

void sgpp::base::Grid::serialize ( std::string &  ostr,
int  version = SERIALIZATION_VERSION 
)

Serializes grid to a string.

Needed for Python compatibility. Calls serialize(std::ostream&).

Parameters
ostrstring into which the grid is written
versionthe serialization version of the file

Referenced by sgpp::pde::PDESolver::getGrid(), sgpp::datadriven::LearnerBaseSP::LearnerBaseSP(), sgpp::datadriven::OperationMultiEvalHPX::mult(), sgpp::base::PolyGrid::serialize(), sgpp::base::ModPolyGrid::serialize(), sgpp::base::PolyBoundaryGrid::serialize(), sgpp::base::LinearClenshawCurtisBoundaryGrid::serialize(), sgpp::base::PolyClenshawCurtisBoundaryGrid::serialize(), sgpp::base::LinearBoundaryGrid::serialize(), sgpp::base::LinearClenshawCurtisGrid::serialize(), sgpp::base::ModLinearClenshawCurtisGrid::serialize(), sgpp::base::ModPolyClenshawCurtisGrid::serialize(), sgpp::base::PolyClenshawCurtisGrid::serialize(), sgpp::base::FundamentalSplineGrid::serialize(), sgpp::base::ModBsplineClenshawCurtisGrid::serialize(), sgpp::base::ModBsplineGrid::serialize(), sgpp::base::ModFundamentalSplineGrid::serialize(), sgpp::base::BsplineGrid::serialize(), sgpp::base::BsplineClenshawCurtisGrid::serialize(), sgpp::base::NakBsplineBoundaryCombigridGrid::serialize(), sgpp::base::BsplineBoundaryGrid::serialize(), serialize(), python.utils.GzipSerializer.GzipSerializer::serializeToFile(), python.learner.formatter.LearnerFormatter.LearnerFormatter::serializeToFile(), python.learner.formatter.LearnedKnowledgeFormatter.LearnedKnowledgeFormatter::serializeToFile(), python.learner.formatter.GridFormatter.GridFormatter::serializeToFile(), python.uq.analysis.asgc.ASGCKnowledgeFormatter.ASGCKnowledgeFormatter::serializeToFile(), python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter::serializeToFile(), and python.uq.uq_setting.UQSettingFormatter.UQSettingFormatter::serializeToFile().

void sgpp::base::Grid::serialize ( std::ostream &  ostr,
int  version = SERIALIZATION_VERSION 
)
virtual

Serializes the grid.

Override if additional information need to be saved. Call base function before writing anything!

Parameters
ostrstream to which the grid is written
versionthe serialization version of the file

Reimplemented in sgpp::base::BsplineBoundaryGrid, sgpp::base::BsplineClenshawCurtisGrid, sgpp::base::NakBsplineBoundaryCombigridGrid, sgpp::base::BsplineGrid, sgpp::base::FundamentalSplineGrid, sgpp::base::ModBsplineClenshawCurtisGrid, sgpp::base::ModBsplineGrid, sgpp::base::ModFundamentalSplineGrid, sgpp::base::ModPolyClenshawCurtisGrid, sgpp::base::PolyClenshawCurtisGrid, sgpp::base::LinearClenshawCurtisGrid, sgpp::base::ModLinearClenshawCurtisGrid, sgpp::base::LinearBoundaryGrid, sgpp::base::PolyClenshawCurtisBoundaryGrid, sgpp::base::LinearClenshawCurtisBoundaryGrid, sgpp::base::PolyBoundaryGrid, sgpp::base::ModPolyGrid, and sgpp::base::PolyGrid.

References getType(), sgpp::base::HashGridStorage::serialize(), and storage.

Referenced by python.utils.GzipSerializer.GzipSerializer::serializeToFile(), python.learner.formatter.LearnerFormatter.LearnerFormatter::serializeToFile(), python.learner.formatter.LearnedKnowledgeFormatter.LearnedKnowledgeFormatter::serializeToFile(), python.learner.formatter.GridFormatter.GridFormatter::serializeToFile(), python.uq.analysis.asgc.ASGCKnowledgeFormatter.ASGCKnowledgeFormatter::serializeToFile(), python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter::serializeToFile(), and python.uq.uq_setting.UQSettingFormatter.UQSettingFormatter::serializeToFile().

void sgpp::base::Grid::setAlgorithmicDimensions ( std::vector< size_t >  newAlgoDims)

sets the algorithmic dimensions (the dimensions in which the Up Down operations should be applied)

Parameters
newAlgoDimsstd::vector containing the algorithmic dimensions

References sgpp::base::HashGridStorage::setAlgorithmicDimensions(), and storage.

Referenced by sgpp::base::DirichletGridConverter::buildInnerGridWithCoefs().

void sgpp::base::Grid::setBoundingBox ( BoundingBox boundingBox)
virtual

sets the GridStorage's BoundingsBox pointer to a BoundingBox object

Returns
pointer to the GridStorage's BoundingsBox object

References sgpp::base::HashGridStorage::setBoundingBox(), and storage.

void sgpp::base::Grid::setStretching ( Stretching stretching)
virtual

sets the GridStorage's Stretching pointer to a Stretching object

Returns
pointer to the GridStorage's Stretching object

References sgpp::base::HashGridStorage::setStretching(), and storage.

Grid * sgpp::base::Grid::unserialize ( const std::string &  istr)
static
Grid * sgpp::base::Grid::unserialize ( std::istream &  istr)
static

reads a grid out of a stream

Parameters
istrinputstream that contains the grid information
Returns
grid

References sgpp::base::Bspline, sgpp::base::BsplineBoundary, sgpp::base::BsplineClenshawCurtis, python.leja::count, sgpp::base::FundamentalSpline, sgpp::base::Linear, sgpp::base::LinearBoundary, sgpp::base::LinearClenshawCurtis, sgpp::base::LinearClenshawCurtisBoundary, sgpp::base::LinearL0Boundary, sgpp::base::LinearStencil, sgpp::base::LinearStretched, sgpp::base::LinearStretchedBoundary, sgpp::base::LinearTruncatedBoundary, sgpp::base::ModBspline, sgpp::base::ModBsplineClenshawCurtis, sgpp::base::ModFundamentalSpline, sgpp::base::ModLinear, sgpp::base::ModLinearClenshawCurtis, sgpp::base::ModLinearStencil, sgpp::base::ModPoly, sgpp::base::ModPolyClenshawCurtis, sgpp::base::ModWavelet, nullFactory(), sgpp::base::Periodic, sgpp::base::Poly, sgpp::base::PolyBoundary, sgpp::base::PolyClenshawCurtis, sgpp::base::PolyClenshawCurtisBoundary, sgpp::base::Prewavelet, sgpp::base::PrewaveletGrid::unserialize(), sgpp::base::PolyGrid::unserialize(), sgpp::base::LinearClenshawCurtisBoundaryGrid::unserialize(), sgpp::base::ModPolyGrid::unserialize(), sgpp::base::PeriodicGrid::unserialize(), sgpp::base::LinearL0BoundaryGrid::unserialize(), sgpp::base::WaveletGrid::unserialize(), sgpp::base::ModWaveletGrid::unserialize(), sgpp::base::ModLinearGrid::unserialize(), sgpp::base::WaveletBoundaryGrid::unserialize(), sgpp::base::PolyClenshawCurtisBoundaryGrid::unserialize(), sgpp::base::PolyBoundaryGrid::unserialize(), sgpp::base::LinearStretchedBoundaryGrid::unserialize(), sgpp::base::LinearStretchedGrid::unserialize(), sgpp::base::LinearGridStencil::unserialize(), sgpp::base::LinearGrid::unserialize(), sgpp::base::ModLinearGridStencil::unserialize(), sgpp::base::LinearTruncatedBoundaryGrid::unserialize(), sgpp::base::LinearBoundaryGrid::unserialize(), sgpp::base::LinearClenshawCurtisGrid::unserialize(), sgpp::base::ModLinearClenshawCurtisGrid::unserialize(), sgpp::base::PolyClenshawCurtisGrid::unserialize(), sgpp::base::ModPolyClenshawCurtisGrid::unserialize(), sgpp::base::ModFundamentalSplineGrid::unserialize(), sgpp::base::ModBsplineClenshawCurtisGrid::unserialize(), sgpp::base::BsplineGrid::unserialize(), sgpp::base::FundamentalSplineGrid::unserialize(), sgpp::base::ModBsplineGrid::unserialize(), sgpp::base::BsplineClenshawCurtisGrid::unserialize(), sgpp::base::BsplineBoundaryGrid::unserialize(), sgpp::base::Wavelet, and sgpp::base::WaveletBoundary.

Member Data Documentation


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