SG++
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

sgpp::datadriven::OperationDensitySamplingLinear::OperationDensitySamplingLinear ( base::Grid grid)
inlineexplicit
virtual sgpp::datadriven::OperationDensitySamplingLinear::~OperationDensitySamplingLinear ( )
inlinevirtual

References alpha, and doSampling().

Member Function Documentation

void sgpp::datadriven::OperationDensitySamplingLinear::doSampling ( base::DataVector alpha,
base::DataMatrix *&  samples,
size_t  num_samples 
)
virtual
void sgpp::datadriven::OperationDensitySamplingLinear::doSampling ( base::DataVector alpha,
base::DataMatrix *&  samples,
size_t  num_samples,
size_t  dim_x 
)
virtual
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


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