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

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

#include <HierarchisationFundamentalSpline.hpp>

Public Member Functions

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

Protected Types

typedef GridStorage::grid_iterator grid_iterator
 grid iterator More...
 

Protected Attributes

FundamentalSplineGridgrid
 grid More...
 
GridStoragestorage
 grid storage More...
 

Detailed Description

Functor for hierarchization with fundamental splines via BreadthFirstSearch.

Member Typedef Documentation

Constructor & Destructor Documentation

sgpp::base::HierarchisationFundamentalSpline::HierarchisationFundamentalSpline ( FundamentalSplineGrid grid)
explicit

Constructor.

Parameters
gridgrid
sgpp::base::HierarchisationFundamentalSpline::~HierarchisationFundamentalSpline ( )
virtual

Destructor.

Member Function Documentation

void sgpp::base::HierarchisationFundamentalSpline::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::HashGridPoint::get(), sgpp::base::HashGridIterator::get(), sgpp::base::FundamentalSplineGrid::getDegree(), sgpp::base::HashGridStorage::getDimension(), sgpp::base::HashGridStorage::getSize(), sgpp::base::HashGridPoint::getStandardCoordinate(), grid, python.statsfileInfo::i, python.utils.statsfile2gnuplot::j, chess::point, sgpp::base::HashGridIterator::seq(), and storage.

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

Member Data Documentation

FundamentalSplineGrid* sgpp::base::HierarchisationFundamentalSpline::grid
protected

grid

Referenced by python.learner.Learner.Learner::applyData(), 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.controller.CheckpointController.CheckpointController::generateFoldValidationJob(), python.uq.learner.SimulationLearner.SimulationLearner::getGrid(), python.uq.learner.Regressor.Regressor::learnData(), python.learner.Learner.Learner::learnData(), python.uq.learner.Regressor.Regressor::learnDataWithFolding(), python.learner.Learner.Learner::learnDataWithFolding(), python.uq.learner.Regressor.Regressor::learnDataWithTest(), python.learner.Learner.Learner::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()(), python.uq.dists.SGDEdist.SGDEdist::pdf(), python.uq.dists.SGDEdist.SGDEdist::ppf(), python.controller.CheckpointController.CheckpointController::setGrid(), python.uq.learner.Learner.Learner::setGrid(), python.learner.Learner.Learner::setGrid(), python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGrid::split(), python.uq.dists.SGDEdist.SGDEdist::toJson(), and python.uq.dists.SGDEdist.SGDEdist::var().

GridStorage& sgpp::base::HierarchisationFundamentalSpline::storage
protected

grid storage

Referenced by operator()().


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