![]() |
SG++-Doxygen-Documentation
|
Operation for applying 1D OperationPole operators on all poles of all full grids of some combination grid, in all dimensions via the unidirectional principle (UP). More...
#include <OperationUPCombinationGrid.hpp>
Public Member Functions | |
void | apply (std::vector< base::DataVector > &values) |
Apply the unidirectional principle in-place. | |
const CombinationGrid & | getGrid () const |
const std::vector< OperationPole * > & | getOperationPole () const |
OperationUPCombinationGrid (const CombinationGrid &grid, const std::vector< OperationPole * > operationPole) | |
Constructor. | |
OperationUPCombinationGrid (const CombinationGrid &grid, const std::vector< std::unique_ptr< OperationPole > > &operationPole) | |
Constructor. | |
OperationUPCombinationGrid (const CombinationGrid &grid, OperationPole &operationPole) | |
Constructor for the special case where the same OperationPole should be used for all dimensions. | |
void | setGrid (const CombinationGrid &grid) |
void | setOperationPole (const std::vector< OperationPole * > &operationPole) |
Protected Attributes | |
CombinationGrid | grid |
combination 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 all full grids of some combination grid, in all dimensions via the unidirectional principle (UP).
sgpp::combigrid::OperationUPCombinationGrid::OperationUPCombinationGrid | ( | const CombinationGrid & | grid, |
const std::vector< std::unique_ptr< OperationPole > > & | operationPole | ||
) |
Constructor.
grid | combination grid |
operationPole | vector of unique_ptr to 1D pole operators (do not destruct before this object) |
References operationPole.
sgpp::combigrid::OperationUPCombinationGrid::OperationUPCombinationGrid | ( | const CombinationGrid & | grid, |
const std::vector< OperationPole * > | operationPole | ||
) |
Constructor.
grid | combination grid |
operationPole | vector of pointers to 1D pole operators (do not delete before this object) |
sgpp::combigrid::OperationUPCombinationGrid::OperationUPCombinationGrid | ( | const CombinationGrid & | grid, |
OperationPole & | operationPole | ||
) |
Constructor for the special case where the same OperationPole should be used for all dimensions.
grid | combination grid |
operationPole | 1D pole operator (do not destruct before this object) |
void sgpp::combigrid::OperationUPCombinationGrid::apply | ( | std::vector< base::DataVector > & | values | ) |
Apply the unidirectional principle in-place.
[in,out] | values | vector of vectors with values on the full grids, every vector corresponds to one full grid of the combination grid, every vector has the same size as the number of grid points of the respective full grid (the order of DataVector entries is given by IndexVectorRange) |
References sgpp::combigrid::OperationUPFullGrid::apply(), sgpp::combigrid::CombinationGrid::getFullGrids(), grid, operationPole, and sgpp::combigrid::OperationUPFullGrid::setGrid().
const CombinationGrid & sgpp::combigrid::OperationUPCombinationGrid::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::OperationUPCombinationGrid::getOperationPole | ( | ) | const |
References operationPole.
void sgpp::combigrid::OperationUPCombinationGrid::setGrid | ( | const CombinationGrid & | grid | ) |
grid | combination grid |
References grid.
Referenced by python.controller.CheckpointController.CheckpointController::setLearner().
void sgpp::combigrid::OperationUPCombinationGrid::setOperationPole | ( | const std::vector< OperationPole * > & | operationPole | ) |
operationPole | vector of pointers to 1D pole operators (do not delete before this object) |
References operationPole.
|
protected |
combination 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(), OperationUPCombinationGrid(), and setOperationPole().