SG++-Doxygen-Documentation
sgpp::datadriven::OperationDensitySampling Class Referenceabstract

Sampling on all dimensions. More...

#include <OperationDensitySampling.hpp>

Inheritance diagram for sgpp::datadriven::OperationDensitySampling:
sgpp::datadriven::OperationDensitySamplingLinear

Public Member Functions

virtual void doSampling (base::DataVector *alpha, base::DataMatrix *&samples, size_t num_samples)=0
 Sampling with mixed starting dimensions. More...
 
virtual void doSampling (base::DataVector *alpha, base::DataMatrix *&samples, size_t num_samples, size_t dim_x)=0
 Sampling with specified starting dimension. More...
 
 OperationDensitySampling ()
 
virtual ~OperationDensitySampling ()
 

Detailed Description

Sampling on all dimensions.

Constructor & Destructor Documentation

◆ OperationDensitySampling()

sgpp::datadriven::OperationDensitySampling::OperationDensitySampling ( )
inline

◆ ~OperationDensitySampling()

virtual sgpp::datadriven::OperationDensitySampling::~OperationDensitySampling ( )
inlinevirtual

Member Function Documentation

◆ doSampling() [1/2]

virtual void sgpp::datadriven::OperationDensitySampling::doSampling ( base::DataVector alpha,
base::DataMatrix *&  samples,
size_t  num_samples 
)
pure virtual

Sampling with mixed starting dimensions.

Parameters
alphaCoefficient vector for current grid
samplesOutput DataMatrix (rows: # of samples, columns: # of dims)
num_samples# of samples to draw

Implemented in sgpp::datadriven::OperationDensitySamplingLinear.

Referenced by ~OperationDensitySampling().

◆ doSampling() [2/2]

virtual void sgpp::datadriven::OperationDensitySampling::doSampling ( base::DataVector alpha,
base::DataMatrix *&  samples,
size_t  num_samples,
size_t  dim_x 
)
pure virtual

Sampling with specified starting dimension.

Parameters
alphaCoefficient vector for current grid
samplesOutput DataMatrix (rows: # of samples, columns: # of dims)
num_samples# of samples to draw
dim_xStarting dimension

Implemented in sgpp::datadriven::OperationDensitySamplingLinear.


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