SG++
sgpp::datadriven::OperationDensityMargTo1D Class Referenceabstract

Marginalize Probability Density Function. More...

#include <OperationDensityMargTo1D.hpp>

Inheritance diagram for sgpp::datadriven::OperationDensityMargTo1D:
sgpp::datadriven::OperationDensityMargTo1DLinear

Public Member Functions

virtual void margToDimX (base::DataVector *alpha, base::Grid *&grid_x, base::DataVector *&alpha_x, size_t dim_x)=0
 Keep applying marginalizes to (Density) Functions, until it's reduced to 1 dimension (dim_x) More...
 
virtual void margToDimXs (base::DataVector *alpha, base::Grid *&grid_x, base::DataVector *&alpha_x, std::vector< size_t > &dim_x)=0
 Keep applying marginalizes to (Density) Functions, until it's reduced to d dimensions (dim_x) More...
 
 OperationDensityMargTo1D ()
 
virtual ~OperationDensityMargTo1D ()
 

Protected Member Functions

void computeMarginalizationIndices (std::vector< size_t > &dim_x, size_t numDims, std::vector< size_t > &margDims)
 

Detailed Description

Marginalize Probability Density Function.

Constructor & Destructor Documentation

sgpp::datadriven::OperationDensityMargTo1D::OperationDensityMargTo1D ( )
inline
virtual sgpp::datadriven::OperationDensityMargTo1D::~OperationDensityMargTo1D ( )
inlinevirtual

Member Function Documentation

void sgpp::datadriven::OperationDensityMargTo1D::computeMarginalizationIndices ( std::vector< size_t > &  dim_x,
size_t  numDims,
std::vector< size_t > &  margDims 
)
protected
virtual void sgpp::datadriven::OperationDensityMargTo1D::margToDimX ( base::DataVector alpha,
base::Grid *&  grid_x,
base::DataVector *&  alpha_x,
size_t  dim_x 
)
pure virtual

Keep applying marginalizes to (Density) Functions, until it's reduced to 1 dimension (dim_x)

Parameters
alphaCoefficient vector for current grid
grid_xoutput 1D grid pointer
alpha_xCoefficient vector for new grid (grid_x). Will be initialized.
dim_xTarget dimension, all other dimensions will be marginalized

Implemented in sgpp::datadriven::OperationDensityMargTo1DLinear.

Referenced by sgpp::datadriven::OperationDensitySamplingLinear::doSampling(), sgpp::datadriven::OperationDensitySamplingLinear::doSampling_in_next_dim(), sgpp::datadriven::OperationInverseRosenblattTransformationLinear::doTransformation_in_next_dim(), sgpp::datadriven::OperationRosenblattTransformationLinear::doTransformation_in_next_dim(), and ~OperationDensityMargTo1D().

virtual void sgpp::datadriven::OperationDensityMargTo1D::margToDimXs ( base::DataVector alpha,
base::Grid *&  grid_x,
base::DataVector *&  alpha_x,
std::vector< size_t > &  dim_x 
)
pure virtual

Keep applying marginalizes to (Density) Functions, until it's reduced to d dimensions (dim_x)

Parameters
alphaCoefficient vector for current grid
grid_xoutput 1D grid pointer
alpha_xCoefficient vector for new grid (grid_x). Will be initialized.
dim_xTarget dimension, all other dimensions will be marginalized

Implemented in sgpp::datadriven::OperationDensityMargTo1DLinear.

Referenced by ~OperationDensityMargTo1D().


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