SG++-Doxygen-Documentation
sgpp::base::HashGridStorage Class Reference

Generic hash table based storage of grid points. More...

#include <HashGridStorage.hpp>

Public Types

typedef HashGridIterator grid_iterator
 iterator for grid points More...
 
typedef std::vector< point_pointergrid_list
 vector of index_pointers More...
 
typedef grid_list::const_iterator grid_list_const_iterator
 const iterator of grid_list More...
 
typedef grid_list::iterator grid_list_iterator
 iterator of grid_list More...
 
typedef std::unordered_map< point_pointer, size_t, HashGridPointPointerHashFunctor, HashGridPointPointerEqualityFunctorgrid_map
 unordered_map of index_pointers More...
 
typedef grid_map::const_iterator grid_map_const_iterator
 const_iterator of grid_map More...
 
typedef grid_map::iterator grid_map_iterator
 iterator of grid_map More...
 
typedef const HashGridPointindex_const_pointer
 pointer to constant index_type More...
 
typedef HashGridPointpoint_pointer
 pointer to index_type More...
 
typedef HashGridPoint point_type
 type of grid points More...
 

Public Member Functions

grid_map_iterator begin ()
 set iterator to the first position in the map More...
 
void clear ()
 deletes all grid points in the storage More...
 
point_pointer create (point_type &index)
 creates a pointer to index from a reference to index by creating a new instance of a index object More...
 
void deleteLast ()
 This methods removes the gridpoint added last. More...
 
std::vector< size_t > deletePoints (std::list< size_t > &removePoints)
 Remove several point from HashGridStorage. More...
 
void destroy (point_pointer index)
 removes an index from gridstorage More...
 
grid_map_iterator end ()
 sets the iterator to last position in the map More...
 
grid_map_iterator find (point_pointer index)
 sets the iterator to a given index More...
 
std::vector< size_t > getAlgorithmicDimensions ()
 returns the algorithmic dimensions (the dimensions in which the Up Down operations should be applied) More...
 
BoundingBoxgetBoundingBox ()
 get the bounding box of the current grid More...
 
double getCoordinate (HashGridPoint point, size_t d) const
 Calculates the coordinate of a given grid point in specific dimension. More...
 
void getCoordinateArrays (DataMatrix &coordinates)
 Converts this storage from AOS (array of structures) to SOA (structure of array) to speed up operations on the position of the grid points. More...
 
void getCoordinates (const HashGridPoint &point, DataVector &coordinates) const
 Calculates the coordinates of a given grid point. More...
 
DataVector getCoordinates (const HashGridPoint &point) const
 Calculates the coordinates of a given grid point. More...
 
size_t getDimension () const
 gets the dimension of the grid More...
 
void getLevelForIntegral (DataMatrix &level)
 Converts this storage from AOS (array of structures) to SOA (structure of array) with modification to speed up iterative Laplace Calculations: the level won't contain the levels, it contains 2 to the neagative power of the level. More...
 
void getLevelIndexArraysForEval (DataMatrix &level, DataMatrix &index)
 Converts this storage from AOS (array of structures) to SOA (structure of array) with modification to speed up iterative function evaluation. More...
 
void getLevelIndexArraysForEval (DataMatrixSP &level, DataMatrixSP &index)
 Converts this storage from AOS (array of structures) to SOA (structure of array) with modification to speed up iterative function evaluation. More...
 
void getLevelIndexMaskArraysForModEval (DataMatrix &level, DataMatrix &index, DataMatrix &mask, DataMatrix &offset)
 Converts this storage from AOS (array of structures) to SOA (structure of array) with modification to speed up iterative function evaluation. More...
 
void getLevelIndexMaskArraysForModEval (DataMatrixSP &level, DataMatrixSP &index, DataMatrixSP &mask, DataMatrixSP &offset)
 Converts this storage from AOS (array of structures) to SOA (structure of array) with modification to speed up iterative function evaluation. More...
 
size_t getMaxLevel () const
 returns the max. More...
 
size_t getNumberOfInnerPoints () const
 gets the number of inner grid points More...
 
HashGridPointgetPoint (size_t seq) const
 gets the index number for given gridpoint by its sequence number More...
 
size_t getSequenceNumber (HashGridPoint &index) const
 Gets the seq number for index. More...
 
size_t getSize () const
 gets the size of the hashmap More...
 
StretchinggetStretching ()
 get the stretching bounding box of the current grid More...
 
double getUnitCoordinate (HashGridPoint point, size_t d) const
 Calculates corresponding unit hypercube coordinate of a given point in specific dimension, taking into account the BoundingBox and Stretching. More...
 
 HashGridStorage (size_t dimension)
 Constructor. More...
 
 HashGridStorage (BoundingBox &creationBoundingBox)
 Constructor. More...
 
 HashGridStorage (Stretching &creationStretching)
 Constructor. More...
 
 HashGridStorage (std::string &istr)
 Constructor that reads the data from a string. More...
 
 HashGridStorage (std::istream &istream)
 Constructor that reads the data from an input stream. More...
 
 HashGridStorage (HashGridStorage &copyFrom)
 Copy Constructor. More...
 
size_t insert (const point_type &index)
 insert a new index into map More...
 
void insert (point_type &index, std::vector< size_t > &insertedPoints)
 insert a new index into map including all its ancestors. More...
 
bool isContaining (HashGridPoint &index) const
 Tests if index is in the storage. More...
 
bool isInvalidSequenceNumber (size_t s)
 Tests if seq number does not point to a valid grid point. More...
 
void operator= (const HashGridStorage &other)
 Assignment operator. More...
 
HashGridPointoperator[] (size_t seq)
 gets the index number for given gridpoint by its sequence number More...
 
const HashGridPointoperator[] (size_t seq) const
 gets the index number for given gridpoint by its sequence number More...
 
void recalcLeafProperty ()
 Recalculates the leaf-property of every grid point. More...
 
std::string serialize (int version=SERIALIZATION_VERSION) const
 serialize the gridstorage into a string More...
 
void serialize (std::ostream &ostream, int version=SERIALIZATION_VERSION) const
 serialize the gridstorage into a stream More...
 
void setAlgorithmicDimensions (std::vector< size_t > newAlgoDims)
 sets the algorithmic dimensions (the dimensions in which the Up Down operations should be applied) More...
 
void setBoundingBox (BoundingBox &boundingBox)
 sets the bounding box of the current grid More...
 
void setStretching (Stretching &stretching)
 sets the stretching bounding box of the current grid More...
 
unsigned int store (point_pointer index)
 stores a given index in the hashmap More...
 
std::string toString () const
 serialize the gridstorage's gridpoints into a stream More...
 
void toString (std::ostream &stream) const
 serialize the gridstorage's gridpoints into a stream More...
 
void unserializeNoAlgoDims (std::string &istr)
 unserializes the grid from a string, algorithmic dimensions are not reseted More...
 
void update (point_type &index, size_t pos)
 updates an already stored index More...
 
 ~HashGridStorage ()
 Destructor. More...
 

Detailed Description

Generic hash table based storage of grid points.

Member Typedef Documentation

vector of index_pointers

typedef grid_list::const_iterator sgpp::base::HashGridStorage::grid_list_const_iterator

const iterator of grid_list

iterator of grid_list

typedef grid_map::const_iterator sgpp::base::HashGridStorage::grid_map_const_iterator

const_iterator of grid_map

iterator of grid_map

pointer to constant index_type

Constructor & Destructor Documentation

sgpp::base::HashGridStorage::HashGridStorage ( size_t  dimension)
explicit

Constructor.

initializes the boundingBox with a trivial cube

Parameters
dimensionthe dimension of the sparse grid

References python.statsfileInfo::i.

sgpp::base::HashGridStorage::HashGridStorage ( BoundingBox creationBoundingBox)
explicit

Constructor.

initializes the boundingBox with a reference to another boundingbox

Parameters
creationBoundingBoxreference to bounding box object that describes the grid boundaries

References python.statsfileInfo::i.

sgpp::base::HashGridStorage::HashGridStorage ( Stretching creationStretching)
explicit

Constructor.

initializes the stretching with a reference to another stretching

Parameters
creationStretchingreference to stretching object that describes the grid boundaries and the stretching

References python.statsfileInfo::i.

sgpp::base::HashGridStorage::HashGridStorage ( std::string &  istr)
explicit

Constructor that reads the data from a string.

Parameters
istrthe string that contains the data

References python.statsfileInfo::i.

sgpp::base::HashGridStorage::HashGridStorage ( std::istream &  istream)
explicit

Constructor that reads the data from an input stream.

Parameters
istreamthe inputstream that contains the data

References python.statsfileInfo::i.

sgpp::base::HashGridStorage::HashGridStorage ( HashGridStorage copyFrom)
explicit

Copy Constructor.

References getSize(), python.statsfileInfo::i, and insert().

sgpp::base::HashGridStorage::~HashGridStorage ( )

Destructor.

Member Function Documentation

HashGridStorage::grid_map_iterator sgpp::base::HashGridStorage::begin ( )
inline

set iterator to the first position in the map

Returns
iterator pointing to the beginning of the map

Referenced by sgpp::combigrid::allStorageLevels(), sgpp::base::HashRefinementInteraction::collectRefinablePoints(), sgpp::base::MultipleClassRefinement::collectRefinablePoints(), sgpp::base::SubspaceRefinement::collectRefinablePoints(), sgpp::base::ImpurityRefinement::collectRefinablePoints(), sgpp::base::ForwardSelectorRefinement::collectRefinablePoints(), sgpp::base::HashRefinement::collectRefinablePoints(), sgpp::base::HashRefinementBoundaries::collectRefinablePoints(), sgpp::base::PredictiveRefinement::collectRefinablePoints(), sgpp::optimization::HashRefinementMultiple::collectRefinablePoints(), sgpp::combigrid::completeStorageLevels(), sgpp::base::OperationQuadratureModLinear::doQuadrature(), sgpp::base::OperationFirstMomentLinearBoundary::doQuadrature(), sgpp::base::OperationSecondMomentModPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationSecondMomentModPoly::doQuadrature(), sgpp::base::OperationFirstMomentBspline::doQuadrature(), sgpp::base::OperationSecondMomentBspline::doQuadrature(), sgpp::base::OperationSecondMomentBsplineBoundary::doQuadrature(), sgpp::base::OperationFirstMomentBsplineBoundary::doQuadrature(), sgpp::base::OperationSecondMomentModBspline::doQuadrature(), sgpp::base::OperationSecondMomentPolyBoundary::doQuadrature(), sgpp::base::OperationSecondMomentModLinear::doQuadrature(), sgpp::base::OperationFirstMomentLinear::doQuadrature(), sgpp::base::OperationFirstMomentModBspline::doQuadrature(), sgpp::base::OperationSecondMomentPoly::doQuadrature(), sgpp::base::OperationSecondMomentPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationFirstMomentModLinear::doQuadrature(), sgpp::base::OperationFirstMomentModPoly::doQuadrature(), sgpp::base::OperationFirstMomentModPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationFirstMomentPoly::doQuadrature(), sgpp::base::OperationFirstMomentPolyBoundary::doQuadrature(), sgpp::base::OperationFirstMomentPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationQuadratureLinear::doQuadrature(), sgpp::base::OperationFirstMomentPolyClenshawCurtisBoundary::doQuadrature(), sgpp::base::OperationQuadratureLinearBoundary::doQuadrature(), sgpp::base::OperationFirstMomentBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationSecondMomentBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationSecondMomentLinearBoundary::doQuadrature(), sgpp::base::OperationSecondMomentModBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationFirstMomentModBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationSecondMomentPolyClenshawCurtisBoundary::doQuadrature(), sgpp::base::OperationSecondMomentLinear::doQuadrature(), sgpp::pde::OperationParabolicPDESolverSystemDirichlet::generateRHS(), sgpp::base::HashRefinementBoundaries::getNumberOfRefinablePoints(), sgpp::base::HashRefinement::getNumberOfRefinablePoints(), sgpp::base::HashRefinementBoundariesMaxLevel::getNumberOfRefinablePointsToMaxLevel(), sgpp::base::HashCoarsening::getNumberOfRemovablePoints(), getPoint(), sgpp::base::RefinementFunctor::getTotalRefinementValue(), sgpp::solver::StepsizeControl::maxNorm(), sgpp::base::HashRefinementBoundariesMaxLevel::refineToMaxLevel(), sgpp::base::GridDataBase::setValuesFor(), sgpp::datadriven::LearnerSGD::storeResults(), sgpp::datadriven::LearnerSVM::storeResults(), and sgpp::datadriven::LearnerSGDE::storeResults().

void sgpp::base::HashGridStorage::clear ( )
HashGridStorage::point_pointer sgpp::base::HashGridStorage::create ( point_type index)
inline

creates a pointer to index from a reference to index by creating a new instance of a index object

Parameters
indexaddress of index object
Returns
pointer to new index object

References insert().

Referenced by getPoint().

void sgpp::base::HashGridStorage::deleteLast ( )

This methods removes the gridpoint added last.

Use with coution, only needed for expanding the grid because of the shadow-storage of prewavelets. Please refer to the Prewavelet grid for further description of the shadow storage.

Referenced by getPoint(), sgpp::base::OperationHierarchisationPrewavelet::shrinkGrid(), and sgpp::pde::UpDownOneOpDimWithShadow::shrinkGrid().

std::vector< size_t > sgpp::base::HashGridStorage::deletePoints ( std::list< size_t > &  removePoints)

Remove several point from HashGridStorage.

The points to removed are stored in a list. This function returns a vector of remaining points given by their

Parameters
removePointsvector containing the indices of the points that should be removed
Returns
a vector containing the indices of remaining points given by their "old" index

References python.statsfileInfo::i, and recalcLeafProperty().

Referenced by sgpp::base::HashCoarsening::free_coarsen_NFirstOnly(), sgpp::optimization::IterativeGridGenerator::undoRefinement(), and sgpp::datadriven::RefinementHandler::updateClassVariablesAfterRefinement().

void sgpp::base::HashGridStorage::destroy ( point_pointer  index)
inline

removes an index from gridstorage

Parameters
indexpointer to index that should be removed

Referenced by getPoint().

HashGridStorage::grid_map_iterator sgpp::base::HashGridStorage::end ( )
inline

sets the iterator to last position in the map

Returns
iterator pointing to the end of the map

Referenced by sgpp::combigrid::allStorageLevels(), sgpp::base::HashRefinementInteraction::collectRefinablePoints(), sgpp::base::MultipleClassRefinement::collectRefinablePoints(), sgpp::base::SubspaceRefinement::collectRefinablePoints(), sgpp::base::ImpurityRefinement::collectRefinablePoints(), sgpp::base::ForwardSelectorRefinement::collectRefinablePoints(), sgpp::base::HashRefinement::collectRefinablePoints(), sgpp::base::HashRefinementBoundaries::collectRefinablePoints(), sgpp::base::PredictiveRefinement::collectRefinablePoints(), sgpp::optimization::HashRefinementMultiple::collectRefinablePoints(), sgpp::combigrid::completeStorageLevels(), sgpp::base::OperationQuadratureModLinear::doQuadrature(), sgpp::base::OperationFirstMomentLinearBoundary::doQuadrature(), sgpp::base::OperationSecondMomentPolyBoundary::doQuadrature(), sgpp::base::OperationFirstMomentModPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationFirstMomentPoly::doQuadrature(), sgpp::base::OperationFirstMomentPolyBoundary::doQuadrature(), sgpp::base::OperationFirstMomentPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationQuadratureLinear::doQuadrature(), sgpp::base::OperationSecondMomentBspline::doQuadrature(), sgpp::base::OperationSecondMomentBsplineBoundary::doQuadrature(), sgpp::base::OperationFirstMomentBspline::doQuadrature(), sgpp::base::OperationSecondMomentModBspline::doQuadrature(), sgpp::base::OperationSecondMomentModLinear::doQuadrature(), sgpp::base::OperationFirstMomentBsplineBoundary::doQuadrature(), sgpp::base::OperationSecondMomentModPoly::doQuadrature(), sgpp::base::OperationSecondMomentModPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationSecondMomentPoly::doQuadrature(), sgpp::base::OperationSecondMomentPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationFirstMomentLinear::doQuadrature(), sgpp::base::OperationFirstMomentModBspline::doQuadrature(), sgpp::base::OperationFirstMomentModLinear::doQuadrature(), sgpp::base::OperationFirstMomentModPoly::doQuadrature(), sgpp::base::OperationQuadratureLinearBoundary::doQuadrature(), sgpp::base::OperationSecondMomentLinearBoundary::doQuadrature(), sgpp::base::OperationSecondMomentModBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationFirstMomentPolyClenshawCurtisBoundary::doQuadrature(), sgpp::base::OperationFirstMomentModBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationSecondMomentBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationFirstMomentBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationSecondMomentPolyClenshawCurtisBoundary::doQuadrature(), sgpp::base::OperationSecondMomentLinear::doQuadrature(), sgpp::pde::OperationParabolicPDESolverSystemDirichlet::generateRHS(), sgpp::base::ImpurityRefinement::getIndicator(), sgpp::base::ForwardSelectorRefinement::getIndicator(), sgpp::base::PredictiveRefinement::getIndicator(), sgpp::base::HashRefinementBoundaries::getNumberOfRefinablePoints(), sgpp::base::HashRefinement::getNumberOfRefinablePoints(), sgpp::base::PrewaveletGridGenerator::getNumberOfRefinablePoints(), sgpp::base::HashRefinementBoundariesMaxLevel::getNumberOfRefinablePointsToMaxLevel(), sgpp::base::HashCoarsening::getNumberOfRemovablePoints(), getPoint(), sgpp::base::RefinementFunctor::getTotalRefinementValue(), sgpp::base::AbstractRefinement::isRefinable(), sgpp::solver::StepsizeControl::maxNorm(), sgpp::base::PrewaveletGridGenerator::refine(), sgpp::base::HashRefinementBoundariesMaxLevel::refineToMaxLevel(), sgpp::base::GridDataBase::setValuesFor(), sgpp::datadriven::LearnerSGD::storeResults(), sgpp::datadriven::LearnerSVM::storeResults(), and sgpp::datadriven::LearnerSGDE::storeResults().

std::vector< size_t > sgpp::base::HashGridStorage::getAlgorithmicDimensions ( )
inline

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

Returns
the algorithmic dimensions

Referenced by sgpp::pde::HeatEquationParabolicPDESolverSystemParallelOMP::applyLOperatorComplete(), sgpp::pde::HeatEquationParabolicPDESolverSystemParallelOMP::applyLOperatorInner(), sgpp::base::Grid::getAlgorithmicDimensions(), and getPoint().

BoundingBox * sgpp::base::HashGridStorage::getBoundingBox ( )

get the bounding box of the current grid

Returns
returns a pointer to HashGridStorage's bounding box

Referenced by sgpp::base::OperationQuadratureLinearClenshawCurtis::doQuadrature(), sgpp::base::OperationQuadratureModLinear::doQuadrature(), sgpp::base::OperationQuadratureModLinearClenshawCurtis::doQuadrature(), sgpp::base::OperationQuadratureLinear::doQuadrature(), sgpp::base::OperationQuadratureLinearClenshawCurtisBoundary::doQuadrature(), sgpp::base::OperationQuadratureModPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationQuadraturePolyClenshawCurtis::doQuadrature(), sgpp::base::OperationQuadraturePolyClenshawCurtisBoundary::doQuadrature(), sgpp::base::OperationQuadratureBsplineBoundary::doQuadrature(), sgpp::base::OperationQuadratureBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationQuadratureFundamentalSpline::doQuadrature(), sgpp::base::OperationQuadratureLinearBoundary::doQuadrature(), sgpp::base::OperationQuadratureModFundamentalSpline::doQuadrature(), sgpp::base::OperationQuadratureModBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationQuadratureModBspline::doQuadrature(), sgpp::base::OperationQuadraturePolyBoundary::doQuadrature(), sgpp::base::OperationQuadratureBspline::doQuadrature(), sgpp::base::OperationQuadratureModPoly::doQuadrature(), sgpp::base::OperationQuadraturePoly::doQuadrature(), sgpp::base::OperationEvalModLinearClenshawCurtisNaive::eval(), sgpp::base::OperationEvalLinearClenshawCurtisNaive::eval(), sgpp::base::OperationEvalModLinear::eval(), sgpp::base::OperationEvalModPolyClenshawCurtisNaive::eval(), sgpp::base::OperationEvalPolyClenshawCurtisNaive::eval(), sgpp::base::OperationEvalModPolyNaive::eval(), sgpp::base::OperationEvalLinearClenshawCurtisBoundaryNaive::eval(), sgpp::base::OperationEvalPolyClenshawCurtisBoundaryNaive::eval(), sgpp::base::OperationEvalPolyBoundaryNaive::eval(), sgpp::base::OperationEvalPolyNaive::eval(), sgpp::base::OperationEvalLinearNaive::eval(), sgpp::base::OperationEvalModLinearNaive::eval(), sgpp::base::OperationEvalLinearBoundaryNaive::eval(), sgpp::base::OperationEvalModWaveletNaive::eval(), sgpp::base::OperationEvalNakBsplineBoundaryCombigridNaive::eval(), sgpp::base::OperationEvalWaveletBoundaryNaive::eval(), sgpp::base::OperationEvalWaveletNaive::eval(), sgpp::base::OperationEvalModBsplineNaive::eval(), sgpp::base::OperationEvalModFundamentalSplineNaive::eval(), sgpp::base::OperationEvalFundamentalSplineNaive::eval(), sgpp::base::OperationEvalBsplineBoundaryNaive::eval(), sgpp::base::OperationEvalBsplineClenshawCurtisNaive::eval(), sgpp::base::OperationEvalModBsplineClenshawCurtisNaive::eval(), sgpp::base::OperationEvalBsplineNaive::eval(), sgpp::base::OperationEvalGradientWaveletNaive::evalGradient(), sgpp::base::OperationEvalGradientWaveletBoundaryNaive::evalGradient(), sgpp::base::OperationEvalGradientModWaveletNaive::evalGradient(), sgpp::base::OperationEvalGradientBsplineNaive::evalGradient(), sgpp::base::OperationEvalGradientBsplineBoundaryNaive::evalGradient(), sgpp::base::OperationEvalGradientFundamentalSplineNaive::evalGradient(), sgpp::base::OperationEvalGradientModBsplineNaive::evalGradient(), sgpp::base::OperationEvalGradientBsplineClenshawCurtisNaive::evalGradient(), sgpp::base::OperationEvalGradientModBsplineClenshawCurtisNaive::evalGradient(), sgpp::base::OperationEvalGradientModFundamentalSplineNaive::evalGradient(), sgpp::base::OperationEvalHessianModWaveletNaive::evalHessian(), sgpp::base::OperationEvalHessianWaveletNaive::evalHessian(), sgpp::base::OperationEvalHessianWaveletBoundaryNaive::evalHessian(), sgpp::base::OperationEvalHessianBsplineNaive::evalHessian(), sgpp::base::OperationEvalHessianModBsplineNaive::evalHessian(), sgpp::base::OperationEvalHessianBsplineBoundaryNaive::evalHessian(), sgpp::base::OperationEvalHessianBsplineClenshawCurtisNaive::evalHessian(), sgpp::base::OperationEvalHessianFundamentalSplineNaive::evalHessian(), sgpp::base::OperationEvalHessianModFundamentalSplineNaive::evalHessian(), sgpp::base::OperationEvalHessianModBsplineClenshawCurtisNaive::evalHessian(), sgpp::base::OperationEvalPartialDerivativeModWaveletNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeWaveletNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeWaveletBoundaryNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeBsplineClenshawCurtisNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeBsplineBoundaryNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeFundamentalSplineNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeBsplineNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeModBsplineNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeModFundamentalSplineNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeModBsplineClenshawCurtisNaive::evalPartialDerivative(), sgpp::base::Grid::getBoundingBox(), getPoint(), sgpp::base::OperationMultipleEvalLinearBoundaryNaive::mult(), sgpp::base::OperationMultipleEvalLinearClenshawCurtisBoundaryNaive::mult(), sgpp::base::OperationMultipleEvalLinearClenshawCurtisNaive::mult(), sgpp::base::OperationMultipleEvalLinearNaive::mult(), sgpp::base::OperationMultipleEvalModBsplineClenshawCurtisNaive::mult(), sgpp::base::OperationMultipleEvalPolyNaive::mult(), sgpp::base::OperationMultipleEvalModLinearClenshawCurtisNaive::mult(), sgpp::base::OperationMultipleEvalPolyBoundaryNaive::mult(), sgpp::base::OperationMultipleEvalModPolyClenshawCurtisNaive::mult(), sgpp::base::OperationMultipleEvalPolyClenshawCurtisNaive::mult(), sgpp::base::OperationMultipleEvalBsplineBoundaryNaive::mult(), sgpp::base::OperationMultipleEvalBsplineClenshawCurtisNaive::mult(), sgpp::base::OperationMultipleEvalBsplineNaive::mult(), sgpp::base::OperationMultipleEvalModBsplineNaive::mult(), sgpp::base::OperationMultipleEvalPolyClenshawCurtisBoundaryNaive::mult(), sgpp::base::OperationMultipleEvalLinearNaive::multTranspose(), sgpp::base::OperationMultipleEvalPolyNaive::multTranspose(), sgpp::base::OperationMultipleEvalLinearClenshawCurtisNaive::multTranspose(), sgpp::base::OperationMultipleEvalModBsplineClenshawCurtisNaive::multTranspose(), sgpp::base::OperationMultipleEvalBsplineBoundaryNaive::multTranspose(), sgpp::base::OperationMultipleEvalLinearClenshawCurtisBoundaryNaive::multTranspose(), sgpp::base::OperationMultipleEvalLinearBoundaryNaive::multTranspose(), sgpp::base::OperationMultipleEvalModLinearClenshawCurtisNaive::multTranspose(), sgpp::base::OperationMultipleEvalBsplineClenshawCurtisNaive::multTranspose(), sgpp::base::OperationMultipleEvalPolyBoundaryNaive::multTranspose(), sgpp::base::OperationMultipleEvalPolyClenshawCurtisNaive::multTranspose(), sgpp::base::OperationMultipleEvalModPolyClenshawCurtisNaive::multTranspose(), sgpp::base::OperationMultipleEvalPolyClenshawCurtisBoundaryNaive::multTranspose(), sgpp::base::OperationMultipleEvalModBsplineNaive::multTranspose(), sgpp::base::OperationMultipleEvalBsplineNaive::multTranspose(), sgpp::base::AlgorithmEvaluationTransposed< BASIS >::operator()(), sgpp::pde::DowndPhidPhiBBIterativeLinear::operator()(), sgpp::pde::UpdPhidPhiBBIterativeLinearBoundary::operator()(), sgpp::pde::DowndPhidPhiBBIterativeLinearBoundary::operator()(), and sgpp::base::AlgorithmEvaluation< BASIS >::operator()().

double sgpp::base::HashGridStorage::getCoordinate ( HashGridPoint  point,
size_t  d 
) const
inline
void sgpp::base::HashGridStorage::getCoordinateArrays ( DataMatrix coordinates)

Converts this storage from AOS (array of structures) to SOA (structure of array) to speed up operations on the position of the grid points.

Parameters
coordinatesDataMatrix to store the coordinates of the grid points

References getCoordinates(), python.statsfileInfo::i, sgpp::base::DataMatrix::resize(), and sgpp::base::DataMatrix::setRow().

Referenced by sgpp::base::OperationArbitraryBoundaryHierarchisation::doDehierarchisation(), sgpp::base::OperationArbitraryBoundaryHierarchisation::doHierarchisation(), and getPoint().

void sgpp::base::HashGridStorage::getCoordinates ( const HashGridPoint point,
DataVector coordinates 
) const

Calculates the coordinates of a given grid point.

In contrast to HashGridPoint::getStandardCoordinates, this takes the BoundingBox and Stretching into account.

Parameters
pointgrid point
[out]coordinatesvector of coordinates

References getCoordinate().

Referenced by sgpp::optimization::OperationMultipleHierarchisationBspline::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::OperationMultipleHierarchisationBsplineBoundary::doDehierarchisation(), sgpp::optimization::OperationMultipleHierarchisationLinear::doDehierarchisation(), sgpp::optimization::OperationMultipleHierarchisationLinearClenshawCurtis::doDehierarchisation(), sgpp::optimization::OperationMultipleHierarchisationModBsplineClenshawCurtis::doDehierarchisation(), sgpp::optimization::OperationMultipleHierarchisationBsplineClenshawCurtis::doDehierarchisation(), sgpp::optimization::IterativeGridGeneratorSOO::generate(), getCoordinateArrays(), sgpp::pde::PDESolver::getGridNormalDistribution(), getUnitCoordinate(), 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::OperationMakePositive::makeCurrentNodalValuesPositive(), sgpp::base::GridPrinterForStretching::printSparseGrid(), sgpp::base::GridPrinter::printSparseGrid(), sgpp::base::GridPrinterForStretching::printSparseGridExpTransform(), sgpp::base::GridPrinter::printSparseGridExpTransform(), sgpp::datadriven::LearnerSGD::storeResults(), sgpp::datadriven::LearnerSVM::storeResults(), and sgpp::datadriven::LearnerSGDE::storeResults().

DataVector sgpp::base::HashGridStorage::getCoordinates ( const HashGridPoint point) const

Calculates the coordinates of a given grid point.

In contrast to HashGridPoint::getStandardCoordinates, this takes the BoundingBox and Stretching into account.

Parameters
pointgrid point
Returns
vector of coordinates

References getCoordinate().

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

gets the dimension of the grid

Returns
the dimension of the grid stored in this HashGridStorage object

Referenced by sgpp::datadriven::AlgorithmAdaBoostBase::AlgorithmAdaBoostBase(), sgpp::combigrid::allStorageLevels(), sgpp::combigrid::calculateInterpolationCoefficientsForConvertedExpUniformBoundaryCombigird(), sgpp::datadriven::DBMatOfflineChol::choleskyModification(), sgpp::base::HashGenerator::cliques(), sgpp::base::HashGenerator::cliques_iter(), sgpp::base::HashRefinementInteraction::collectRefinablePoints(), sgpp::base::SubspaceRefinement::collectRefinablePoints(), sgpp::base::HashRefinement::collectRefinablePoints(), sgpp::base::HashRefinementBoundaries::collectRefinablePoints(), sgpp::combigrid::completeStorageLevels(), sgpp::datadriven::OperationMakePositiveSetToZero::computeHierarchicalCoefficients(), sgpp::datadriven::OperationMakePositiveInterpolateExp::computeHierarchicalCoefficients(), sgpp::datadriven::OperationMakePositiveInterpolateBoundaryOfSupport::computeHierarchicalCoefficients(), sgpp::datadriven::OperationMakePositiveInterpolateFunction::computeHierarchicalCoefficients(), sgpp::combigrid::convertLevelStructureToGridPoints(), sgpp::base::HashGenerator::createFullGridIterative(), sgpp::base::HashGenerator::createFullGridTruncatedIterative(), sgpp::base::HashRefinementInteraction::createGridpoint(), sgpp::base::HashRefinement::createGridpoint(), sgpp::base::HashRefinementBoundaries::createGridpoint1D(), sgpp::base::HashRefinementBoundaries::createGridpointGeneral(), sgpp::base::HashRefinementBoundaries::createGridpointLevelZeroConsistency(), sgpp::datadriven::OperationDensityConditional::doConditional(), sgpp::datadriven::OperationDensityConditionalLinear::doConditional(), sgpp::base::OperationConvertPrewavelet::doConvertFromLinear(), sgpp::base::OperationConvertPrewavelet::doConvertToLinear(), sgpp::base::OperationHierarchisationLinear::doDehierarchisation(), sgpp::base::OperationHierarchisationLinearBoundary::doDehierarchisation(), sgpp::base::OperationHierarchisationLinearStretched::doDehierarchisation(), sgpp::base::OperationHierarchisationModLinear::doDehierarchisation(), sgpp::base::OperationHierarchisationLinearStretchedBoundary::doDehierarchisation(), sgpp::base::OperationStencilHierarchisationLinear::doDehierarchisation(), sgpp::base::OperationStencilHierarchisationModLinear::doDehierarchisation(), sgpp::optimization::OperationMultipleHierarchisationBspline::doDehierarchisation(), sgpp::optimization::OperationMultipleHierarchisationBsplineBoundary::doDehierarchisation(), sgpp::optimization::OperationMultipleHierarchisationLinear::doDehierarchisation(), sgpp::base::OperationHierarchisationLinearClenshawCurtis::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::base::OperationHierarchisationLinearClenshawCurtisBoundary::doDehierarchisation(), sgpp::base::OperationHierarchisationModLinearClenshawCurtis::doDehierarchisation(), sgpp::optimization::OperationMultipleHierarchisationBsplineClenshawCurtis::doDehierarchisation(), sgpp::optimization::OperationMultipleHierarchisationLinearClenshawCurtis::doDehierarchisation(), sgpp::optimization::OperationMultipleHierarchisationModBsplineClenshawCurtis::doDehierarchisation(), sgpp::base::OperationHierarchisationModPolyClenshawCurtis::doDehierarchisation(), sgpp::base::OperationHierarchisationPoly::doDehierarchisation(), sgpp::base::OperationHierarchisationPolyClenshawCurtis::doDehierarchisation(), sgpp::base::OperationHierarchisationPolyClenshawCurtisBoundary::doDehierarchisation(), sgpp::base::OperationHierarchisationPolyBoundary::doDehierarchisation(), sgpp::base::OperationHierarchisationPrewavelet::doDehierarchisation(), sgpp::base::OperationHierarchisationModPoly::doDehierarchisation(), sgpp::base::OperationHierarchisationLinear::doHierarchisation(), sgpp::base::OperationHierarchisationLinearBoundary::doHierarchisation(), sgpp::base::OperationHierarchisationLinearStretched::doHierarchisation(), sgpp::base::OperationHierarchisationModLinear::doHierarchisation(), sgpp::base::OperationHierarchisationLinearStretchedBoundary::doHierarchisation(), sgpp::base::OperationStencilHierarchisationLinear::doHierarchisation(), sgpp::base::OperationHierarchisationLinearClenshawCurtis::doHierarchisation(), sgpp::base::OperationStencilHierarchisationModLinear::doHierarchisation(), sgpp::base::OperationHierarchisationLinearClenshawCurtisBoundary::doHierarchisation(), sgpp::base::OperationHierarchisationModLinearClenshawCurtis::doHierarchisation(), sgpp::base::OperationHierarchisationModPolyClenshawCurtis::doHierarchisation(), sgpp::base::OperationHierarchisationPoly::doHierarchisation(), sgpp::base::OperationHierarchisationPolyClenshawCurtis::doHierarchisation(), sgpp::base::OperationHierarchisationPolyClenshawCurtisBoundary::doHierarchisation(), sgpp::base::OperationHierarchisationPolyBoundary::doHierarchisation(), sgpp::base::OperationHierarchisationModPoly::doHierarchisation(), sgpp::base::OperationHierarchisationPrewavelet::doHierarchisation(), sgpp::datadriven::OperationDensityMarginalize::doMarginalize(), sgpp::datadriven::OperationDensityMarginalizeLinear::doMarginalize(), sgpp::base::OperationFirstMomentLinearBoundary::doQuadrature(), sgpp::base::OperationQuadratureLinearClenshawCurtis::doQuadrature(), sgpp::base::OperationQuadratureModLinear::doQuadrature(), sgpp::base::OperationQuadratureModLinearClenshawCurtis::doQuadrature(), sgpp::base::OperationFirstMomentModBspline::doQuadrature(), sgpp::base::OperationFirstMomentModLinear::doQuadrature(), sgpp::base::OperationFirstMomentModPoly::doQuadrature(), sgpp::base::OperationFirstMomentModPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationFirstMomentPoly::doQuadrature(), sgpp::base::OperationFirstMomentPolyBoundary::doQuadrature(), sgpp::base::OperationFirstMomentPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationQuadratureLinear::doQuadrature(), sgpp::base::OperationQuadratureLinearClenshawCurtisBoundary::doQuadrature(), sgpp::base::OperationQuadratureModPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationQuadraturePolyClenshawCurtis::doQuadrature(), sgpp::base::OperationQuadraturePolyClenshawCurtisBoundary::doQuadrature(), sgpp::base::OperationSecondMomentBspline::doQuadrature(), sgpp::base::OperationSecondMomentBsplineBoundary::doQuadrature(), sgpp::base::OperationSecondMomentModLinear::doQuadrature(), sgpp::base::OperationSecondMomentModPoly::doQuadrature(), sgpp::base::OperationSecondMomentModPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationSecondMomentPoly::doQuadrature(), sgpp::base::OperationSecondMomentPolyBoundary::doQuadrature(), sgpp::base::OperationSecondMomentPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationSecondMomentModBspline::doQuadrature(), sgpp::base::OperationFirstMomentBspline::doQuadrature(), sgpp::base::OperationFirstMomentBsplineBoundary::doQuadrature(), sgpp::base::OperationFirstMomentLinear::doQuadrature(), sgpp::base::OperationFirstMomentModBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationFirstMomentPolyClenshawCurtisBoundary::doQuadrature(), sgpp::base::OperationQuadratureBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationQuadratureFundamentalSpline::doQuadrature(), sgpp::base::OperationQuadratureLinearBoundary::doQuadrature(), sgpp::base::OperationQuadratureBsplineBoundary::doQuadrature(), sgpp::base::OperationQuadratureModBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationQuadratureModFundamentalSpline::doQuadrature(), sgpp::base::OperationQuadratureModBspline::doQuadrature(), sgpp::base::OperationQuadraturePolyBoundary::doQuadrature(), sgpp::base::OperationSecondMomentBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationSecondMomentLinearBoundary::doQuadrature(), sgpp::base::OperationSecondMomentModBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationSecondMomentPolyClenshawCurtisBoundary::doQuadrature(), sgpp::base::OperationFirstMomentBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationQuadratureBspline::doQuadrature(), sgpp::base::OperationSecondMomentLinear::doQuadrature(), sgpp::base::OperationQuadratureModPoly::doQuadrature(), sgpp::base::OperationQuadraturePoly::doQuadrature(), sgpp::datadriven::OperationDotProductLinear::eval(), sgpp::datadriven::OperationDotProductModLinear::eval(), sgpp::base::OperationEvalLinearClenshawCurtisNaive::eval(), sgpp::base::OperationEvalModLinearClenshawCurtisNaive::eval(), sgpp::base::OperationEvalModPolyClenshawCurtisNaive::eval(), sgpp::base::OperationEvalPolyClenshawCurtisNaive::eval(), sgpp::base::OperationEvalLinearClenshawCurtisBoundaryNaive::eval(), sgpp::base::OperationEvalModPolyNaive::eval(), sgpp::base::OperationEvalPolyClenshawCurtisBoundaryNaive::eval(), sgpp::base::OperationEvalPolyBoundaryNaive::eval(), sgpp::base::OperationEvalPolyNaive::eval(), sgpp::base::OperationEvalLinearBoundaryNaive::eval(), sgpp::base::OperationEvalLinearNaive::eval(), sgpp::base::OperationEvalModLinearNaive::eval(), sgpp::base::OperationEvalModWaveletNaive::eval(), sgpp::base::OperationEvalNakBsplineBoundaryCombigridNaive::eval(), sgpp::base::OperationEvalWaveletBoundaryNaive::eval(), sgpp::base::OperationEvalWaveletNaive::eval(), sgpp::base::OperationEvalBsplineBoundaryNaive::eval(), sgpp::base::OperationEvalBsplineClenshawCurtisNaive::eval(), sgpp::base::OperationEvalFundamentalSplineNaive::eval(), sgpp::base::OperationEvalModBsplineNaive::eval(), sgpp::base::OperationEvalModFundamentalSplineNaive::eval(), sgpp::base::OperationEvalBsplineNaive::eval(), sgpp::base::OperationEvalModBsplineClenshawCurtisNaive::eval(), sgpp::optimization::HierarchisationSLE::evalBsplineBoundaryFunctionAtGridPoint(), sgpp::optimization::HierarchisationSLE::evalBsplineClenshawCurtisFunctionAtGridPoint(), sgpp::optimization::HierarchisationSLE::evalBsplineFunctionAtGridPoint(), sgpp::optimization::HierarchisationSLE::evalBsplineModifiedClenshawCurtisFunctionAtGridPoint(), sgpp::optimization::HierarchisationSLE::evalBsplineModifiedFunctionAtGridPoint(), sgpp::optimization::HierarchisationSLE::evalFundamentalSplineFunctionAtGridPoint(), sgpp::optimization::HierarchisationSLE::evalFundamentalSplineModifiedFunctionAtGridPoint(), sgpp::base::OperationEvalGradientWaveletNaive::evalGradient(), sgpp::base::OperationEvalGradientModWaveletNaive::evalGradient(), sgpp::base::OperationEvalGradientWaveletBoundaryNaive::evalGradient(), sgpp::base::OperationEvalGradientBsplineNaive::evalGradient(), sgpp::base::OperationEvalGradientBsplineBoundaryNaive::evalGradient(), sgpp::base::OperationEvalGradientFundamentalSplineNaive::evalGradient(), sgpp::base::OperationEvalGradientModBsplineNaive::evalGradient(), sgpp::base::OperationEvalGradientBsplineClenshawCurtisNaive::evalGradient(), sgpp::base::OperationEvalGradientModBsplineClenshawCurtisNaive::evalGradient(), sgpp::base::OperationEvalGradientModFundamentalSplineNaive::evalGradient(), sgpp::base::OperationEvalHessianModWaveletNaive::evalHessian(), sgpp::base::OperationEvalHessianWaveletNaive::evalHessian(), sgpp::base::OperationEvalHessianWaveletBoundaryNaive::evalHessian(), sgpp::base::OperationEvalHessianBsplineNaive::evalHessian(), sgpp::base::OperationEvalHessianModBsplineNaive::evalHessian(), sgpp::base::OperationEvalHessianBsplineClenshawCurtisNaive::evalHessian(), sgpp::base::OperationEvalHessianBsplineBoundaryNaive::evalHessian(), sgpp::base::OperationEvalHessianFundamentalSplineNaive::evalHessian(), sgpp::base::OperationEvalHessianModFundamentalSplineNaive::evalHessian(), sgpp::base::OperationEvalHessianModBsplineClenshawCurtisNaive::evalHessian(), sgpp::optimization::HierarchisationSLE::evalLinearBoundaryFunctionAtGridPoint(), sgpp::optimization::HierarchisationSLE::evalLinearClenshawCurtisBoundaryFunctionAtGridPoint(), sgpp::optimization::HierarchisationSLE::evalLinearClenshawCurtisFunctionAtGridPoint(), sgpp::optimization::HierarchisationSLE::evalLinearFunctionAtGridPoint(), sgpp::optimization::HierarchisationSLE::evalLinearModifiedFunctionAtGridPoint(), sgpp::optimization::HierarchisationSLE::evalNakBsplineBoundaryCombigridFunctionAtGridPoint(), sgpp::base::OperationEvalPartialDerivativeWaveletBoundaryNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeWaveletNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeModWaveletNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeBsplineBoundaryNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeBsplineClenshawCurtisNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeBsplineNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeFundamentalSplineNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeModBsplineNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeModFundamentalSplineNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeModBsplineClenshawCurtisNaive::evalPartialDerivative(), sgpp::optimization::HierarchisationSLE::evalWaveletBoundaryFunctionAtGridPoint(), sgpp::optimization::HierarchisationSLE::evalWaveletFunctionAtGridPoint(), sgpp::optimization::HierarchisationSLE::evalWaveletModifiedFunctionAtGridPoint(), sgpp::base::BreadthFirstSearch< FUNC >::execute(), sgpp::datadriven::OperationMakePositiveFindIntersectionCandidates::findIntersections(), sgpp::datadriven::OperationMakePositiveFindIntersectionCandidatesJoin::findIntersections(), sgpp::datadriven::OperationMakePositiveHybridFindIntersectionCandidates::findIntersections(), sgpp::base::Grid::getDimension(), sgpp::base::ImpurityRefinement::getIndicator(), sgpp::base::ForwardSelectorRefinement::getIndicator(), sgpp::base::PredictiveRefinement::getIndicator(), sgpp::pde::PDESolver::getNumberDimensions(), sgpp::base::HashRefinementBoundaries::getNumberOfRefinablePoints(), sgpp::base::HashRefinement::getNumberOfRefinablePoints(), sgpp::base::PrewaveletGridGenerator::getNumberOfRefinablePoints(), sgpp::base::HashRefinementBoundariesMaxLevel::getNumberOfRefinablePointsToMaxLevel(), sgpp::base::HashGridIterator::HashGridIterator(), sgpp::datadriven::OperationRegularizationDiagonal::initAnisotropicPenalty(), sgpp::datadriven::OperationRegularizationDiagonalLinearBoundary::initH0HkLaplace(), sgpp::datadriven::OperationRegularizationDiagonalLinearBoundary::initHkmix(), sgpp::datadriven::OperationMakePositive::initialize(), sgpp::datadriven::OperationRegularizationDiagonal::initIsotropicPenalty(), sgpp::base::OperationEvalPrewavelet::integrate(), sgpp::base::AbstractRefinement::isRefinable(), main(), sgpp::datadriven::OperationMakePositive::makeCurrentNodalValuesPositive(), sgpp::datadriven::clusteringmpi::MPIWorkerGridBase::MPIWorkerGridBase(), sgpp::base::OperationMultipleEvalBsplineBoundaryNaive::mult(), sgpp::base::OperationMultipleEvalBsplineClenshawCurtisNaive::mult(), sgpp::base::OperationMultipleEvalLinearBoundaryNaive::mult(), sgpp::base::OperationMultipleEvalLinearClenshawCurtisBoundaryNaive::mult(), sgpp::base::OperationMultipleEvalLinearClenshawCurtisNaive::mult(), sgpp::base::OperationMultipleEvalLinearNaive::mult(), sgpp::base::OperationMultipleEvalModBsplineClenshawCurtisNaive::mult(), sgpp::base::OperationMultipleEvalModLinearClenshawCurtisNaive::mult(), sgpp::base::OperationMultipleEvalPolyBoundaryNaive::mult(), sgpp::base::OperationMultipleEvalPolyClenshawCurtisNaive::mult(), sgpp::base::OperationMultipleEvalPolyNaive::mult(), sgpp::base::OperationMultipleEvalModPolyClenshawCurtisNaive::mult(), sgpp::base::OperationMultipleEvalBsplineNaive::mult(), sgpp::base::OperationMultipleEvalModBsplineNaive::mult(), sgpp::base::OperationMultipleEvalPolyClenshawCurtisBoundaryNaive::mult(), sgpp::pde::OperationMatrixLTwoDotBsplineClenshawCurtis::mult(), sgpp::pde::OperationMatrixLTwoDotPolyClenshawCurtisBoundary::mult(), sgpp::pde::OperationMatrixLTwoDotModPolyClenshawCurtis::mult(), sgpp::pde::OperationMatrixLTwoDotBspline::mult(), sgpp::pde::OperationMatrixLTwoDotBsplineBoundary::mult(), sgpp::pde::OperationMatrixLTwoDotPoly::mult(), sgpp::pde::OperationMatrixLTwoDotModLinear::mult(), sgpp::pde::OperationMatrixLTwoDotModPoly::mult(), sgpp::pde::OperationMatrixLTwoDotPolyBoundary::mult(), sgpp::pde::OperationMatrixLTwoDotPeriodic::mult(), sgpp::pde::OperationMatrixLTwoDotModBsplineClenshawCurtis::mult(), sgpp::pde::OperationMatrixLTwoDotModBspline::mult(), sgpp::pde::OperationMatrixLTwoDotPolyClenshawCurtis::mult(), sgpp::pde::UpDownOneOpDimWithShadow::mult(), sgpp::base::OperationDiagonal::mult(), sgpp::base::OperationMultipleEvalInterModLinear::mult(), sgpp::combigrid::LTwoScalarProductHashMapNakBsplineBoundaryCombigrid::mult(), sgpp::base::OperationMultipleEvalModBsplineClenshawCurtisNaive::multTranspose(), sgpp::base::OperationMultipleEvalLinearNaive::multTranspose(), sgpp::base::OperationMultipleEvalLinearBoundaryNaive::multTranspose(), sgpp::base::OperationMultipleEvalBsplineClenshawCurtisNaive::multTranspose(), sgpp::base::OperationMultipleEvalPolyClenshawCurtisNaive::multTranspose(), sgpp::base::OperationMultipleEvalBsplineBoundaryNaive::multTranspose(), sgpp::base::OperationMultipleEvalPolyBoundaryNaive::multTranspose(), sgpp::base::OperationMultipleEvalModLinearClenshawCurtisNaive::multTranspose(), sgpp::base::OperationMultipleEvalModPolyClenshawCurtisNaive::multTranspose(), sgpp::base::OperationMultipleEvalLinearClenshawCurtisNaive::multTranspose(), sgpp::base::OperationMultipleEvalLinearClenshawCurtisBoundaryNaive::multTranspose(), sgpp::base::OperationMultipleEvalPolyNaive::multTranspose(), sgpp::base::OperationMultipleEvalBsplineNaive::multTranspose(), sgpp::base::OperationMultipleEvalModBsplineNaive::multTranspose(), sgpp::base::OperationMultipleEvalPolyClenshawCurtisBoundaryNaive::multTranspose(), sgpp::datadriven::OperationMultiEvalStreaming::multTranspose(), sgpp::base::OperationMultipleEvalInterModLinear::multTranspose(), sgpp::datadriven::OperationMakePositiveFindIntersectionCandidates::nextCandidates(), sgpp::datadriven::OperationMakePositiveLoadFullGridCandidates::nextCandidates(), sgpp::datadriven::OperationMakePositiveHybridFindIntersectionCandidates::nextCandidates(), sgpp::datadriven::MultipleClassRefinementFunctor::operator()(), sgpp::datadriven::GridPointBasedRefinementFunctor::operator()(), sgpp::base::AlgorithmEvaluationTransposed< BASIS >::operator()(), sgpp::base::DehierarchisationFundamentalSpline::operator()(), sgpp::base::HierarchisationFundamentalSpline::operator()(), sgpp::base::HierarchisationModFundamentalSpline::operator()(), sgpp::base::DehierarchisationModFundamentalSpline::operator()(), sgpp::datadriven::ZeroCrossingRefinementFunctor::operator()(), sgpp::base::AlgorithmEvaluation< BASIS >::operator()(), sgpp::base::GetAffectedBasisFunctions< BASIS >::operator()(), sgpp::datadriven::OperationMultiEvalModMaskStreaming::prepare(), sgpp::datadriven::OperationMultiEvalStreamingBSplineOCL< T >::prepare(), sgpp::datadriven::OperationMultiEvalStreamingModOCLUnified< T >::prepare(), sgpp::datadriven::OperationMultiEvalStreamingModOCLFastMultiPlatform< T >::prepare(), sgpp::datadriven::OperationMultiEvalStreamingModOCLOpt< T >::prepare(), sgpp::datadriven::StreamingOCLMultiPlatform::OperationMultiEvalStreamingOCLMultiPlatform< T >::prepare(), sgpp::solver::GroupLassoFunction::prox(), sgpp::base::AlgorithmEvaluationTransposed< BASIS >::rec(), sgpp::base::AlgorithmEvaluation< BASIS >::rec(), sgpp::base::GetAffectedBasisFunctions< BASIS >::rec(), sgpp::base::GetAffectedBasisFunctions< LinearBoundaryBasis< unsigned int, unsigned int > >::rec(), sgpp::base::GetAffectedBasisFunctions< PrewaveletBasis< unsigned int, unsigned int > >::rec(), sgpp::base::GetAffectedBasisFunctions< LinearPeriodicBasis< unsigned int, unsigned int > >::rec(), sgpp::base::GetAffectedBasisFunctions< PolyBoundaryBasis< unsigned int, unsigned int > >::rec(), sgpp::base::GetAffectedBasisFunctions< PolyClenshawCurtisBoundaryBasis< unsigned int, unsigned int > >::rec(), sgpp::base::GetAffectedBasisFunctions< LinearClenshawCurtisBoundaryBasis< unsigned int, unsigned int > >::rec(), sgpp::base::GetAffectedBasisFunctions< LinearBoundaryBasis< unsigned int, unsigned int > >::recBB(), sgpp::base::GetAffectedBasisFunctions< LinearStretchedBoundaryBasis< unsigned int, unsigned int > >::recBB(), sgpp::base::GetAffectedBasisFunctions< PolyBoundaryBasis< unsigned int, unsigned int > >::recBB(), sgpp::base::GetAffectedBasisFunctions< PolyClenshawCurtisBoundaryBasis< unsigned int, unsigned int > >::recBB(), sgpp::base::GetAffectedBasisFunctions< LinearClenshawCurtisBoundaryBasis< unsigned int, unsigned int > >::recBB(), sgpp::base::PrewaveletGridGenerator::refine(), sgpp::base::ANOVAHashRefinement::refineGridpoint(), sgpp::base::HashRefinementBoundaries::refineGridpoint(), sgpp::base::HashRefinementBoundariesMaxLevel::refineGridpoint(), sgpp::base::HashRefinement::refineGridpoint(), sgpp::base::SubspaceRefinement::refineGridpointsCollection(), sgpp::base::StandardGridGenerator::refineInter(), sgpp::base::HashRefinementBoundariesMaxLevel::refineToMaxLevel(), sgpp::base::HashGenerator::regular_boundary_truncated_iter(), sgpp::base::HashGenerator::regular_inter_iter(), sgpp::base::HashGenerator::regular_iter(), sgpp::base::HashGenerator::regular_periodic_boundary_iter(), sgpp::base::HashGenerator::regularInter(), sgpp::base::HashGenerator::regularWithBoundaries(), sgpp::base::HashGenerator::regularWithPeriodicBoundaries(), sgpp::base::HashGridIterator::resetToLevelZero(), sgpp::datadriven::DBMatOnlineDEOrthoAdapt::sherman_morrison_adapt(), sgpp::base::HashGenerator::square_rec(), sgpp::base::HashGenerator::squareRoot(), sgpp::base::sweep< FUNC >::sweep1D(), sgpp::base::sweep< FUNC >::sweep1D_Boundary(), sgpp::base::HashGenerator::truncated(), sgpp::optimization::file_io::writeGrid(), and sgpp::datadriven::OperationMakePositiveLoadFullGridCandidates::~OperationMakePositiveLoadFullGridCandidates().

void sgpp::base::HashGridStorage::getLevelForIntegral ( DataMatrix level)

Converts this storage from AOS (array of structures) to SOA (structure of array) with modification to speed up iterative Laplace Calculations: the level won't contain the levels, it contains 2 to the neagative power of the level.

Parameters
levelDataMatrix to store the grid's modified level

References python.statsfileInfo::i, sgpp::combigrid::pow(), and sgpp::base::DataMatrix::set().

Referenced by getPoint().

void sgpp::base::HashGridStorage::getLevelIndexArraysForEval ( DataMatrixSP level,
DataMatrixSP index 
)

Converts this storage from AOS (array of structures) to SOA (structure of array) with modification to speed up iterative function evaluation.

The Level array won't contain the levels, it contains the level to the power of two

Parameters
levelDataMatrix to store the grid's level to the power of two
indexDataMatrix to store the grid's indices

References python.statsfileInfo::i, and sgpp::base::DataMatrixSP::set().

void sgpp::base::HashGridStorage::getLevelIndexMaskArraysForModEval ( DataMatrix level,
DataMatrix index,
DataMatrix mask,
DataMatrix offset 
)

Converts this storage from AOS (array of structures) to SOA (structure of array) with modification to speed up iterative function evaluation.

The Level array won't contain the levels, it contains the level to the power of two.

The returned format is only useful for a multi-evaluation of modlinear grids

Parameters
levelDataMatrix to store the grid's level to the power of two
indexDataMatrix to store the grid's indices
maskDataMatrix to store masks of operations
offsetDataMatrix to store offset for operations

References python.statsfileInfo::i, and sgpp::base::DataMatrix::set().

Referenced by getPoint().

void sgpp::base::HashGridStorage::getLevelIndexMaskArraysForModEval ( DataMatrixSP level,
DataMatrixSP index,
DataMatrixSP mask,
DataMatrixSP offset 
)

Converts this storage from AOS (array of structures) to SOA (structure of array) with modification to speed up iterative function evaluation.

The Level array won't contain the levels, it contains the level to the power of two.

The returned format is only useful for a multi-evaluation of modlinear grids

Parameters
levelDataMatrixSP to store the grid's level to the power of two
indexDataMatrixSP to store the grid's indices
maskDataMatrixSP to store masks of operations
offsetDataMatrixSP to store offset for operations

References sgpp::base::BoundingBox1D::bDirichletLeft, sgpp::base::BoundingBox1D::bDirichletRight, python.statsfileInfo::f, python.statsfileInfo::i, sgpp::base::BoundingBox1D::leftBoundary, recalcLeafProperty(), sgpp::base::BoundingBox1D::rightBoundary, SERIALIZATION_VERSION, sgpp::base::DataMatrixSP::set(), sgpp::base::BoundingBox::setBoundary(), sgpp::base::BoundingBox::unserialize(), and sgpp::base::Stretching::unserialize().

size_t sgpp::base::HashGridStorage::getNumberOfInnerPoints ( ) const
HashGridPoint& sgpp::base::HashGridStorage::getPoint ( size_t  seq) const
inline

gets the index number for given gridpoint by its sequence number

Parameters
seqthe sequence number of the index
Returns
gridpoint object (pointer)

References begin(), create(), deleteLast(), destroy(), end(), find(), getAlgorithmicDimensions(), getBoundingBox(), getCoordinateArrays(), getLevelForIntegral(), getLevelIndexArraysForEval(), getLevelIndexMaskArraysForModEval(), getMaxLevel(), getSequenceNumber(), getStretching(), insert(), isContaining(), isInvalidSequenceNumber(), level, recalcLeafProperty(), create_scripts::s, setAlgorithmicDimensions(), setBoundingBox(), setStretching(), store(), and update().

Referenced by sgpp::combigrid::calculateInterpolationCoefficientsForConvertedExpUniformBoundaryCombigird(), sgpp::base::HashGenerator::cliques_iter(), sgpp::datadriven::OperationMakePositiveSetToZero::computeHierarchicalCoefficients(), sgpp::datadriven::OperationMakePositiveInterpolateExp::computeHierarchicalCoefficients(), sgpp::datadriven::OperationMakePositiveInterpolateBoundaryOfSupport::computeHierarchicalCoefficients(), sgpp::datadriven::OperationMakePositiveInterpolateFunction::computeHierarchicalCoefficients(), sgpp::combigrid::convertLevelStructureToGridPoints(), sgpp::base::HashGenerator::createFullGridIterative(), sgpp::base::HashGenerator::createFullGridTruncatedIterative(), sgpp::base::HashRefinementBoundaries::createGridpointLevelZeroConsistency(), sgpp::base::AbstractRefinement::createGridpointSubroutine(), sgpp::datadriven::OperationDensityConditional::doConditional(), sgpp::datadriven::OperationDensityConditionalLinear::doConditional(), sgpp::base::OperationArbitraryBoundaryHierarchisation::doDehierarchisation(), sgpp::datadriven::OperationDensityMarginalize::doMarginalize(), sgpp::datadriven::OperationDensityMarginalizeLinear::doMarginalize(), sgpp::base::OperationQuadratureLinearClenshawCurtis::doQuadrature(), sgpp::base::OperationQuadratureModLinearClenshawCurtis::doQuadrature(), sgpp::base::OperationQuadratureLinearClenshawCurtisBoundary::doQuadrature(), sgpp::base::OperationQuadratureModPolyClenshawCurtis::doQuadrature(), sgpp::base::OperationQuadraturePolyClenshawCurtisBoundary::doQuadrature(), sgpp::base::OperationQuadraturePolyClenshawCurtis::doQuadrature(), sgpp::base::OperationQuadratureModBspline::doQuadrature(), sgpp::base::OperationQuadratureModBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationQuadratureModFundamentalSpline::doQuadrature(), sgpp::base::OperationQuadraturePolyBoundary::doQuadrature(), sgpp::base::OperationQuadratureBsplineBoundary::doQuadrature(), sgpp::base::OperationQuadratureBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationQuadratureFundamentalSpline::doQuadrature(), sgpp::base::OperationQuadratureModPoly::doQuadrature(), sgpp::base::OperationQuadraturePoly::doQuadrature(), sgpp::base::OperationQuadratureBspline::doQuadrature(), sgpp::datadriven::OperationDensitySampling1DLinear::doSampling1D(), sgpp::datadriven::OperationRosenblattTransformation1DPoly::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DModBspline::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DBspline::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DBsplineBoundary::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DBsplineClenshawCurtis::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DLinear::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DModPoly::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DModPolyClenshawCurtis::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DPolyBoundary::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DPolyClenshawCurtis::doTransformation1D(), sgpp::datadriven::OperationInverseRosenblattTransformation1DLinear::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DModBsplineClenshawCurtis::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DPolyClenshawCurtisBoundary::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformationLinear::doTransformation1D(), sgpp::datadriven::OperationInverseRosenblattTransformationLinear::doTransformation1D(), sgpp::datadriven::OperationDotProductLinear::eval(), sgpp::datadriven::OperationDotProductModLinear::eval(), sgpp::base::OperationHierarchisationPrewavelet::expandGrid(), sgpp::pde::UpDownOneOpDimWithShadow::expandGrid(), sgpp::base::HashCoarsening::free_coarsen_NFirstOnly(), sgpp::datadriven::PiecewiseConstantSmoothedRegressionSystemMatrix::generateb(), sgpp::datadriven::LearnerVectorizedPerformanceCalculator::getGFlopAndGByte(), sgpp::pde::PDESolver::getGridNormalDistribution(), sgpp::base::PrewaveletGridGenerator::getNumberOfRefinablePoints(), sgpp::base::GridDataBase::GridDataBase(), sgpp::datadriven::RefinementHandler::handleSurplusBasedRefinement(), sgpp::base::HashGridIterator::hint(), sgpp::datadriven::OperationRegularizationDiagonal::initAnisotropicPenalty(), 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::OperationRegularizationDiagonalLinearBoundary::initH0HkLaplace(), sgpp::datadriven::OperationRegularizationDiagonalLinearBoundary::initHkmix(), sgpp::datadriven::OperationMakePositiveFindIntersectionCandidates::initializeCandidates(), sgpp::datadriven::OperationMakePositiveFindIntersectionCandidatesJoin::initializeCandidates(), sgpp::datadriven::OperationRegularizationDiagonal::initIsotropicPenalty(), sgpp::datadriven::OperationMakePositive::makeCurrentNodalValuesPositive(), sgpp::datadriven::clusteringmpi::MPIWorkerGridBase::MPIWorkerGridBase(), sgpp::base::OperationDiagonal::mult(), sgpp::datadriven::OperationMakePositiveLoadFullGridCandidates::nextCandidates(), sgpp::base::OperationArbitraryBoundaryHierarchisation::OperationArbitraryBoundaryHierarchisation(), sgpp::datadriven::DensityOCLMultiPlatform::OperationDensityOCLMultiPlatform< T >::OperationDensityOCLMultiPlatform(), sgpp::datadriven::DensityOCLMultiPlatform::OperationPruneGraphOCLMultiPlatform< T >::OperationPruneGraphOCLMultiPlatform(), sgpp::base::SurplusVolumeRefinementFunctor::operator()(), sgpp::base::SurplusVolumeCoarseningFunctor::operator()(), sgpp::datadriven::MultipleClassRefinementFunctor::operator()(), sgpp::datadriven::GridPointBasedRefinementFunctor::operator()(), sgpp::datadriven::ZeroCrossingRefinementFunctor::operator()(), sgpp::datadriven::DataBasedRefinementFunctor::operator()(), sgpp::datadriven::OperationMultiEvalModMaskStreaming::prepare(), sgpp::datadriven::OperationMultipleEvalSubspaceSimple::prepare(), sgpp::datadriven::OperationMultipleEvalSubspaceCombined::prepare(), sgpp::datadriven::OperationMultiEvalStreamingModOCLUnified< T >::prepare(), sgpp::datadriven::OperationMultiEvalStreamingModOCLFastMultiPlatform< T >::prepare(), sgpp::datadriven::OperationMultiEvalStreamingModOCLOpt< T >::prepare(), sgpp::datadriven::OperationMultiEvalStreamingModOCLMaskMultiPlatform< T >::prepare(), sgpp::datadriven::StreamingOCLMultiPlatform::OperationMultiEvalStreamingOCLMultiPlatform< T >::prepare(), sgpp::base::GridPrinter::printLevelIndexGrid(), sgpp::base::GridPrinterForStretching::printSparseGrid(), sgpp::base::GridPrinter::printSparseGrid(), sgpp::base::GridPrinterForStretching::printSparseGridExpTransform(), sgpp::base::GridPrinter::printSparseGridExpTransform(), sgpp::solver::GroupLassoFunction::prox(), sgpp::base::PrewaveletGridGenerator::refine(), sgpp::base::MultipleClassRefinement::refineGridpoint(), sgpp::base::HashRefinement::refineGridpoint1D(), sgpp::base::AbstractRefinement::refineGridpoint1D(), sgpp::base::ImpurityRefinement::refineGridpointsCollection(), sgpp::base::ForwardSelectorRefinement::refineGridpointsCollection(), sgpp::base::HashGenerator::regular_boundary_truncated_iter(), sgpp::base::HashGenerator::regular_inter_iter(), sgpp::base::HashGenerator::regular_iter(), sgpp::base::HashGenerator::regular_periodic_boundary_iter(), sgpp::base::ForwardSelectorRefinementIndicator::runOperator(), sgpp::base::PredictiveRefinementIndicator::runOperator(), sgpp::datadriven::LearnerSGDE::train(), sgpp::datadriven::SparseGridDensityEstimator::train(), sgpp::datadriven::LearnerSGDE::trainOnline(), 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(), and sgpp::datadriven::OperationInverseRosenblattTransformation1DPolyClenshawCurtisBoundary::~OperationInverseRosenblattTransformation1DPolyClenshawCurtisBoundary().

size_t sgpp::base::HashGridStorage::getSequenceNumber ( HashGridPoint index) const
inline

Gets the seq number for index.

Parameters
indexpointer to index which sequence number should be determined
Returns
the seq number for index

Referenced by sgpp::datadriven::OperationDensityConditional::doConditional(), sgpp::base::OperationArbitraryBoundaryHierarchisation::doDehierarchisation(), sgpp::base::OperationArbitraryBoundaryHierarchisation::doHierarchisation(), sgpp::datadriven::OperationDensityMarginalize::doMarginalize(), sgpp::base::ImpurityRefinement::getIndicator(), sgpp::base::ForwardSelectorRefinement::getIndicator(), sgpp::base::PredictiveRefinement::getIndicator(), getPoint(), sgpp::base::GridDataBase::GridDataBase(), sgpp::base::HashGridIterator::HashGridIterator(), sgpp::base::HashGridIterator::leftChild(), sgpp::datadriven::OperationMakePositive::makeCurrentNodalValuesPositive(), sgpp::datadriven::MultipleClassRefinementFunctor::operator()(), sgpp::datadriven::ZeroCrossingRefinementFunctor::operator()(), sgpp::pde::UpdPhidPhiBBIterativeLinearStretchedBoundary::operator()(), sgpp::pde::UpdPhidPhiBBIterativeLinearBoundary::operator()(), sgpp::pde::DowndPhidPhiBBIterativeLinearStretchedBoundary::operator()(), sgpp::pde::DowndPhidPhiBBIterativeLinearBoundary::operator()(), sgpp::base::MultipleClassRefinement::refineGridpoint(), sgpp::base::SubspaceRefinement::refineGridpointsCollection(), sgpp::base::ImpurityRefinement::refineGridpointsCollection(), sgpp::base::ForwardSelectorRefinement::refineGridpointsCollection(), sgpp::base::HashGridIterator::resetToLeftLevelZero(), sgpp::base::HashGridIterator::resetToLevelOne(), sgpp::base::HashGridIterator::resetToLevelZero(), sgpp::base::HashGridIterator::resetToRightLevelZero(), sgpp::base::HashGridIterator::rightChild(), sgpp::base::HashGridIterator::set(), sgpp::base::HashGridIterator::stepLeft(), sgpp::base::HashGridIterator::stepRight(), and sgpp::base::HashGridIterator::up().

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

gets the size of the hashmap

Returns
returns the size of the hashmap

Referenced by sgpp::datadriven::AlgorithmAdaBoostBase::AlgorithmAdaBoostBase(), sgpp::base::DirichletUpdateVector::applyDirichletConditions(), sgpp::base::DirichletGridConverter::buildInnerGridWithCoefs(), sgpp::datadriven::DBMatOfflineGE::buildMatrix(), sgpp::datadriven::DBMatOfflineOrthoAdapt::buildMatrix(), sgpp::datadriven::DBMatOffline::buildMatrix(), sgpp::combigrid::calculateInterpolationCoefficientsForConvertedExpUniformBoundaryCombigird(), sgpp::datadriven::DBMatOfflineChol::choleskyModification(), sgpp::base::HashGenerator::cliques(), sgpp::base::HashGenerator::cliques_iter(), python.uq.uq_setting.UQSetting.UQSetting::convert(), sgpp::combigrid::convertLevelStructureToGridPoints(), sgpp::base::HashGenerator::createFullGridIterative(), sgpp::base::HashGenerator::createFullGridTruncatedIterative(), sgpp::datadriven::OperationDensityConditional::doConditional(), sgpp::datadriven::OperationDensityConditionalLinear::doConditional(), 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::OperationArbitraryBoundaryHierarchisation::doHierarchisation(), sgpp::datadriven::OperationDensityMarginalize::doMarginalize(), sgpp::datadriven::OperationDensityMarginalizeLinear::doMarginalize(), sgpp::datadriven::AlgorithmAdaBoostBase::doRefinement(), sgpp::datadriven::OperationDensitySampling1DLinear::doSampling1D(), 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::OperationRosenblattTransformation1DPolyClenshawCurtis::doTransformation1D(), sgpp::datadriven::OperationInverseRosenblattTransformation1DLinear::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DModBsplineClenshawCurtis::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformation1DPolyClenshawCurtisBoundary::doTransformation1D(), sgpp::datadriven::OperationInverseRosenblattTransformationLinear::doTransformation1D(), sgpp::datadriven::OperationRosenblattTransformationLinear::doTransformation1D(), sgpp::datadriven::OperationDotProductLinear::eval(), sgpp::datadriven::OperationDotProductModLinear::eval(), sgpp::base::OperationEvalModLinearClenshawCurtisNaive::eval(), sgpp::base::OperationEvalLinearClenshawCurtisNaive::eval(), sgpp::base::OperationEvalModPolyClenshawCurtisNaive::eval(), sgpp::base::OperationEvalPolyClenshawCurtisNaive::eval(), sgpp::base::OperationEvalLinearClenshawCurtisBoundaryNaive::eval(), sgpp::base::OperationEvalModPolyNaive::eval(), sgpp::base::OperationEvalPolyClenshawCurtisBoundaryNaive::eval(), sgpp::base::OperationEvalPolyBoundaryNaive::eval(), sgpp::base::OperationEvalPolyNaive::eval(), sgpp::base::OperationEvalLinearBoundaryNaive::eval(), sgpp::base::OperationEvalLinearNaive::eval(), sgpp::base::OperationEvalModLinearNaive::eval(), sgpp::base::OperationEvalModWaveletNaive::eval(), sgpp::base::OperationEvalNakBsplineBoundaryCombigridNaive::eval(), sgpp::base::OperationEvalWaveletBoundaryNaive::eval(), sgpp::base::OperationEvalWaveletNaive::eval(), sgpp::base::OperationEvalModBsplineNaive::eval(), sgpp::base::OperationEvalModFundamentalSplineNaive::eval(), sgpp::base::OperationEvalBsplineBoundaryNaive::eval(), sgpp::base::OperationEvalBsplineClenshawCurtisNaive::eval(), sgpp::base::OperationEvalFundamentalSplineNaive::eval(), sgpp::base::OperationEvalModBsplineClenshawCurtisNaive::eval(), sgpp::base::OperationEvalBsplineNaive::eval(), sgpp::optimization::IterativeGridGenerator::evalFunction(), sgpp::base::OperationEvalGradientWaveletNaive::evalGradient(), sgpp::base::OperationEvalGradientWaveletBoundaryNaive::evalGradient(), sgpp::base::OperationEvalGradientModWaveletNaive::evalGradient(), sgpp::base::OperationEvalGradientBsplineNaive::evalGradient(), sgpp::base::OperationEvalGradientModBsplineNaive::evalGradient(), sgpp::base::OperationEvalGradientBsplineBoundaryNaive::evalGradient(), sgpp::base::OperationEvalGradientFundamentalSplineNaive::evalGradient(), sgpp::base::OperationEvalGradientModBsplineClenshawCurtisNaive::evalGradient(), sgpp::base::OperationEvalGradientModFundamentalSplineNaive::evalGradient(), sgpp::base::OperationEvalGradientBsplineClenshawCurtisNaive::evalGradient(), sgpp::base::OperationEvalHessianModWaveletNaive::evalHessian(), sgpp::base::OperationEvalHessianWaveletNaive::evalHessian(), sgpp::base::OperationEvalHessianWaveletBoundaryNaive::evalHessian(), sgpp::base::OperationEvalHessianModBsplineNaive::evalHessian(), sgpp::base::OperationEvalHessianBsplineNaive::evalHessian(), sgpp::base::OperationEvalHessianBsplineClenshawCurtisNaive::evalHessian(), sgpp::base::OperationEvalHessianBsplineBoundaryNaive::evalHessian(), sgpp::base::OperationEvalHessianFundamentalSplineNaive::evalHessian(), sgpp::base::OperationEvalHessianModFundamentalSplineNaive::evalHessian(), sgpp::base::OperationEvalHessianModBsplineClenshawCurtisNaive::evalHessian(), sgpp::base::OperationEvalPartialDerivativeModWaveletNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeWaveletBoundaryNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeWaveletNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeBsplineBoundaryNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeBsplineClenshawCurtisNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeBsplineNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeModBsplineNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeModFundamentalSplineNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeFundamentalSplineNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeModBsplineClenshawCurtisNaive::evalPartialDerivative(), sgpp::base::BreadthFirstSearch< FUNC >::execute(), sgpp::base::OperationHierarchisationPrewavelet::expandGrid(), sgpp::pde::UpDownOneOpDimWithShadow::expandGrid(), sgpp::base::HashCoarsening::free_coarsen(), sgpp::base::HashCoarsening::free_coarsen_NFirstOnly(), sgpp::base::HashRefinementBoundaries::free_refine(), sgpp::base::HashRefinement::free_refine(), sgpp::base::SubspaceRefinement::free_refine(), sgpp::base::ImpurityRefinement::free_refine(), sgpp::base::ForwardSelectorRefinement::free_refine(), sgpp::base::PredictiveRefinement::free_refine(), sgpp::base::HashGenerator::full(), sgpp::base::HashGenerator::fullWithBoundary(), sgpp::optimization::IterativeGridGeneratorSOO::generate(), sgpp::optimization::IterativeGridGeneratorRitterNovak::generate(), sgpp::datadriven::PiecewiseConstantSmoothedRegressionSystemMatrix::generateb(), sgpp::optimization::HierarchisationSLE::getDimension(), sgpp::pde::PDESolver::getNumberGridPoints(), sgpp::base::HashRefinementBoundaries::getNumberOfRefinablePoints(), sgpp::base::HashRefinement::getNumberOfRefinablePoints(), sgpp::optimization::HashRefinementMultiple::getNumberOfRefinablePoints(), sgpp::base::PrewaveletGridGenerator::getNumberOfRefinablePoints(), sgpp::base::HashRefinementBoundariesMaxLevel::getNumberOfRefinablePointsToMaxLevel(), sgpp::base::HashCoarsening::getNumberOfRemovablePoints(), sgpp::base::Grid::getSize(), python.uq.uq_setting.UQSetting.UQSetting::getTimeDependentResults(), sgpp::base::GridDataBase::GridDataBase(), sgpp::datadriven::RefinementHandler::handleSurplusBasedRefinement(), HashGridStorage(), sgpp::base::OperationEvalPrewavelet::integrate(), main(), sgpp::datadriven::OperationMakePositive::makeCurrentNodalValuesPositive(), sgpp::datadriven::clusteringmpi::MPIWorkerGridBase::MPIWorkerGridBase(), sgpp::base::OperationMultipleEvalModLinearClenshawCurtisNaive::mult(), sgpp::base::OperationMultipleEvalModPolyClenshawCurtisNaive::mult(), sgpp::base::OperationMultipleEvalPolyBoundaryNaive::mult(), sgpp::base::OperationMultipleEvalPolyClenshawCurtisNaive::mult(), sgpp::base::OperationMultipleEvalPolyNaive::mult(), sgpp::base::OperationMultipleEvalBsplineBoundaryNaive::mult(), sgpp::base::OperationMultipleEvalBsplineClenshawCurtisNaive::mult(), sgpp::base::OperationMultipleEvalLinearBoundaryNaive::mult(), sgpp::base::OperationMultipleEvalLinearClenshawCurtisBoundaryNaive::mult(), sgpp::base::OperationMultipleEvalLinearClenshawCurtisNaive::mult(), sgpp::base::OperationMultipleEvalLinearNaive::mult(), sgpp::base::OperationMultipleEvalModBsplineClenshawCurtisNaive::mult(), sgpp::base::OperationMultipleEvalModBsplineNaive::mult(), sgpp::base::OperationMultipleEvalPolyClenshawCurtisBoundaryNaive::mult(), sgpp::base::OperationMultipleEvalBsplineNaive::mult(), sgpp::pde::OperationMatrixLTwoDotModBspline::mult(), sgpp::pde::OperationMatrixLTwoDotModLinear::mult(), sgpp::pde::OperationMatrixLTwoDotPoly::mult(), sgpp::pde::OperationMatrixLTwoDotModBsplineClenshawCurtis::mult(), sgpp::pde::OperationMatrixLTwoDotBsplineBoundary::mult(), sgpp::pde::OperationMatrixLTwoDotModPolyClenshawCurtis::mult(), sgpp::pde::OperationMatrixLTwoDotPeriodic::mult(), sgpp::pde::OperationMatrixLTwoDotPolyBoundary::mult(), sgpp::pde::OperationMatrixLTwoDotPolyClenshawCurtis::mult(), sgpp::pde::OperationMatrixLTwoDotPolyClenshawCurtisBoundary::mult(), sgpp::pde::OperationLaplacePolyClenshawCurtisBoundary::mult(), sgpp::pde::OperationLaplacePolyClenshawCurtis::mult(), sgpp::pde::OperationLaplaceModPolyClenshawCurtis::mult(), sgpp::pde::OperationMatrixLTwoDotBsplineClenshawCurtis::mult(), sgpp::pde::OperationLaplaceModPoly::mult(), sgpp::pde::OperationMatrixLTwoDotBspline::mult(), sgpp::pde::OperationMatrixLTwoDotModPoly::mult(), sgpp::pde::OperationLaplaceBsplineClenshawCurtis::mult(), sgpp::pde::OperationLaplaceModBspline::mult(), sgpp::pde::OperationLaplacePoly::mult(), sgpp::pde::OperationLaplaceBspline::mult(), sgpp::pde::OperationLaplaceBsplineBoundary::mult(), sgpp::pde::OperationLaplaceModBsplineClenshawCurtis::mult(), sgpp::pde::OperationLaplacePolyBoundary::mult(), sgpp::pde::UpDownOneOpDimWithShadow::mult(), sgpp::combigrid::LTwoScalarProductHashMapNakBsplineBoundaryCombigrid::mult(), sgpp::datadriven::OperationRegularizationDiagonal::mult(), sgpp::base::DirichletUpdateVector::multiply(), sgpp::base::DirichletUpdateVector::multiplyBoundary(), sgpp::base::DirichletUpdateVector::multiplyBoundaryVector(), sgpp::base::OperationMultipleEvalPolyBoundaryNaive::multTranspose(), sgpp::base::OperationMultipleEvalPolyNaive::multTranspose(), sgpp::base::OperationMultipleEvalModLinearClenshawCurtisNaive::multTranspose(), sgpp::base::OperationMultipleEvalPolyClenshawCurtisNaive::multTranspose(), sgpp::base::OperationMultipleEvalModPolyClenshawCurtisNaive::multTranspose(), sgpp::base::OperationMultipleEvalModBsplineClenshawCurtisNaive::multTranspose(), sgpp::base::OperationMultipleEvalLinearClenshawCurtisNaive::multTranspose(), sgpp::base::OperationMultipleEvalLinearNaive::multTranspose(), sgpp::base::OperationMultipleEvalLinearClenshawCurtisBoundaryNaive::multTranspose(), sgpp::base::OperationMultipleEvalBsplineBoundaryNaive::multTranspose(), sgpp::base::OperationMultipleEvalBsplineClenshawCurtisNaive::multTranspose(), sgpp::base::OperationMultipleEvalLinearBoundaryNaive::multTranspose(), sgpp::base::OperationMultipleEvalModBsplineNaive::multTranspose(), sgpp::base::OperationMultipleEvalPolyClenshawCurtisBoundaryNaive::multTranspose(), sgpp::base::OperationMultipleEvalBsplineNaive::multTranspose(), sgpp::datadriven::OperationMultiEvalStreaming::multTranspose(), sgpp::datadriven::OperationMultiEvalModMaskStreaming::multTranspose(), sgpp::datadriven::OperationMakePositiveLoadFullGridCandidates::nextCandidates(), sgpp::base::OperationArbitraryBoundaryHierarchisation::OperationArbitraryBoundaryHierarchisation(), sgpp::pde::OperationLaplaceExplicitLinear::OperationLaplaceExplicitLinear(), sgpp::datadriven::OperationRegularizationDiagonal::OperationRegularizationDiagonal(), sgpp::base::HierarchisationFundamentalSpline::operator()(), sgpp::base::HierarchisationModFundamentalSpline::operator()(), sgpp::base::DehierarchisationFundamentalSpline::operator()(), sgpp::base::DehierarchisationModFundamentalSpline::operator()(), sgpp::pde::DowndPhidPhiBBIterativeLinearStretchedBoundary::operator()(), sgpp::pde::UpdPhidPhiBBIterativeLinearBoundary::operator()(), sgpp::pde::UpdPhidPhiBBIterativeLinearStretchedBoundary::operator()(), sgpp::pde::DowndPhidPhiBBIterativeLinearBoundary::operator()(), sgpp::pde::DowndPhidPhiBBIterativeLinearStretched::operator()(), sgpp::pde::DowndPhidPhiBBIterativeLinear::operator()(), operator=(), sgpp::datadriven::OperationMultiEvalModMaskStreaming::prepare(), sgpp::datadriven::OperationMultipleEvalSubspaceSimple::prepare(), sgpp::datadriven::OperationMultipleEvalSubspaceCombined::prepare(), sgpp::datadriven::OperationMultiEvalStreamingBSplineOCL< T >::prepare(), sgpp::datadriven::OperationMultiEvalStreamingModOCLUnified< T >::prepare(), sgpp::datadriven::OperationMultiEvalStreamingModOCLFastMultiPlatform< T >::prepare(), sgpp::datadriven::OperationMultiEvalStreamingModOCLOpt< T >::prepare(), sgpp::datadriven::OperationMultiEvalStreamingModOCLMaskMultiPlatform< T >::prepare(), sgpp::datadriven::StreamingOCLMultiPlatform::OperationMultiEvalStreamingOCLMultiPlatform< T >::prepare(), sgpp::optimization::Printer::printIterativeGridGenerator(), sgpp::solver::GroupLassoFunction::prox(), sgpp::base::DirichletGridConverter::rebuildInnerGridWithCoefs(), sgpp::base::PrewaveletGridGenerator::refine(), sgpp::base::SubspaceRefinement::refineGridpointsCollection(), sgpp::base::ImpurityRefinement::refineGridpointsCollection(), sgpp::base::ForwardSelectorRefinement::refineGridpointsCollection(), sgpp::pde::PDESolver::refineInitialGridSurplus(), sgpp::pde::PDESolver::refineInitialGridSurplusSubDomain(), sgpp::pde::PDESolver::refineInitialGridSurplusToMaxLevel(), sgpp::pde::PDESolver::refineInitialGridSurplusToMaxLevelSubDomain(), sgpp::base::HashRefinementBoundariesMaxLevel::refineToMaxLevel(), sgpp::base::HashGenerator::regular(), sgpp::base::HashGenerator::regular_boundary_truncated_iter(), sgpp::base::HashGenerator::regular_inter(), sgpp::base::HashGenerator::regular_inter_iter(), sgpp::base::HashGenerator::regular_iter(), sgpp::base::HashGenerator::regular_periodic_boundary_iter(), sgpp::base::HashGenerator::regularInter(), sgpp::base::HashGenerator::regularWithBoundaries(), sgpp::base::HashGenerator::regularWithPeriodicBoundaries(), python.uq.uq_setting.UQSetting.UQSetting::runSamples(), python.uq.uq_setting.UQSetting.UQSetting::runSamples_withoutDistribution(), sgpp::base::DirichletUpdateVector::setBoundariesToZero(), sgpp::base::DirichletUpdateVector::setInnerPointsToZero(), sgpp::datadriven::DBMatOnlineDEOrthoAdapt::sherman_morrison_adapt(), sgpp::base::OperationHierarchisationPrewavelet::shrinkGrid(), sgpp::pde::UpDownOneOpDimWithShadow::shrinkGrid(), sgpp::base::HashGenerator::squareRoot(), sgpp::base::HashGenerator::truncated(), sgpp::optimization::IterativeGridGenerator::undoRefinement(), sgpp::optimization::file_io::writeGrid(), 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(), and sgpp::datadriven::OperationInverseRosenblattTransformation1DPolyClenshawCurtisBoundary::~OperationInverseRosenblattTransformation1DPolyClenshawCurtisBoundary().

double sgpp::base::HashGridStorage::getUnitCoordinate ( HashGridPoint  point,
size_t  d 
) const
inline

Calculates corresponding unit hypercube coordinate of a given point in specific dimension, taking into account the BoundingBox and Stretching.

References getCoordinate(), getCoordinates(), chess::point, and sgpp::base::BoundingBox::transformPointToUnitCube().

Referenced by sgpp::optimization::HierarchisationSLE::evalBsplineBoundaryFunctionAtGridPoint(), sgpp::optimization::HierarchisationSLE::evalBsplineClenshawCurtisFunctionAtGridPoint(), sgpp::optimization::HierarchisationSLE::evalBsplineFunctionAtGridPoint(), sgpp::optimization::HierarchisationSLE::evalBsplineModifiedClenshawCurtisFunctionAtGridPoint(), sgpp::optimization::HierarchisationSLE::evalBsplineModifiedFunctionAtGridPoint(), sgpp::optimization::HierarchisationSLE::evalFundamentalSplineFunctionAtGridPoint(), sgpp::optimization::HierarchisationSLE::evalFundamentalSplineModifiedFunctionAtGridPoint(), sgpp::optimization::HierarchisationSLE::evalLinearBoundaryFunctionAtGridPoint(), sgpp::optimization::HierarchisationSLE::evalLinearClenshawCurtisBoundaryFunctionAtGridPoint(), sgpp::optimization::HierarchisationSLE::evalLinearClenshawCurtisFunctionAtGridPoint(), sgpp::optimization::HierarchisationSLE::evalLinearFunctionAtGridPoint(), sgpp::optimization::HierarchisationSLE::evalLinearModifiedFunctionAtGridPoint(), sgpp::optimization::HierarchisationSLE::evalWaveletBoundaryFunctionAtGridPoint(), sgpp::optimization::HierarchisationSLE::evalWaveletFunctionAtGridPoint(), and sgpp::optimization::HierarchisationSLE::evalWaveletModifiedFunctionAtGridPoint().

size_t sgpp::base::HashGridStorage::insert ( const point_type index)

insert a new index into map

Parameters
indexreference to the index that should be inserted
Returns

Referenced by sgpp::base::HashGenerator::boundaries_rec(), sgpp::base::HashGenerator::boundaries_Truncated_rec_1d(), sgpp::base::HashGenerator::cliques_iter(), sgpp::combigrid::convertCombigridToHierarchicalSparseGrid(), sgpp::combigrid::convertexpUniformBoundaryCombigridToHierarchicalSparseGrid(), create(), sgpp::base::HashGenerator::createFullGridIterative(), sgpp::base::HashGenerator::createFullGridTruncatedIterative(), sgpp::base::HashRefinementInconsistent::createGridpoint(), sgpp::base::HashRefinementInteraction::createGridpoint(), sgpp::base::HashRefinement::createGridpoint(), sgpp::base::HashRefinementBoundaries::createGridpointGeneral(), sgpp::datadriven::OperationDensityConditional::doConditional(), sgpp::datadriven::OperationDensityMarginalize::doMarginalize(), sgpp::base::OperationHierarchisationPrewavelet::expandGrid(), sgpp::pde::UpDownOneOpDimWithShadow::expandGrid(), sgpp::optimization::IterativeGridGeneratorSOO::generate(), sgpp::base::PrewaveletGridGenerator::getNumberOfRefinablePoints(), getPoint(), HashGridStorage(), insert(), sgpp::base::Grid::insertPoint(), sgpp::datadriven::OperationMakePositive::makeCurrentNodalValuesPositive(), sgpp::base::OperationArbitraryBoundaryHierarchisation::OperationArbitraryBoundaryHierarchisation(), operator=(), sgpp::optimization::file_io::readGrid(), sgpp::optimization::HashRefinementMultiple::refineGridpoint1D(), sgpp::base::HashGenerator::regular_boundary_truncated_iter(), sgpp::base::HashGenerator::regular_inter_iter(), sgpp::base::HashGenerator::regular_iter(), sgpp::base::HashGenerator::regular_periodic_boundary_iter(), sgpp::base::HashGenerator::square_rec(), sgpp::base::HashGenerator::trunc_rec(), update(), and sgpp::datadriven::RefinementHandler::updateClassVariablesAfterRefinement().

void sgpp::base::HashGridStorage::insert ( point_type index,
std::vector< size_t > &  insertedPoints 
)

insert a new index into map including all its ancestors.

Boundary points are not added

Parameters
indexreference to the index that should be inserted
insertedPointscontaining the indices of the new points
Returns

References sgpp::base::HashGridPoint::getIndex(), sgpp::base::HashGridPoint::getLevel(), sgpp::base::HashGridPoint::getParent(), python.statsfileInfo::i, insert(), isContaining(), and sgpp::base::HashGridPoint::set().

bool sgpp::base::HashGridStorage::isContaining ( HashGridPoint index) const
inline
bool sgpp::base::HashGridStorage::isInvalidSequenceNumber ( size_t  s)
inline

Tests if seq number does not point to a valid grid point.

Parameters
ssequence number that should be tested
Returns
true if we are not EOF

Referenced by sgpp::base::HashGridIterator::getGridDepth(), sgpp::base::PrewaveletGridGenerator::getNumberOfRefinablePoints(), getPoint(), sgpp::base::OperationMultipleEvalInterModLinear::mult(), sgpp::base::OperationMultipleEvalInterModLinear::multTranspose(), sgpp::pde::PhiPhiUpBBLinearStretchedBoundary::operator()(), sgpp::pde::PhiPhiUpBBLinearBoundary::operator()(), sgpp::base::HierarchisationLinearBoundary::operator()(), sgpp::pde::PhiPhiDownBBLinearStretchedBoundary::operator()(), sgpp::base::DehierarchisationLinearBoundary::operator()(), sgpp::pde::PhiPhiDownBBLinearBoundary::operator()(), sgpp::base::HierarchisationLinearStretchedBoundary::operator()(), sgpp::pde::LaplaceUpPrewavelet::operator()(), sgpp::base::DehierarchisationLinearStretchedBoundary::operator()(), sgpp::base::DehierarchisationLinearClenshawCurtisBoundary::operator()(), sgpp::base::HierarchisationPolyBoundary::operator()(), sgpp::base::HierarchisationLinearClenshawCurtisBoundary::operator()(), sgpp::base::ConvertPrewaveletToLinear::operator()(), sgpp::pde::LaplaceUpGradientPrewavelet::operator()(), sgpp::base::HierarchisationPolyClenshawCurtisBoundary::operator()(), sgpp::base::ConvertLinearToPrewavelet::operator()(), sgpp::pde::LaplaceEnhancedDownBBLinearBoundary::operator()(), sgpp::pde::LaplaceEnhancedUpBBLinearBoundary::operator()(), sgpp::pde::LaplaceDownGradientPrewavelet::operator()(), sgpp::pde::PhiPhiDownModLinear::rec(), sgpp::pde::dPhidPhiUpModLinear::rec(), sgpp::pde::PhiPhiUpModLinear::rec(), sgpp::pde::dPhidPhiDownModLinear::rec(), sgpp::pde::PhiPhiDownBBLinear::rec(), sgpp::pde::PhiPhiUpBBLinear::rec(), sgpp::base::DehierarchisationLinear::rec(), sgpp::pde::PhiPhiDownBBLinearStretched::rec(), sgpp::pde::PhiPhiUpBBLinearStretched::rec(), sgpp::base::DehierarchisationLinearStretched::rec(), sgpp::base::DehierarchisationModLinear::rec(), sgpp::base::HierarchisationModLinear::rec(), sgpp::base::HierarchisationLinear::rec(), sgpp::base::HierarchisationLinearStretched::rec(), sgpp::base::DehierarchisationPoly::rec(), sgpp::base::DehierarchisationPolyBoundary::rec(), sgpp::base::HierarchisationPolyBoundary::rec(), sgpp::base::StencilHierarchisationLinear::rec(), sgpp::base::StencilHierarchisationModLinear::rec(), sgpp::base::HierarchisationModPoly::rec(), sgpp::base::StencilDehierarchisationLinear::rec(), sgpp::base::StencilDehierarchisationModLinear::rec(), sgpp::base::DehierarchisationModPoly::rec(), sgpp::base::HierarchisationPoly::rec(), sgpp::base::DehierarchisationLinearClenshawCurtisBoundary::rec(), sgpp::base::DehierarchisationModLinearClenshawCurtis::rec(), sgpp::base::DehierarchisationLinearClenshawCurtis::rec(), sgpp::base::DehierarchisationPolyClenshawCurtis::rec(), sgpp::base::HierarchisationLinearClenshawCurtis::rec(), sgpp::base::HierarchisationModLinearClenshawCurtis::rec(), sgpp::base::HierarchisationLinearClenshawCurtisBoundary::rec(), sgpp::base::DehierarchisationPolyClenshawCurtisBoundary::rec(), sgpp::base::HierarchisationPolyClenshawCurtis::rec(), sgpp::base::HierarchisationModPolyClenshawCurtis::rec(), sgpp::base::DehierarchisationModPolyClenshawCurtis::rec(), sgpp::base::HierarchisationPolyClenshawCurtisBoundary::rec(), sgpp::pde::LaplaceEnhancedUpBBLinear::rec(), sgpp::base::AlgorithmEvaluationTransposed< BASIS >::rec(), sgpp::pde::LaplaceEnhancedDownBBLinear::rec(), sgpp::base::AlgorithmEvaluation< BASIS >::rec(), sgpp::base::GetAffectedBasisFunctions< BASIS >::rec(), sgpp::base::GetAffectedBasisFunctions< LinearBoundaryBasis< unsigned int, unsigned int > >::rec(), sgpp::base::GetAffectedBasisFunctions< LinearPeriodicBasis< unsigned int, unsigned int > >::rec(), sgpp::base::GetAffectedBasisFunctions< PolyBoundaryBasis< unsigned int, unsigned int > >::rec(), sgpp::base::GetAffectedBasisFunctions< PolyClenshawCurtisBoundaryBasis< unsigned int, unsigned int > >::rec(), sgpp::base::GetAffectedBasisFunctions< LinearClenshawCurtisBoundaryBasis< unsigned int, unsigned int > >::rec(), sgpp::pde::LaplaceEnhancedUpBBLinear::rec_GL(), sgpp::pde::LaplaceEnhancedDownBBLinear::rec_GL(), sgpp::pde::LaplaceEnhancedUpBBLinear::rec_grad(), sgpp::pde::LaplaceEnhancedDownBBLinear::rec_grad(), sgpp::pde::LaplaceEnhancedUpBBLinear::rec_LG(), sgpp::pde::LaplaceEnhancedDownBBLinear::rec_LG(), sgpp::pde::LaplaceEnhancedUpBBLinear::rec_LL(), sgpp::pde::LaplaceEnhancedDownBBLinear::rec_LL(), sgpp::pde::PhiPhiUpBBLinear::recBB(), sgpp::pde::PhiPhiDownBBLinear::recBB(), sgpp::pde::LaplaceEnhancedUpBBLinear::recBB(), sgpp::pde::LaplaceEnhancedDownBBLinear::recBB(), sgpp::base::GetAffectedBasisFunctions< LinearBoundaryBasis< unsigned int, unsigned int > >::recBB(), sgpp::base::GetAffectedBasisFunctions< LinearStretchedBoundaryBasis< unsigned int, unsigned int > >::recBB(), sgpp::base::GetAffectedBasisFunctions< PolyBoundaryBasis< unsigned int, unsigned int > >::recBB(), sgpp::base::GetAffectedBasisFunctions< PolyClenshawCurtisBoundaryBasis< unsigned int, unsigned int > >::recBB(), sgpp::base::GetAffectedBasisFunctions< LinearClenshawCurtisBoundaryBasis< unsigned int, unsigned int > >::recBB(), sgpp::pde::LaplaceEnhancedUpBBLinear::recBB_GL(), sgpp::pde::LaplaceEnhancedDownBBLinear::recBB_GL(), sgpp::pde::LaplaceEnhancedUpBBLinear::recBB_grad(), sgpp::pde::LaplaceEnhancedDownBBLinear::recBB_grad(), sgpp::pde::LaplaceEnhancedUpBBLinear::recBB_LG(), sgpp::pde::LaplaceEnhancedDownBBLinear::recBB_LG(), sgpp::pde::LaplaceEnhancedUpBBLinear::recBB_LL(), sgpp::pde::LaplaceEnhancedDownBBLinear::recBB_LL(), sgpp::base::sweep< FUNC >::sweep_Boundary_rec(), and sgpp::base::sweep< FUNC >::sweep_rec().

void sgpp::base::HashGridStorage::operator= ( const HashGridStorage other)

Assignment operator.

References clear(), getSize(), python.statsfileInfo::i, and insert().

HashGridPoint& sgpp::base::HashGridStorage::operator[] ( size_t  seq)
inline

gets the index number for given gridpoint by its sequence number

Parameters
seqthe sequence number of the index
Returns
gridpoint object (pointer)
const HashGridPoint& sgpp::base::HashGridStorage::operator[] ( size_t  seq) const
inline

gets the index number for given gridpoint by its sequence number

Parameters
seqthe sequence number of the index
Returns
gridpoint object (constant pointer)
void sgpp::base::HashGridStorage::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 python.statsfileInfo::i.

Referenced by getPoint(), and sgpp::base::Grid::setAlgorithmicDimensions().

void sgpp::base::HashGridStorage::setBoundingBox ( BoundingBox boundingBox)

sets the bounding box of the current grid

Parameters
boundingBoxbounding box to which the HashGridStorage's pointer is set

Referenced by getPoint(), and sgpp::base::Grid::setBoundingBox().

unsigned int sgpp::base::HashGridStorage::store ( point_pointer  index)
inline

stores a given index in the hashmap

Parameters
indexpointer to index that should be stored
Returns
sequence number

Referenced by getPoint().

std::string sgpp::base::HashGridStorage::toString ( ) const
void sgpp::base::HashGridStorage::toString ( std::ostream &  stream) const
void sgpp::base::HashGridStorage::unserializeNoAlgoDims ( std::string &  istr)

unserializes the grid from a string, algorithmic dimensions are not reseted

Parameters
istrthe string that contains the data

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