SG++-Doxygen-Documentation
Loading...
Searching...
No Matches
sgpp::base::HierarchisationFundamentalSplineBoundary Class Reference

Functor for hierarchization with fundamental splines via BreadthFirstSearch. More...

#include <HierarchisationFundamentalSplineBoundary.hpp>

Public Member Functions

 HierarchisationFundamentalSplineBoundary (FundamentalSplineBoundaryGrid *grid)
 Constructor.
 
void operator() (const DataMatrix &source, DataMatrix &result, const grid_iterator &iterator)
 Functor operator.
 
void operator() (const DataVector &source, DataVector &result, const grid_iterator &iterator)
 Functor operator.
 
virtual ~HierarchisationFundamentalSplineBoundary ()
 Destructor.
 

Protected Types

typedef GridStorage::grid_iterator grid_iterator
 grid iterator
 

Protected Attributes

FundamentalSplineBoundaryGridgrid
 grid
 
GridStoragestorage
 grid storage
 

Detailed Description

Functor for hierarchization with fundamental splines via BreadthFirstSearch.

Member Typedef Documentation

◆ grid_iterator

Constructor & Destructor Documentation

◆ HierarchisationFundamentalSplineBoundary()

sgpp::base::HierarchisationFundamentalSplineBoundary::HierarchisationFundamentalSplineBoundary ( FundamentalSplineBoundaryGrid grid)
explicit

Constructor.

Parameters
gridgrid

◆ ~HierarchisationFundamentalSplineBoundary()

sgpp::base::HierarchisationFundamentalSplineBoundary::~HierarchisationFundamentalSplineBoundary ( )
virtual

Destructor.

Member Function Documentation

◆ operator()() [1/2]

void sgpp::base::HierarchisationFundamentalSplineBoundary::operator() ( const DataMatrix source,
DataMatrix result,
const grid_iterator iterator 
)

Functor operator.

For each grid point, subtract the value of basis function at the given iterator from the row in result corresponding to the grid point.

Parameters
[in]sourcenode values
[out]resultresult of the functor
iteratorcurrent grid point

References sgpp::base::FundamentalSplineBasis< LT, IT >::eval(), sgpp::base::HashGridIterator::get(), sgpp::base::DataMatrix::get(), sgpp::base::FundamentalSplineBoundaryGrid::getDegree(), sgpp::base::HashGridStorage::getDimension(), sgpp::base::DataMatrix::getNcols(), sgpp::base::HashGridStorage::getSize(), grid, sgpp::base::HashGridIterator::seq(), sgpp::base::DataMatrix::set(), and storage.

◆ operator()() [2/2]

void sgpp::base::HierarchisationFundamentalSplineBoundary::operator() ( const DataVector source,
DataVector result,
const grid_iterator iterator 
)

Functor operator.

For each grid point, subtract the value of basis function at the given iterator from the entry in result corresponding to the grid point.

Parameters
[in]sourcenode values
[out]resultresult of the functor
iteratorcurrent grid point

References sgpp::base::FundamentalSplineBasis< LT, IT >::eval(), sgpp::base::HashGridIterator::get(), sgpp::base::FundamentalSplineBoundaryGrid::getDegree(), sgpp::base::HashGridStorage::getDimension(), sgpp::base::HashGridStorage::getSize(), grid, sgpp::base::HashGridIterator::seq(), and storage.

Member Data Documentation

◆ grid

FundamentalSplineBoundaryGrid* sgpp::base::HierarchisationFundamentalSplineBoundary::grid
protected

grid

Referenced by python.uq.dists.SGDEdist.SGDEdist::__str__(), python.learner.Learner.Learner::applyData(), python.tools.Matrix::ApplyMatrix(), python.uq.dists.SGDEdist.SGDEdist::cdf(), python.uq.learner.Interpolant.Interpolant::doLearningIteration(), python.learner.Learner.Learner::doLearningIteration(), python.learner.Classifier.Classifier::evalError(), python.uq.learner.Interpolant.Interpolant::evalError(), python.tools.Matrix::generateb(), python.controller.CheckpointController.CheckpointController::generateFoldValidationJob(), python.uq.learner.SimulationLearner.SimulationLearner::getCollocationNodes(), python.uq.learner.SimulationLearner.SimulationLearner::getGrid(), python.uq.learner.SimulationLearner.SimulationLearner::getLearner(), python.learner.Learner.Learner::learnData(), python.learner.Learner.Learner::learnDataWithFolding(), python.uq.learner.Regressor.Regressor::learnDataWithFolding(), python.learner.Learner.Learner::learnDataWithTest(), python.uq.learner.Regressor.Regressor::learnDataWithTest(), python.controller.CheckpointController.CheckpointController::loadAll(), python.uq.operations.forcePositivity.operationMakePositive.OperationMakePositive::makePositive(), python.uq.operations.forcePositivity.operationMakePositiveFast.OperationMakePositiveFast::makePositive(), python.uq.dists.SGDEdist.SGDEdist::mean(), operator()(), operator()(), python.uq.dists.SGDEdist.SGDEdist::pdf(), python.uq.dists.SGDEdist.SGDEdist::ppf(), python.learner.Classifier.Classifier::refineGrid(), python.learner.Regressor.Regressor::refineGrid(), python.uq.learner.Regressor.Regressor::refineGrid(), python.uq.learner.SimulationLearner.SimulationLearner::refineGrid(), python.controller.CheckpointController.CheckpointController::saveGrid(), python.controller.CheckpointController.CheckpointController::setGrid(), python.learner.Learner.Learner::setGrid(), python.uq.learner.Learner.Learner::setGrid(), python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGrid::split(), python.uq.dists.SGDEdist.SGDEdist::toJson(), and python.uq.dists.SGDEdist.SGDEdist::var().

◆ storage

GridStorage& sgpp::base::HierarchisationFundamentalSplineBoundary::storage
protected

grid storage

Referenced by operator()(), and operator()().


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