SG++-Doxygen-Documentation
sgpp::datadriven::OperationDensitySamplingLinear Class Reference

keep applying marginalize to function until it's reduced to only 1 dimension More...

#include <OperationDensitySamplingLinear.hpp>

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

Public Member Functions

void doSampling (base::DataVector *alpha, base::DataMatrix *&samples, size_t num_samples)
 Sampling with mixed starting dimensions. More...
 
void doSampling (base::DataVector *alpha, base::DataMatrix *&samples, size_t num_samples, size_t dim_x)
 Sampling with specified starting dimension. More...
 
 OperationDensitySamplingLinear (base::Grid *grid)
 
virtual ~OperationDensitySamplingLinear ()
 
- Public Member Functions inherited from sgpp::datadriven::OperationDensitySampling
 OperationDensitySampling ()
 
virtual ~OperationDensitySampling ()
 

Protected Member Functions

void doSampling_in_next_dim (base::Grid *g_in, base::DataVector *a_in, size_t dim_x, base::DataVector *&sampleVec, size_t &curr_dim, unsigned int *seedp)
 
void doSampling_start_dimX (base::Grid *g_in, base::DataVector *a_in, size_t dim_start, base::DataVector *&sampleVec, unsigned int *seedp)
 

Protected Attributes

base::Gridgrid
 

Detailed Description

keep applying marginalize to function until it's reduced to only 1 dimension

Constructor & Destructor Documentation

◆ OperationDensitySamplingLinear()

sgpp::datadriven::OperationDensitySamplingLinear::OperationDensitySamplingLinear ( base::Grid grid)
inlineexplicit

◆ ~OperationDensitySamplingLinear()

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

Member Function Documentation

◆ doSampling() [1/2]

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

◆ doSampling() [2/2]

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

◆ doSampling_in_next_dim()

◆ doSampling_start_dimX()

void sgpp::datadriven::OperationDensitySamplingLinear::doSampling_start_dimX ( base::Grid g_in,
base::DataVector a_in,
size_t  dim_start,
base::DataVector *&  sampleVec,
unsigned int *  seedp 
)
protected

Member Data Documentation

◆ grid


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