SG++-Doxygen-Documentation
|
FirstMomemnt of sparse grid function, linear grid without boundaries. More...
#include <OperationSecondMomentBspline.hpp>
Public Member Functions | |
double | doQuadrature (DataVector &alpha, DataMatrix *bounds=nullptr) override |
Compute first moment of the function \[ \int_{\Omega} x\cdot f(x) dx. \] . More... | |
OperationSecondMomentBspline (Grid *grid) | |
Constructor of OperationSecondMomentBspline. More... | |
~OperationSecondMomentBspline () override | |
Public Member Functions inherited from sgpp::base::OperationSecondMoment | |
OperationSecondMoment () | |
Constructor. More... | |
virtual | ~OperationSecondMoment () |
Destructor. More... | |
Protected Attributes | |
sgpp::base::Grid * | grid |
FirstMomemnt of sparse grid function, linear grid without boundaries.
|
inlineexplicit |
Constructor of OperationSecondMomentBspline.
grid | Pointer to a sparse grid object |
|
inlineoverride |
References alpha, and doQuadrature().
|
overridevirtual |
Compute first moment of the function
\[ \int_{\Omega} x\cdot f(x) dx. \]
.
alpha | Coefficient vector for current grid |
bounds | describes the boundaries of the hypercube of the original function |
Implements sgpp::base::OperationSecondMoment.
References sgpp::base::HashGridStorage::begin(), chess::dim, sgpp::base::HashGridStorage::end(), sgpp::base::Basis< LT, IT >::eval(), sgpp::base::DataVector::get(), sgpp::base::DataMatrix::get(), sgpp::base::Grid::getBasis(), python.uq.operations.sparse_grid::getDegree(), sgpp::base::HashGridStorage::getDimension(), sgpp::base::Basis< LT, IT >::getIntegral(), sgpp::base::GaussLegendreQuadRule1D::getLevelPointsAndWeightsNormalized(), sgpp::base::DataMatrix::getNcols(), sgpp::base::DataMatrix::getNrows(), sgpp::base::Grid::getStorage(), grid, level, friedman::p, and python.leja::start.
Referenced by ~OperationSecondMomentBspline().
|
protected |
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(), doQuadrature(), 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.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(), 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.uq.learner.Learner.Learner::setGrid(), python.learner.Learner.Learner::setGrid(), python.uq.operations.forcePositivity.localFullGridSearch.LocalFullGrid::split(), python.uq.dists.SGDEdist.SGDEdist::toJson(), python.learner.Classifier.Classifier::updateResults(), python.learner.Regressor.Regressor::updateResults(), python.uq.learner.Regressor.Regressor::updateResults(), and python.uq.dists.SGDEdist.SGDEdist::var().