![]() |
SG++-Doxygen-Documentation
|
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 FullGrid & | getGrid () 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) | |
Operation for applying 1D OperationPole operators on all poles of a full grid in all dimensions via the unidirectional principle (UP).
sgpp::combigrid::OperationUPFullGrid::OperationUPFullGrid | ( | const FullGrid & | grid, |
const std::vector< std::unique_ptr< OperationPole > > & | operationPole | ||
) |
Constructor.
grid | full grid |
operationPole | vector of unique_ptr to 1D pole operators (do not destruct before this object) |
References operationPole.
sgpp::combigrid::OperationUPFullGrid::OperationUPFullGrid | ( | const FullGrid & | grid, |
const std::vector< OperationPole * > & | operationPole | ||
) |
Constructor.
grid | full grid |
operationPole | vector of pointers to 1D pole operators (do not delete before this object) |
sgpp::combigrid::OperationUPFullGrid::OperationUPFullGrid | ( | const FullGrid & | grid, |
OperationPole & | operationPole | ||
) |
Constructor for the special case where the same OperationPole should be used for all dimensions.
grid | full grid |
operationPole | 1D pole operator (do not destruct before this object) |
void sgpp::combigrid::OperationUPFullGrid::apply | ( | base::DataVector & | values | ) |
Apply the unidirectional principle in-place.
[in,out] | values | data vector, same size as the number of grid points of the full grid (the order is given by IndexVectorRange) |
References sgpp::combigrid::IndexVectorRange::find(), sgpp::combigrid::FullGrid::getBasis(), sgpp::combigrid::FullGrid::getDimension(), sgpp::combigrid::FullGrid::getLevel(), sgpp::combigrid::FullGrid::getMinIndex(), sgpp::combigrid::FullGrid::getNumberOfIndexVectors(), grid, sgpp::combigrid::FullGrid::hasBoundary(), level, operationPole, and sgpp::combigrid::IndexVectorRange::setGrid().
Referenced by sgpp::combigrid::OperationUPCombinationGrid::apply().
const FullGrid & sgpp::combigrid::OperationUPFullGrid::getGrid | ( | ) | const |
References grid.
Referenced by python.uq.analysis.asgc.ASGCKnowledge.ASGCKnowledge::getSparseGridFunction(), python.uq.learner.SimulationLearner.SimulationLearner::learnData(), python.uq.learner.SimulationLearner.SimulationLearner::learnDataWithFolding(), python.uq.learner.SimulationLearner.SimulationLearner::learnDataWithTest(), and python.uq.learner.SimulationLearner.SimulationLearner::refineGrid().
const std::vector< OperationPole * > & sgpp::combigrid::OperationUPFullGrid::getOperationPole | ( | ) | const |
References operationPole.
void sgpp::combigrid::OperationUPFullGrid::setGrid | ( | const FullGrid & | grid | ) |
grid | full grid |
References grid.
Referenced by sgpp::combigrid::OperationUPCombinationGrid::apply(), and python.controller.CheckpointController.CheckpointController::setLearner().
void sgpp::combigrid::OperationUPFullGrid::setOperationPole | ( | const std::vector< OperationPole * > & | operationPole | ) |
operationPole | vector of pointers to 1D pole operators (do not delete before this object) |
References operationPole.
|
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().
|
protected |
vector of pointers to 1D pole operators (do not delete before this object)
Referenced by apply(), getOperationPole(), OperationUPFullGrid(), and setOperationPole().