SG++-Doxygen-Documentation
|
Sample 1D Probability Density Function. More...
#include <OperationDensitySampling1D.hpp>
Public Member Functions | |
virtual void | doSampling1D (base::DataVector *alpha, size_t num_samples, base::DataVector *&samples, unsigned int *seedp)=0 |
Sampling on 1D grid. More... | |
OperationDensitySampling1D () | |
virtual | ~OperationDensitySampling1D () |
Sample 1D Probability Density Function.
|
inline |
|
inlinevirtual |
References alpha, doSampling1D(), and parabolasimple::samples.
|
pure virtual |
Sampling on 1D grid.
alpha | Coefficient vector for current grid (1D grid) |
num_samples | # of samples to draw |
samples | Output DataVector |
seedp | seed |
Implemented in sgpp::datadriven::OperationDensitySampling1DLinear.
Referenced by sgpp::datadriven::OperationDensitySamplingLinear::doSampling(), sgpp::datadriven::OperationDensitySamplingLinear::doSampling_in_next_dim(), and ~OperationDensitySampling1D().