SG++
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. More...
 
 OperationDensitySampling1DLinear (base::Grid *grid)
 WARNING: the grid must be a 1D grid! More...
 
virtual ~OperationDensitySampling1DLinear ()
 
- Public Member Functions inherited from sgpp::datadriven::OperationDensitySampling1D
 OperationDensitySampling1D ()
 
virtual ~OperationDensitySampling1D ()
 

Protected Attributes

base::Gridgrid
 

Constructor & Destructor Documentation

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

WARNING: the grid must be a 1D grid!

References grid.

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

Member Function Documentation

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 sgpp::op_factory::createOperationEval(), sgpp::base::HashGridStorage::getPoint(), sgpp::base::HashGridStorage::getSize(), sgpp::base::HashGridPoint::getStandardCoordinate(), sgpp::base::Grid::getStorage(), grid, and analyse_erg::tmp.

Member Data Documentation


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