SG++-Doxygen-Documentation
Loading...
Searching...
No Matches
sgpp::combigrid::OperationUPFullGrid Class Reference

Operation for applying 1D OperationPole operators on all poles of a full grid in all dimensions via the unidirectional principle (UP). More...

#include <OperationUPFullGrid.hpp>

Public Member Functions

void apply (base::DataVector &values)
 Apply the unidirectional principle in-place.
 
const FullGridgetGrid () const
 
const std::vector< OperationPole * > & getOperationPole () const
 
 OperationUPFullGrid (const FullGrid &grid, const std::vector< OperationPole * > &operationPole)
 Constructor.
 
 OperationUPFullGrid (const FullGrid &grid, const std::vector< std::unique_ptr< OperationPole > > &operationPole)
 Constructor.
 
 OperationUPFullGrid (const FullGrid &grid, OperationPole &operationPole)
 Constructor for the special case where the same OperationPole should be used for all dimensions.
 
void setGrid (const FullGrid &grid)
 
void setOperationPole (const std::vector< OperationPole * > &operationPole)
 

Protected Attributes

FullGrid grid
 full grid
 
std::vector< OperationPole * > operationPole
 vector of pointers to 1D pole operators (do not delete before this object)
 

Detailed Description

Operation for applying 1D OperationPole operators on all poles of a full grid in all dimensions via the unidirectional principle (UP).

Constructor & Destructor Documentation

◆ OperationUPFullGrid() [1/3]

sgpp::combigrid::OperationUPFullGrid::OperationUPFullGrid ( const FullGrid grid,
const std::vector< std::unique_ptr< OperationPole > > &  operationPole 
)

Constructor.

Parameters
gridfull grid
operationPolevector of unique_ptr to 1D pole operators (do not destruct before this object)

References operationPole.

◆ OperationUPFullGrid() [2/3]

sgpp::combigrid::OperationUPFullGrid::OperationUPFullGrid ( const FullGrid grid,
const std::vector< OperationPole * > &  operationPole 
)

Constructor.

Parameters
gridfull grid
operationPolevector of pointers to 1D pole operators (do not delete before this object)

◆ OperationUPFullGrid() [3/3]

sgpp::combigrid::OperationUPFullGrid::OperationUPFullGrid ( const FullGrid grid,
OperationPole operationPole 
)

Constructor for the special case where the same OperationPole should be used for all dimensions.

Parameters
gridfull grid
operationPole1D pole operator (do not destruct before this object)

Member Function Documentation

◆ apply()

◆ getGrid()

◆ getOperationPole()

const std::vector< OperationPole * > & sgpp::combigrid::OperationUPFullGrid::getOperationPole ( ) const
Returns
vector of pointers to 1D pole operators (do not delete before this object)

References operationPole.

◆ setGrid()

void sgpp::combigrid::OperationUPFullGrid::setGrid ( const FullGrid grid)

◆ setOperationPole()

void sgpp::combigrid::OperationUPFullGrid::setOperationPole ( const std::vector< OperationPole * > &  operationPole)
Parameters
operationPolevector of pointers to 1D pole operators (do not delete before this object)

References operationPole.

Member Data Documentation

◆ grid

FullGrid sgpp::combigrid::OperationUPFullGrid::grid
protected

full grid

Referenced by python.uq.dists.SGDEdist.SGDEdist::__str__(), apply(), 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(), getGrid(), 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(), 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(), setGrid(), 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().

◆ operationPole

std::vector<OperationPole*> sgpp::combigrid::OperationUPFullGrid::operationPole
protected

vector of pointers to 1D pole operators (do not delete before this object)

Referenced by apply(), getOperationPole(), OperationUPFullGrid(), and setOperationPole().


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