SG++-Doxygen-Documentation
|
This class implements the boundaries of the sparse grid. More...
#include <BoundingBox.hpp>
Public Member Functions | |
BoundingBox (size_t dimension) | |
Constructor for BoundingBox. More... | |
BoundingBox (const std::vector< BoundingBox1D > &boundingBox1Ds) | |
Constructor for BoundingBox. More... | |
const BoundingBox1D & | getBoundary (size_t d) const |
Returns the left and right boundary for a specific dimension. More... | |
size_t | getDimension () const |
Returns the number of dimensions of this bounding box. More... | |
double | getIntervalOffset (size_t d) const |
Returns the offset in positive x-direction of the interval in one dimension. More... | |
double | getIntervalWidth (size_t d) const |
Calculates the width of the interval in one dimension. More... | |
bool | hasDirichletBoundaryLeft (size_t d) const |
Determines if the interval in the specified dimension has left Dirichlet boundary conditions. More... | |
bool | hasDirichletBoundaryRight (size_t d) const |
Determines if the interval in the specified dimension has right Dirichlet boundary conditions. More... | |
bool | isContainingPoint (DataVector &point) const |
Check whether the BoundingBox contains a given point. More... | |
bool | isContainingPoint (size_t d, double point) const |
Check whether the BoundingBox contains a given point in a specific dimension. More... | |
bool | isUnitCube () const |
Determine if this bounding box describes the unit cube \([0, 1]^d\). More... | |
virtual std::string | serialize (int version=SERIALIZATION_VERSION) const |
Serialize the BoundingBox into a string. More... | |
virtual void | serialize (std::ostream &ostream, int version=SERIALIZATION_VERSION) const |
Serialize the BoundingBox into a stream. More... | |
void | setBoundary (size_t d, const BoundingBox1D &boundingBox1D) |
Sets left and right boundary for a specific dimension. More... | |
void | toString (std::string &text) const |
Converts the BoundingBox to a string. More... | |
std::string | toString () const |
Converts the BoundingBox to a string. More... | |
void | transformPointsToBoundingBox (DataMatrix &points) const |
Transform points in the unit cube \([0, 1]^d\) to points in the BoundingBox. More... | |
void | transformPointsToUnitCube (DataMatrix &points) const |
Transform points in the BoundingBox to points in the unit cube \([0, 1]^d\). More... | |
void | transformPointToBoundingBox (DataVector &point) const |
Transform a point in the unit cube \([0, 1]^d\) to a point in the BoundingBox. More... | |
double | transformPointToBoundingBox (size_t d, double point) const |
Transform a point in the unit interval \([0, 1]\) to a point in the BoundingBox in 1D. More... | |
void | transformPointToUnitCube (DataVector &point) const |
Transform a point in the BoundingBox to a point in the unit cube \([0, 1]^d\). More... | |
double | transformPointToUnitCube (size_t d, double point) const |
Transform a point in the BoundingBox to a point in the unit interval \([0, 1]\) in 1D. More... | |
virtual void | unserialize (const std::string &istr, int version) |
Unserialize from a string. More... | |
virtual void | unserialize (std::istream &istr, int version) |
Unserialize from a stream. More... | |
virtual | ~BoundingBox () |
Destructor. More... | |
Protected Attributes | |
std::vector< BoundingBox1D > | boundingBox1Ds |
Array that contains all left boundaries for all dimensions. More... | |
size_t | dimension |
the number of dimensions used with the grid More... | |
This class implements the boundaries of the sparse grid.
Internally the grid is set up on a trivial cube.
This class gives the class gives the opportunity to stretch this cube in every dimension separately.
|
explicit |
Constructor for BoundingBox.
initializes the Bounding with a N-d trivial cube
dimension | number of the dimensions used with the grid |
|
explicit |
Constructor for BoundingBox.
initializes the Bounding with specific values for all dimensions
boundingBox1Ds | array that contains all boundaries |
|
virtual |
Destructor.
|
inline |
Returns the left and right boundary for a specific dimension.
d | the dimension in which the boundary should be read |
Referenced by sgpp::base::OperationEvalModLinear::eval(), sgpp::pde::PoissonEquationSolver::initGridWithExpHeat(), sgpp::pde::PoissonEquationSolver::initGridWithExpHeatFullDomain(), sgpp::pde::PoissonEquationSolver::initGridWithSmoothHeat(), sgpp::base::GridPrinterForStretching::printGrid(), sgpp::base::GridPrinter::printGrid(), sgpp::base::GridPrinter::printGridDomain(), sgpp::base::GridPrinterForStretching::printGridDomainStretching(), sgpp::base::GetAffectedBasisFunctions< LinearStretchedBoundaryBasis< unsigned int, unsigned int > >::recBB(), sgpp::base::EvalCuboidGenerator::~EvalCuboidGenerator(), and sgpp::base::EvalCuboidGeneratorForStretching::~EvalCuboidGeneratorForStretching().
size_t sgpp::base::BoundingBox::getDimension | ( | ) | const |
Returns the number of dimensions of this bounding box.
References dimension.
Referenced by sgpp::pde::PoissonEquationSolver::constructGrid(), sgpp::pde::HeatEquationSolver::constructGrid(), sgpp::pde::HeatEquationSolverWithStretching::constructGrid(), sgpp::base::OperationEvalModLinear::eval(), sgpp::base::EvalCuboidGenerator::getEvaluationCuboid(), and sgpp::base::EvalCuboidGeneratorForStretching::getEvaluationCuboid().
|
inline |
Returns the offset in positive x-direction of the interval in one dimension.
d | dimension in which the offset of the interval should be determined |
Referenced by sgpp::base::HashGridStorage::getCoordinate(), sgpp::pde::PhiPhiUpBBLinearBoundary::operator()(), sgpp::pde::PhiPhiDownBBLinear::operator()(), sgpp::pde::PhiPhiUpBBLinear::operator()(), sgpp::pde::PhiPhiDownBBLinearBoundary::operator()(), sgpp::pde::LaplaceEnhancedDownBBLinearBoundary::operator()(), sgpp::pde::LaplaceEnhancedUpBBLinearBoundary::operator()(), sgpp::pde::LaplaceEnhancedUpBBLinear::operator()(), sgpp::pde::LaplaceEnhancedDownBBLinear::operator()(), sgpp::base::GetAffectedBasisFunctions< LinearBoundaryBasis< unsigned int, unsigned int > >::recBB(), sgpp::base::GetAffectedBasisFunctions< PolyBoundaryBasis< unsigned int, unsigned int > >::recBB(), sgpp::base::GetAffectedBasisFunctions< PolyClenshawCurtisBoundaryBasis< unsigned int, unsigned int > >::recBB(), and sgpp::base::GetAffectedBasisFunctions< LinearClenshawCurtisBoundaryBasis< unsigned int, unsigned int > >::recBB().
|
inline |
Calculates the width of the interval in one dimension.
d | the dimension in which the width of the interval should be determined |
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::OperationQuadratureFundamentalSpline::doQuadrature(), sgpp::base::OperationQuadratureBsplineBoundary::doQuadrature(), sgpp::base::OperationQuadratureBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationQuadratureLinearBoundary::doQuadrature(), sgpp::base::OperationQuadratureModBsplineClenshawCurtis::doQuadrature(), sgpp::base::OperationQuadratureModBspline::doQuadrature(), sgpp::base::OperationQuadratureModFundamentalSpline::doQuadrature(), sgpp::base::OperationQuadraturePolyBoundary::doQuadrature(), sgpp::base::OperationQuadratureBspline::doQuadrature(), sgpp::base::OperationQuadratureModPoly::doQuadrature(), sgpp::base::OperationQuadraturePoly::doQuadrature(), sgpp::base::OperationQuadratureMC::doQuadrature(), sgpp::base::OperationQuadratureMC::doQuadratureFunc(), sgpp::base::OperationQuadratureMC::doQuadratureL2Error(), sgpp::base::OperationEvalGradientWaveletNaive::evalGradient(), sgpp::base::OperationEvalGradientModWaveletNaive::evalGradient(), sgpp::base::OperationEvalGradientWaveletBoundaryNaive::evalGradient(), sgpp::base::OperationEvalGradientBsplineNaive::evalGradient(), sgpp::base::OperationEvalGradientFundamentalSplineNaive::evalGradient(), sgpp::base::OperationEvalGradientBsplineBoundaryNaive::evalGradient(), sgpp::base::OperationEvalGradientModBsplineNaive::evalGradient(), sgpp::base::OperationEvalGradientModBsplineClenshawCurtisNaive::evalGradient(), sgpp::base::OperationEvalGradientBsplineClenshawCurtisNaive::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::OperationEvalPartialDerivativeWaveletNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeModWaveletNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeWaveletBoundaryNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeModFundamentalSplineNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeBsplineNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeBsplineBoundaryNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeBsplineClenshawCurtisNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeFundamentalSplineNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeModBsplineNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeModBsplineClenshawCurtisNaive::evalPartialDerivative(), sgpp::base::HashGridStorage::getCoordinate(), sgpp::pde::PhiPhiDownBBLinear::operator()(), sgpp::pde::PhiPhiUpBBLinear::operator()(), sgpp::pde::PhiPhiUpBBLinearBoundary::operator()(), sgpp::pde::PhiPhiUpBBLinearStretchedBoundary::operator()(), sgpp::pde::PhiPhiDownBBLinearStretchedBoundary::operator()(), sgpp::pde::PhiPhiDownBBLinearBoundary::operator()(), sgpp::pde::DowndPhidPhiBBIterativeLinear::operator()(), sgpp::pde::DowndPhidPhiBBIterativeLinearBoundary::operator()(), sgpp::pde::UpdPhidPhiBBIterativeLinearBoundary::operator()(), sgpp::pde::UpdPhidPhiBBIterativeLinearStretchedBoundary::operator()(), sgpp::pde::DowndPhidPhiBBIterativeLinearStretchedBoundary::operator()(), sgpp::pde::LaplaceEnhancedDownBBLinearBoundary::operator()(), sgpp::pde::LaplaceEnhancedUpBBLinearBoundary::operator()(), sgpp::pde::LaplaceEnhancedUpBBLinear::operator()(), sgpp::pde::LaplaceEnhancedDownBBLinear::operator()(), sgpp::base::GetAffectedBasisFunctions< LinearBoundaryBasis< unsigned int, unsigned int > >::recBB(), sgpp::base::GetAffectedBasisFunctions< PolyBoundaryBasis< unsigned int, unsigned int > >::recBB(), sgpp::base::GetAffectedBasisFunctions< PolyClenshawCurtisBoundaryBasis< unsigned int, unsigned int > >::recBB(), and sgpp::base::GetAffectedBasisFunctions< LinearClenshawCurtisBoundaryBasis< unsigned int, unsigned int > >::recBB().
bool sgpp::base::BoundingBox::hasDirichletBoundaryLeft | ( | size_t | d | ) | const |
Determines if the interval in the specified dimension has left Dirichlet boundary conditions.
d | the dimension for which the left boundary condition should be determined |
References boundingBox1Ds.
Referenced by sgpp::pde::PhiPhiUpBBLinearBoundary::operator()(), sgpp::pde::PhiPhiUpBBLinearStretchedBoundary::operator()(), sgpp::pde::PhiPhiDownBBLinearBoundary::operator()(), sgpp::pde::PhiPhiDownBBLinearStretchedBoundary::operator()(), sgpp::pde::DowndPhidPhiBBIterativeLinearStretchedBoundary::operator()(), sgpp::pde::UpdPhidPhiBBIterativeLinearStretchedBoundary::operator()(), sgpp::pde::DowndPhidPhiBBIterativeLinearBoundary::operator()(), sgpp::pde::UpdPhidPhiBBIterativeLinearBoundary::operator()(), sgpp::pde::LaplaceEnhancedUpBBLinearBoundary::operator()(), and sgpp::pde::LaplaceEnhancedDownBBLinearBoundary::operator()().
bool sgpp::base::BoundingBox::hasDirichletBoundaryRight | ( | size_t | d | ) | const |
Determines if the interval in the specified dimension has right Dirichlet boundary conditions.
d | the dimension for which the right boundary condition should be determined |
References boundingBox1Ds.
Referenced by sgpp::pde::PhiPhiUpBBLinearBoundary::operator()(), sgpp::pde::PhiPhiUpBBLinearStretchedBoundary::operator()(), sgpp::pde::PhiPhiDownBBLinearBoundary::operator()(), sgpp::pde::PhiPhiDownBBLinearStretchedBoundary::operator()(), sgpp::pde::DowndPhidPhiBBIterativeLinearBoundary::operator()(), sgpp::pde::DowndPhidPhiBBIterativeLinearStretchedBoundary::operator()(), sgpp::pde::LaplaceEnhancedDownBBLinearBoundary::operator()(), and sgpp::pde::LaplaceEnhancedUpBBLinearBoundary::operator()().
|
inline |
Check whether the BoundingBox contains a given point.
point | point to be checked |
Referenced by sgpp::base::AlgorithmEvaluationTransposed< BASIS >::operator()(), and sgpp::base::AlgorithmEvaluation< BASIS >::operator()().
|
inline |
Check whether the BoundingBox contains a given point in a specific dimension.
d | dimension to be checked |
point | 1D point to be checked |
References sgpp::base::BoundingBox1D::leftBoundary, and SERIALIZATION_VERSION.
bool sgpp::base::BoundingBox::isUnitCube | ( | ) | const |
Determine if this bounding box describes the unit cube \([0, 1]^d\).
References boundingBox1Ds, and dimension.
|
virtual |
Serialize the BoundingBox into a string.
version | the serialization version of the file |
Reimplemented in sgpp::base::Stretching.
Referenced by sgpp::base::HashGridStorage::serialize(), sgpp::base::Stretching::serialize(), python.utils.GzipSerializer.GzipSerializer::serializeToFile(), python.learner.formatter.LearnerFormatter.LearnerFormatter::serializeToFile(), python.learner.formatter.LearnedKnowledgeFormatter.LearnedKnowledgeFormatter::serializeToFile(), python.learner.formatter.GridFormatter.GridFormatter::serializeToFile(), python.uq.analysis.asgc.ASGCKnowledgeFormatter.ASGCKnowledgeFormatter::serializeToFile(), python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter::serializeToFile(), and python.uq.uq_setting.UQSettingFormatter.UQSettingFormatter::serializeToFile().
|
virtual |
Serialize the BoundingBox into a stream.
ostream | reference to a stream into that all BoundingBox information is written |
version | the serialization version of the file |
Reimplemented in sgpp::base::Stretching.
References sgpp::base::BoundingBox1D::bDirichletLeft, sgpp::base::BoundingBox1D::bDirichletRight, boundingBox1Ds, dimension, sgpp::base::BoundingBox1D::leftBoundary, and sgpp::base::BoundingBox1D::rightBoundary.
Referenced by python.utils.GzipSerializer.GzipSerializer::serializeToFile(), python.learner.formatter.LearnerFormatter.LearnerFormatter::serializeToFile(), python.learner.formatter.LearnedKnowledgeFormatter.LearnedKnowledgeFormatter::serializeToFile(), python.learner.formatter.GridFormatter.GridFormatter::serializeToFile(), python.uq.analysis.asgc.ASGCKnowledgeFormatter.ASGCKnowledgeFormatter::serializeToFile(), python.uq.sampler.asgc.ASGCSamplerFormatter.ASGCSamplerFormatter::serializeToFile(), and python.uq.uq_setting.UQSettingFormatter.UQSettingFormatter::serializeToFile().
void sgpp::base::BoundingBox::setBoundary | ( | size_t | d, |
const BoundingBox1D & | boundingBox1D | ||
) |
Sets left and right boundary for a specific dimension.
d | the dimension in which the boundary should be changed |
boundingBox1D | reference to a BoundingBox1D object that contains the new boundaries |
References boundingBox1Ds.
Referenced by sgpp::base::HashGridStorage::getLevelIndexMaskArraysForModEval().
void sgpp::base::BoundingBox::toString | ( | std::string & | text | ) | const |
Converts the BoundingBox to a string.
text | string to which the data is written |
References boundingBox1Ds, and dimension.
Referenced by python.controller.LearnerEventController.LearnerEventController::__repr__(), python.controller.SolverEventController.SolverEventController::__repr__(), python.uq.learner.Learner.Learner::createMemento(), python.learner.Learner.Learner::createMemento(), and python.learner.formatter.GridFormatter.GridFormatter::serialize().
std::string sgpp::base::BoundingBox::toString | ( | ) | const |
Converts the BoundingBox to a string.
Referenced by python.controller.LearnerEventController.LearnerEventController::__repr__(), python.controller.SolverEventController.SolverEventController::__repr__(), python.uq.learner.Learner.Learner::createMemento(), python.learner.Learner.Learner::createMemento(), and python.learner.formatter.GridFormatter.GridFormatter::serialize().
|
inline |
Transform points in the unit cube \([0, 1]^d\) to points in the BoundingBox.
[in,out] | points | points to be transformed in-place |
References sgpp::base::DataMatrix::getNrows(), python.statsfileInfo::i, and python.leja::points.
|
inline |
Transform points in the BoundingBox to points in the unit cube \([0, 1]^d\).
[in,out] | points | points to be transformed in-place (row-wise) |
References sgpp::base::DataMatrix::getNrows(), python.statsfileInfo::i, and python.leja::points.
Referenced by sgpp::base::OperationMultipleEvalBsplineBoundaryNaive::mult(), sgpp::base::OperationMultipleEvalLinearClenshawCurtisBoundaryNaive::mult(), sgpp::base::OperationMultipleEvalModLinearClenshawCurtisNaive::mult(), sgpp::base::OperationMultipleEvalLinearClenshawCurtisNaive::mult(), sgpp::base::OperationMultipleEvalModPolyClenshawCurtisNaive::mult(), sgpp::base::OperationMultipleEvalPolyBoundaryNaive::mult(), sgpp::base::OperationMultipleEvalBsplineClenshawCurtisNaive::mult(), sgpp::base::OperationMultipleEvalLinearNaive::mult(), sgpp::base::OperationMultipleEvalPolyClenshawCurtisNaive::mult(), sgpp::base::OperationMultipleEvalLinearBoundaryNaive::mult(), sgpp::base::OperationMultipleEvalPolyNaive::mult(), sgpp::base::OperationMultipleEvalModBsplineClenshawCurtisNaive::mult(), sgpp::base::OperationMultipleEvalModBsplineNaive::mult(), sgpp::base::OperationMultipleEvalBsplineNaive::mult(), sgpp::base::OperationMultipleEvalPolyClenshawCurtisBoundaryNaive::mult(), sgpp::base::OperationMultipleEvalPolyNaive::multTranspose(), sgpp::base::OperationMultipleEvalModPolyClenshawCurtisNaive::multTranspose(), sgpp::base::OperationMultipleEvalBsplineBoundaryNaive::multTranspose(), sgpp::base::OperationMultipleEvalModBsplineClenshawCurtisNaive::multTranspose(), sgpp::base::OperationMultipleEvalLinearBoundaryNaive::multTranspose(), sgpp::base::OperationMultipleEvalPolyClenshawCurtisNaive::multTranspose(), sgpp::base::OperationMultipleEvalLinearNaive::multTranspose(), sgpp::base::OperationMultipleEvalBsplineClenshawCurtisNaive::multTranspose(), sgpp::base::OperationMultipleEvalLinearClenshawCurtisNaive::multTranspose(), sgpp::base::OperationMultipleEvalLinearClenshawCurtisBoundaryNaive::multTranspose(), sgpp::base::OperationMultipleEvalPolyBoundaryNaive::multTranspose(), sgpp::base::OperationMultipleEvalModLinearClenshawCurtisNaive::multTranspose(), sgpp::base::OperationMultipleEvalBsplineNaive::multTranspose(), sgpp::base::OperationMultipleEvalModBsplineNaive::multTranspose(), and sgpp::base::OperationMultipleEvalPolyClenshawCurtisBoundaryNaive::multTranspose().
|
inline |
Transform a point in the unit cube \([0, 1]^d\) to a point in the BoundingBox.
[in,out] | point | point to be transformed in-place |
Referenced by sgpp::base::OperationQuadratureMC::doQuadrature(), sgpp::base::OperationQuadratureMC::doQuadratureFunc(), and sgpp::base::OperationQuadratureMC::doQuadratureL2Error().
|
inline |
Transform a point in the unit interval \([0, 1]\) to a point in the BoundingBox in 1D.
d | dimension |
point | 1D point in unit interval |
References chess::point.
|
inline |
Transform a point in the BoundingBox to a point in the unit cube \([0, 1]^d\).
[in,out] | point | point to be transformed in-place |
Referenced by sgpp::base::OperationEvalLinearClenshawCurtisNaive::eval(), sgpp::base::OperationEvalModLinearClenshawCurtisNaive::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::OperationEvalModLinearNaive::eval(), sgpp::base::OperationEvalLinearBoundaryNaive::eval(), sgpp::base::OperationEvalLinearNaive::eval(), sgpp::base::OperationEvalWaveletBoundaryNaive::eval(), sgpp::base::OperationEvalModWaveletNaive::eval(), sgpp::base::OperationEvalNakBsplineBoundaryCombigridNaive::eval(), sgpp::base::OperationEvalWaveletNaive::eval(), sgpp::base::OperationEvalModBsplineNaive::eval(), sgpp::base::OperationEvalModFundamentalSplineNaive::eval(), sgpp::base::OperationEvalBsplineClenshawCurtisNaive::eval(), sgpp::base::OperationEvalFundamentalSplineNaive::eval(), sgpp::base::OperationEvalBsplineBoundaryNaive::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::OperationEvalGradientModFundamentalSplineNaive::evalGradient(), sgpp::base::OperationEvalGradientModBsplineClenshawCurtisNaive::evalGradient(), sgpp::base::OperationEvalHessianWaveletNaive::evalHessian(), sgpp::base::OperationEvalHessianModWaveletNaive::evalHessian(), sgpp::base::OperationEvalHessianWaveletBoundaryNaive::evalHessian(), sgpp::base::OperationEvalHessianBsplineNaive::evalHessian(), sgpp::base::OperationEvalHessianModBsplineNaive::evalHessian(), sgpp::base::OperationEvalHessianModFundamentalSplineNaive::evalHessian(), sgpp::base::OperationEvalHessianBsplineBoundaryNaive::evalHessian(), sgpp::base::OperationEvalHessianFundamentalSplineNaive::evalHessian(), sgpp::base::OperationEvalHessianBsplineClenshawCurtisNaive::evalHessian(), sgpp::base::OperationEvalHessianModBsplineClenshawCurtisNaive::evalHessian(), sgpp::base::OperationEvalPartialDerivativeModWaveletNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeWaveletNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeWaveletBoundaryNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeModBsplineNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeBsplineNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeBsplineBoundaryNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeFundamentalSplineNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeBsplineClenshawCurtisNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeModFundamentalSplineNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeModBsplineClenshawCurtisNaive::evalPartialDerivative(), sgpp::base::HashGridStorage::getUnitCoordinate(), sgpp::base::AlgorithmEvaluationTransposed< BASIS >::operator()(), and sgpp::base::AlgorithmEvaluation< BASIS >::operator()().
|
inline |
Transform a point in the BoundingBox to a point in the unit interval \([0, 1]\) in 1D.
d | dimension |
point | 1D point in the BoundingBox |
|
virtual |
Unserialize from a string.
istr | string which contains a serialized BoundingBox |
version | the serialization version of the file |
Referenced by sgpp::base::HashGridStorage::getLevelIndexMaskArraysForModEval(), and sgpp::base::Stretching::unserialize().
|
virtual |
Unserialize from a stream.
istr | stream which contains a serialized BoundingBox |
version | the serialization version of the file |
References sgpp::base::BoundingBox1D::bDirichletLeft, sgpp::base::BoundingBox1D::bDirichletRight, boundingBox1Ds, dimension, sgpp::base::BoundingBox1D::leftBoundary, and sgpp::base::BoundingBox1D::rightBoundary.
|
protected |
Array that contains all left boundaries for all dimensions.
Referenced by sgpp::base::Stretching::getDiscreteVector(), hasDirichletBoundaryLeft(), hasDirichletBoundaryRight(), isUnitCube(), serialize(), setBoundary(), sgpp::base::Stretching::Stretching(), toString(), unserialize(), sgpp::base::Stretching::unserialize(), and sgpp::base::Stretching::~Stretching().
|
protected |
the number of dimensions used with the grid
Referenced by getDimension(), sgpp::base::Stretching::getDiscreteVector(), isUnitCube(), sgpp::base::Stretching::printLookupTable(), serialize(), sgpp::base::Stretching::serialize(), sgpp::base::Stretching::Stretching(), toString(), unserialize(), sgpp::base::Stretching::unserialize(), and sgpp::base::Stretching::~Stretching().