SG++-Doxygen-Documentation
Loading...
Searching...
No Matches
sgpp::datadriven::OperationDensitySampling1DLinear Class Reference

#include <OperationDensitySampling1DLinear.hpp>

Inheritance diagram for sgpp::datadriven::OperationDensitySampling1DLinear:
sgpp::datadriven::OperationDensitySampling1D

Public Member Functions

void doSampling1D (base::DataVector *alpha, size_t num_samples, base::DataVector *&samples, unsigned int *seedp)
 Sampling on 1D grid.
 
 OperationDensitySampling1DLinear (base::Grid *grid)
 WARNING: the grid must be a 1D grid!
 
virtual ~OperationDensitySampling1DLinear ()
 
- Public Member Functions inherited from sgpp::datadriven::OperationDensitySampling1D
 OperationDensitySampling1D ()
 
virtual ~OperationDensitySampling1D ()
 

Protected Attributes

base::Gridgrid
 

Constructor & Destructor Documentation

◆ OperationDensitySampling1DLinear()

sgpp::datadriven::OperationDensitySampling1DLinear::OperationDensitySampling1DLinear ( base::Grid grid)
explicit

WARNING: the grid must be a 1D grid!

References grid.

◆ ~OperationDensitySampling1DLinear()

sgpp::datadriven::OperationDensitySampling1DLinear::~OperationDensitySampling1DLinear ( )
virtual

Member Function Documentation

◆ doSampling1D()

void sgpp::datadriven::OperationDensitySampling1DLinear::doSampling1D ( base::DataVector alpha,
size_t  num_samples,
base::DataVector *&  samples,
unsigned int *  seedp 
)
virtual

Sampling on 1D grid.

Parameters
alphaCoefficient vector for current grid (1D grid)
num_samples# of samples to draw
samplesOutput DataVector
seedpseed

Implements sgpp::datadriven::OperationDensitySampling1D.

References alpha, sgpp::op_factory::createOperationEval(), sgpp::base::HashGridStorage::getPoint(), sgpp::base::HashGridStorage::getSize(), sgpp::base::HashGridPoint::getStandardCoordinate(), sgpp::base::Grid::getStorage(), and grid.

Member Data Documentation

◆ grid

base::Grid* sgpp::datadriven::OperationDensitySampling1DLinear::grid
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(), doSampling1D(), 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.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(), OperationDensitySampling1DLinear(), 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.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().


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