SG++-Doxygen-Documentation
|
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>
Public Member Functions | |
Grid * | clone () |
copies a grid More... | |
Grid * | createGridOfEquivalentType (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 SBasis & | getBasis ()=0 |
Returns the Basis class associated with the grid. More... | |
virtual BoundingBox & | getBoundingBox () |
gets a reference to the GridStorage's BoundingsBox object More... | |
size_t | getDimension () const |
Returns the number of dimensions. More... | |
virtual GridGenerator & | getGenerator ()=0 |
size_t | getSize () const |
Returns the number of points on the grid. More... | |
virtual GridStorage & | getStorage () |
gets a reference to the GridStorage object More... | |
virtual Stretching & | getStretching () |
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 Grid * | createBsplineBoundaryGrid (size_t dim, size_t degree) |
creates a B-spline trapezoid boundary grid More... | |
static Grid * | createBsplineClenshawCurtisGrid (size_t dim, size_t degree) |
creates a B-spline Clenshaw-Curtis grid More... | |
static Grid * | createBsplineGrid (size_t dim, size_t degree) |
creates a B-spline grid More... | |
static Grid * | createFundamentalSplineGrid (size_t dim, size_t degree) |
creates a fundamental spline grid More... | |
static Grid * | createGrid (RegularGridConfiguration gridConfig) |
creates a grid defined by the grid configuration More... | |
static Grid * | createLinearBoundaryGrid (size_t dim, level_t boundaryLevel=1) |
creates a linear boundary grid More... | |
static Grid * | createLinearClenshawCurtisBoundaryGrid (size_t dim, level_t boundaryLevel=1) |
creates a linear Clenshaw-Curtis boundary grid More... | |
static Grid * | createLinearClenshawCurtisGrid (size_t dim) |
creates a linear Clenshaw-Curtis grid More... | |
static Grid * | createLinearGrid (size_t dim) |
Creates and returns a grid without grid points on the boundary (zero boundary conditions) with piecewise linear basis functions. More... | |
static Grid * | createLinearGridStencil (size_t dim) |
creates a stencil for a linear grid (without boundaries) More... | |
static Grid * | createLinearStretchedBoundaryGrid (size_t dim) |
creates a linearstretched truncated boundary grid More... | |
static Grid * | createLinearStretchedGrid (size_t dim) |
creates a linear stretched grid without boundaries More... | |
static Grid * | createLinearTruncatedBoundaryGrid (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 Grid * | createModBsplineClenshawCurtisGrid (size_t dim, size_t degree) |
creates a modified B-spline Clenshaw-Curtis grid More... | |
static Grid * | createModBsplineGrid (size_t dim, size_t degree) |
creates a modified B-spline grid More... | |
static Grid * | createModFundamentalSplineGrid (size_t dim, size_t degree) |
creates a modified fundamental spline grid More... | |
static Grid * | createModLinearClenshawCurtisGrid (size_t dim) |
creates a modified linear Clenshaw-Curtis grid More... | |
static Grid * | createModLinearGrid (size_t dim) |
creates a modified linear grid More... | |
static Grid * | createModLinearGridStencil (size_t dim) |
creates a stencil for a modified linear grid (without boundaries) More... | |
static Grid * | createModPolyClenshawCurtisGrid (size_t dim, size_t degree) |
creates a modified poly grid with clenshaw curtis points More... | |
static Grid * | createModPolyGrid (size_t dim, size_t degree) |
creates a modified polynomial grid More... | |
static Grid * | createModWaveletGrid (size_t dim) |
creates a modified wavelet grid More... | |
static Grid * | createNakBsplineBoundaryCombigridGrid (size_t dim, size_t degree) |
creates a not a knot B-Spline boundary grid More... | |
static Grid * | createPeriodicGrid (size_t dim) |
creates a periodic grid More... | |
static Grid * | createPolyBoundaryGrid (size_t dim, size_t degree, level_t boundaryLevel=1) |
creates a polynomial grid with truncated boundary More... | |
static Grid * | createPolyClenshawCurtisBoundaryGrid (size_t dim, size_t degree, level_t boundaryLevel=1) |
creates a poly Clenshaw Curtis boundary grid with clenshaw curtis points More... | |
static Grid * | createPolyClenshawCurtisGrid (size_t dim, size_t degree) |
creates a poly grid with clenshaw curtis points More... | |
static Grid * | createPolyGrid (size_t dim, size_t degree) |
creates a polynomial grid More... | |
static Grid * | createPrewaveletGrid (size_t dim) |
creates a prewavelet grid More... | |
static Grid * | createSquareRootGrid (size_t dim) |
creates a square root grid (h-grid) More... | |
static Grid * | createWaveletBoundaryGrid (size_t dim) |
creates a wavelet trapezoid boundary grid More... | |
static Grid * | createWaveletGrid (size_t dim) |
creates a wavelet grid More... | |
static GridType | stringToGridType (const std::string &gridType) |
Conversion from string to grid type. More... | |
static Grid * | unserialize (const std::string &istr) |
reads a grid out of a string More... | |
static Grid * | unserialize (std::istream &istr) |
reads a grid out of a stream More... | |
Protected Types | |
typedef Grid *(* | Factory) (std::istream &) |
typedef std::map< std::string, Grid::Factory > | factoryMap |
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 Grid * | nullFactory (std::istream &) |
Factory for everything we don't know. More... | |
Protected Attributes | |
GridStorage | storage |
GridStorage object of the grid. More... | |
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
|
protected |
|
protected |
|
protected |
|
delete |
delete copy constructor
other |
|
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().
istr | inputstream that contains the grid information |
|
explicitprotected |
Constructor initializing the grid storage with the given dimensionality.
dim | dimensionality |
|
explicitprotected |
Constructor initializing the grid storage with the given BoundingBox.
boundingBox | BoundingBox of the grid |
|
explicitprotected |
Constructor initializing the grid storage with the given Stretching.
stretching | Stretching of the grid |
|
virtual |
Desctructor.
Grid * sgpp::base::Grid::clone | ( | ) |
copies a grid
References createGridOfEquivalentType(), getDimension(), and storage.
Referenced by sgpp::datadriven::OperationDensityMargTo1D::margToDimXs(), and sgpp::datadriven::SparseGridDensityEstimator::SparseGridDensityEstimator().
|
static |
creates a B-spline trapezoid boundary grid
dim | the grid's dimension |
degree | the B-spline degree |
Referenced by createGrid(), and createGridOfEquivalentType().
|
static |
creates a B-spline Clenshaw-Curtis grid
dim | the grid's dimension |
degree | the B-spline degree |
Referenced by createGrid(), and createGridOfEquivalentType().
|
static |
creates a B-spline grid
dim | the grid's dimension |
degree | the B-spline degree |
Referenced by createGrid(), and createGridOfEquivalentType().
|
static |
creates a fundamental spline grid
dim | the grid's dimension |
degree | the B-spline degree |
Referenced by createGrid(), and createGridOfEquivalentType().
|
static |
creates a grid defined by the grid configuration
gridConfig | grid configuration |
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
numDims | number 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().
creates a linear boundary grid
dim | the grid's dimension |
boundaryLevel | on 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 |
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().
|
static |
creates a linear Clenshaw-Curtis boundary grid
dim | the grid's dimension |
boundaryLevel | level of the boundary |
Referenced by createGrid(), and createGridOfEquivalentType().
|
static |
creates a linear Clenshaw-Curtis grid
dim | the grid's dimension |
Referenced by createGrid(), and createGridOfEquivalentType().
|
static |
Creates and returns a grid without grid points on the boundary (zero boundary conditions) with piecewise linear basis functions.
dim | the grid's dimension |
Referenced by sgpp::datadriven::ModelFittingBase::buildGrid(), sgpp::datadriven::GridFactory::createGrid(), createGrid(), createGridOfEquivalentType(), sgpp::datadriven::LearnerSGD::createRegularGrid(), sgpp::datadriven::LearnerSGDE::createRegularGrid(), sgpp::datadriven::AlgorithmAdaBoostBase::doAdaBoostR2(), sgpp::datadriven::AlgorithmAdaBoostBase::doAdaBoostRT(), sgpp::datadriven::OperationDensityConditionalLinear::doConditional(), sgpp::datadriven::AlgorithmAdaBoostBase::doDiscreteAdaBoost(), sgpp::datadriven::OperationDensityMarginalizeLinear::doMarginalize(), sgpp::datadriven::AlgorithmAdaBoostBase::doRealAdaBoost(), hpx_main(), main(), sgpp::datadriven::MultipleClassRefinementFunctor::operator()(), sgpp::datadriven::LearnerSGDE::trainOnline(), and sgpp::datadriven::OperationMakePositiveLoadFullGridCandidates::~OperationMakePositiveLoadFullGridCandidates().
|
static |
creates a stencil for a linear grid (without boundaries)
dim | the grid's dimension |
|
static |
creates a linearstretched truncated boundary grid
dim | the grid's dimension |
Referenced by createGrid(), and createGridOfEquivalentType().
|
static |
creates a linear stretched grid without boundaries
dim | the grid's dimension |
Referenced by createGrid(), and createGridOfEquivalentType().
|
static |
creates a truncated boundary grid=contains all the gridpoints of the fullgrids which have \(|l|<level and li>=l_user\)
dim | the grid's dimension |
Referenced by createGrid(), and createGridOfEquivalentType().
|
static |
creates a modified B-spline Clenshaw-Curtis grid
dim | the grid's dimension |
degree | the B-spline degree |
Referenced by createGrid(), and createGridOfEquivalentType().
|
static |
creates a modified B-spline grid
dim | the grid's dimension |
degree | the B-spline degree |
Referenced by createGrid(), and createGridOfEquivalentType().
|
static |
creates a modified fundamental spline grid
dim | the grid's dimension |
degree | the B-spline degree |
Referenced by createGrid(), and createGridOfEquivalentType().
|
static |
creates a modified linear Clenshaw-Curtis grid
dim | the grid's dimension |
Referenced by createGrid(), and createGridOfEquivalentType().
|
static |
creates a modified linear grid
dim | the grid's dimension |
Referenced by sgpp::datadriven::ModelFittingBase::buildGrid(), sgpp::datadriven::GridFactory::createGrid(), createGrid(), createGridOfEquivalentType(), sgpp::datadriven::LearnerSVM::createRegularGrid(), sgpp::datadriven::LearnerSGD::createRegularGrid(), sgpp::datadriven::AlgorithmAdaBoostBase::doAdaBoostR2(), sgpp::datadriven::AlgorithmAdaBoostBase::doAdaBoostRT(), sgpp::datadriven::AlgorithmAdaBoostBase::doDiscreteAdaBoost(), sgpp::datadriven::AlgorithmAdaBoostBase::doRealAdaBoost(), hpx_main(), main(), and sgpp::datadriven::LearnerSGDE::trainOnline().
|
static |
creates a stencil for a modified linear grid (without boundaries)
dim | the grid's dimension |
Referenced by createGrid(), and createGridOfEquivalentType().
|
static |
creates a modified poly grid with clenshaw curtis points
dim | the grid's dimension |
degree | the polynom's max. degree |
Referenced by createGrid(), and createGridOfEquivalentType().
|
static |
creates a modified polynomial grid
dim | the grid's dimension |
degree | the polynom's max. degree |
Referenced by createGrid(), and createGridOfEquivalentType().
|
static |
creates a modified wavelet grid
dim | the grid's dimension |
Referenced by createGrid(), and createGridOfEquivalentType().
|
static |
creates a not a knot B-Spline boundary grid
dim | the grid's dimension |
degree | the B-spline degree |
Referenced by createGrid(), createGridOfEquivalentType(), and sgpp::combigrid::BsplineStochasticCollocation::mean().
|
static |
creates a periodic grid
dim | the grid's dimension |
Referenced by createGrid(), and createGridOfEquivalentType().
|
static |
creates a polynomial grid with truncated boundary
dim | the grid's dimension |
degree | the polynom's max. degree |
boundaryLevel | level at which boundary points are added |
Referenced by createGrid(), and createGridOfEquivalentType().
|
static |
creates a poly Clenshaw Curtis boundary grid with clenshaw curtis points
dim | the grid's dimension |
degree | the polynom's max. degree |
boundaryLevel | level at which boundary points are added |
Referenced by createGrid(), and createGridOfEquivalentType().
|
static |
creates a poly grid with clenshaw curtis points
dim | the grid's dimension |
degree | the polynom's max. degree |
Referenced by createGrid(), and createGridOfEquivalentType().
|
static |
creates a polynomial grid
dim | the grid's dimension |
degree | the polynom's max. degree |
Referenced by createGrid(), and createGridOfEquivalentType().
|
static |
creates a prewavelet grid
dim | the grid's dimension |
Referenced by createGrid(), and createGridOfEquivalentType().
|
static |
creates a square root grid (h-grid)
dim | the grid's dimension |
Referenced by createGrid(), and createGridOfEquivalentType().
|
static |
creates a wavelet trapezoid boundary grid
dim | the grid's dimension |
Referenced by createGrid(), and createGridOfEquivalentType().
|
static |
creates a wavelet grid
dim | the grid's dimension |
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)
References sgpp::base::HashGridStorage::getAlgorithmicDimensions(), and storage.
Referenced by sgpp::base::DirichletGridConverter::buildInnerGridWithCoefs(), and sgpp::base::DirichletGridConverter::rebuildInnerGridWithCoefs().
|
pure virtual |
Returns the 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().
|
virtual |
gets a reference to the GridStorage's BoundingsBox object
References sgpp::base::HashGridStorage::getBoundingBox(), and storage.
Referenced by sgpp::base::DirichletGridConverter::buildInnerGridWithCoefs(), sgpp::pde::PoissonEquationSolver::constructGrid(), sgpp::pde::HeatEquationSolver::constructGrid(), sgpp::base::OperationQuadratureMC::doQuadrature(), sgpp::base::OperationQuadratureMC::doQuadratureFunc(), sgpp::base::OperationQuadratureMC::doQuadratureL2Error(), sgpp::pde::PoissonEquationSolver::initGridWithExpHeat(), sgpp::pde::PoissonEquationSolver::initGridWithExpHeatFullDomain(), sgpp::base::GridPrinter::printGrid(), and sgpp::pde::PDESolver::setGrid().
size_t sgpp::base::Grid::getDimension | ( | ) | const |
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().
|
pure virtual |
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.
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().
|
virtual |
gets a reference to the GridStorage object
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().
|
virtual |
gets a reference to the GridStorage's Stretching object
References sgpp::base::HashGridStorage::getStretching(), and storage.
Referenced by sgpp::base::DirichletGridConverter::buildInnerGridWithCoefs(), sgpp::pde::HeatEquationSolverWithStretching::constructGrid(), and sgpp::base::GridPrinterForStretching::printGrid().
|
pure virtual |
Returns a 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.
References getType().
GridType sgpp::base::Grid::getZeroBoundaryType | ( | ) |
Returns the grid type that corresponds to the actual type but does no boundary treatment.
References sgpp::base::Bspline, sgpp::base::BsplineBoundary, sgpp::base::BsplineClenshawCurtis, sgpp::base::FundamentalSpline, 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 sgpp::base::OperationArbitraryBoundaryHierarchisation::OperationArbitraryBoundaryHierarchisation().
void sgpp::base::Grid::insertPoint | ( | size_t | dim, |
unsigned int | levels[], | ||
unsigned int | indices[], | ||
bool | isLeaf | ||
) |
Insert one point to the grid.
dim | dimension of the grid |
levels | array with levels of the point |
indices | array with indices of the point |
isLeaf | indicator whether the point is a leaf |
References python.statsfileInfo::i, sgpp::base::HashGridStorage::insert(), sgpp::base::HashGridPoint::push(), sgpp::base::HashGridPoint::set(), and storage.
Referenced by python.uq.refinement.AdmissibleSet.AdmissibleSparseGridNodeSet::addCollocationNode(), python.uq.refinement.AdmissibleSet.RefinableNodesSet::create(), sgpp::datadriven::MultipleClassRefinementFunctor::operator()(), and python.uq.refinement.AdmissibleSet.RefinableNodesSet::update().
|
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.
vector | DataVector vector with errors for each basis function or alpha-vector |
numOfPoints | integer 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&).
ostr | string into which the grid is written |
version | the 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().
|
virtual |
Serializes the grid.
Override if additional information need to be saved. Call base function before writing anything!
ostr | stream to which the grid is written |
version | the 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().
std::string sgpp::base::Grid::serialize | ( | int | version = SERIALIZATION_VERSION | ) |
Serializes grid to a string.
Needed for Java compatibility.
version | the serialization version of the file |
References serialize().
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)
newAlgoDims | std::vector containing the algorithmic dimensions |
References sgpp::base::HashGridStorage::setAlgorithmicDimensions(), and storage.
Referenced by sgpp::base::DirichletGridConverter::buildInnerGridWithCoefs().
|
virtual |
sets the GridStorage's BoundingsBox pointer to a BoundingBox object
References sgpp::base::HashGridStorage::setBoundingBox(), and storage.
|
virtual |
sets the GridStorage's Stretching pointer to a Stretching object
References sgpp::base::HashGridStorage::setStretching(), and storage.
|
static |
Conversion from string to grid type.
gridType | grid type as a string |
References sgpp::base::Bspline, sgpp::base::BsplineBoundary, sgpp::base::BsplineClenshawCurtis, 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, 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 sgpp::datadriven::SparseGridDensityEstimatorConfiguration::SparseGridDensityEstimatorConfiguration().
|
static |
reads a grid out of a string
istr | string that contains the grid information |
Referenced by createGrid(), sgpp::datadriven::LearnerSGDE::createRegularGrid(), sgpp::datadriven::LearnerBase::LearnerBase(), sgpp::datadriven::LearnerBaseSP::LearnerBaseSP(), sgpp::datadriven::MultipleEvalHPX::LocalityMultiplier::LocalityMultiplier(), and sgpp::pde::PDESolver::setGrid().
|
static |
reads a grid out of a stream
istr | inputstream that contains the grid information |
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.
|
protected |
GridStorage object of the grid.
Referenced by sgpp::base::BsplineClenshawCurtisGrid::BsplineClenshawCurtisGrid(), clone(), getAlgorithmicDimensions(), getBoundingBox(), getDimension(), getSize(), getStorage(), getStretching(), insertPoint(), sgpp::base::LinearClenshawCurtisBoundaryGrid::LinearClenshawCurtisBoundaryGrid(), sgpp::base::LinearClenshawCurtisGrid::LinearClenshawCurtisGrid(), sgpp::base::ModBsplineClenshawCurtisGrid::ModBsplineClenshawCurtisGrid(), sgpp::base::ModLinearClenshawCurtisGrid::ModLinearClenshawCurtisGrid(), sgpp::base::ModPolyClenshawCurtisGrid::ModPolyClenshawCurtisGrid(), sgpp::base::PolyClenshawCurtisBoundaryGrid::PolyClenshawCurtisBoundaryGrid(), sgpp::base::PolyClenshawCurtisGrid::PolyClenshawCurtisGrid(), serialize(), setAlgorithmicDimensions(), setBoundingBox(), and setStretching().